Getting ld to fail on unassigned input sections

Simon Richter Simon.Richter@hogyros.de
Fri Dec 11 17:16:00 GMT 2009


Hi,

I remember a time in the old days, when ld would fail if an input
section was not mapped to an output section in the linker script.

As I need to write a new linker script for a ROM code mapping, I'd like
to have this safety net back, rather than having the section silently
added to the first matching memory segment (which is wrong in my case,
as the script needs to tell ld to change the LMA for the section).

Any ideas?

   Simon



More information about the Binutils mailing list