This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Getting ld to fail on unassigned input sections


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]