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

Xiang W wxjstz at 126.com
Tue Mar 5 04:27:29 PST 2024


在 2024-03-05星期二的 11:43 +0100,Andreas Schwab写道:
> 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.
> 
Thank you for your reply

Is this the default behavior of the linker or is there any standard
provision? If there are no standards, modifications will still be 
needed.

Regards,
Xiang W




More information about the opensbi mailing list