This is probably a question that should be directed to the binutils
list.

We need to set the default link start address used by ld. Unfortunately
ld doesn't have a nice porting guide like GCC does. :-)

Actually, we need to choose one of two possible start addresses based on
command line options to GCC, and I am wondering if this may make things
more complicated.

This is an ELF target. If we simply issue a --section-start for
the .init section from GCC, will the other sections get adjusted
accordingly under the generic linker script, or do we need to do
something more involved?

If it's more involved, where to look?

Bother. I used to know how to do this. :-)


shap

Reply via email to