[PATCH] firmware: Prevent _start from not being at the beginning

Andreas Schwab schwab at suse.de
Tue Mar 5 02:43:18 PST 2024


On Mär 05 2024, Xiang W wrote:

> There are multiple .entry sections in opensbi, and _start may be put
> after other .entry sections, which may cause problems. The patch fix
> this issue.

That should not be a problem.  Since it is passed as the first object
file to the linker it is guaranteed to be placed first.

-- 
Andreas Schwab, SUSE Labs, schwab at suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the opensbi mailing list