This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Getting ld to fail on unassigned input sections
- From: Simon Richter <Simon dot Richter at hogyros dot de>
- To: binutils at sourceware dot org
- Date: Fri, 11 Dec 2009 18:16:47 +0100
- Subject: 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