diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2009-01-26 15:23:39 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@codesourcery.com> | 2009-01-26 15:23:39 +0000 |
commit | 730dcf297da27e80f642573080c0ab993f4f2be3 (patch) | |
tree | 15c157e20d0aef9e347df54fae09c2c39bb86b40 /ld/ld.h | |
parent | 62ee8206e388b8d68d7ebeca994e38c20b3be90c (diff) | |
download | binutils-redhat-730dcf297da27e80f642573080c0ab993f4f2be3.tar.gz |
* lexsup.c (parse_args): Set check_section_addresses to 1 or 0.
* ld.h (args_type): Make check_section_addresses a char.
ldlang.c (lang_process): Don't consider relocatable flag when
checking for overlap.
* ldmain.c (main): Default check_section_addresses to -1. Check it
for relocatable links.
* ld.texinfo (--check-sections): Update documentation.
Diffstat (limited to 'ld/ld.h')
-rw-r--r-- | ld/ld.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -167,10 +167,9 @@ typedef struct { search. */ bfd_boolean warn_search_mismatch; - - /* If TRUE (the default) check section addresses, once compute, - fpor overlaps. */ - bfd_boolean check_section_addresses; + /* If non-zero check section addresses, once computed, + for overlaps. Relocatable links only check when this is > 0. */ + signed char check_section_addresses; /* If TRUE allow the linking of input files in an unknown architecture assuming that the user knows what they are doing. This was the old |