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
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to