Need Help to Further Reduce bsp_specs

Joel Sherrill joel at rtems.org
Thu Nov 30 18:11:08 UTC 2017


Hi

I have been experimenting with the LEON3 bsp_specs and linker script. I
have reduced it to this:

================================
%rename endfile old_endfile
%rename startfile old_startfile

*startfile:
%{!qrtems: %(old_startfile)} \
%{!nostdlib: %{qrtems: crti.o%s crtbegin.o%s}}

*endfile:
%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s crtn.o%s}
================================

I can't figure out how to deal with the need for crt[in[ and crtbegin/end
without modifying gcc.  I was hoping to address them in the linkcmds.

Any ideas?

Thanks.

--joel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20171130/ff0ba8fb/attachment.html>


More information about the devel mailing list