check section overlap on relocatable links
Nathan Sidwell
nathan@codesourcery.com
Wed Jan 21 12:27:00 GMT 2009
More information about the Binutils mailing list
Wed Jan 21 12:27:00 GMT 2009
- Previous message (by thread): [PATCH] ARM attributes and user intent
- Next message (by thread): check section overlap on relocatable links
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This patch allows section overlap to be checked on a relocatable link. Usually this is a silly thing to do, because all output sections are placed at 0. However, for vxworks images it can be useful, as a non-default linker script may be being used to place sections sequentially. The patch changes the check_section_addresses flag to be trivalued, so we can distinguish 'default' from explicitly off and explicitly on. When defaulted we disable checking on relocatable linking (but it remains enabled on non-relocatable links). Thus preserving the existing default behaviour. tested in powerpc-elf. ok? nathan -- Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: all.diff URL: <https://sourceware.org/pipermail/binutils/attachments/20090121/d9699b83/attachment.ksh>
- Previous message (by thread): [PATCH] ARM attributes and user intent
- Next message (by thread): check section overlap on relocatable links
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list