<div dir="ltr">Hi<div><br></div><div>I have been experimenting with the LEON3 bsp_specs and linker script. I have reduced it to this:</div><div><br></div><div>================================</div><div><div>%rename endfile old_endfile</div><div>%rename startfile old_startfile</div><div><br></div><div>*startfile:</div><div>%{!qrtems: %(old_startfile)} \</div><div>%{!nostdlib: %{qrtems: crti.o%s crtbegin.o%s}}</div><div><br></div><div>*endfile:</div><div>%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s crtn.o%s}</div></div><div>================================</div><div><br></div><div>I can't figure out how to deal with the need for crt[in[ and crtbegin/end</div><div>without modifying gcc.  I was hoping to address them in the linkcmds.</div><div><br></div><div>Any ideas?</div><div><br></div><div>Thanks.</div><div><br></div><div>--joel</div></div>