* ld.h (ld_config_type): Add warn_section_align field.
authorIan Lance Taylor <ian@airs.com>
Wed, 9 Oct 1996 19:45:29 +0000 (19:45 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 9 Oct 1996 19:45:29 +0000 (19:45 +0000)
commit458fc0567b58a90a9fbead52d080d66847979a97
tree7986f0067e5f160140c90e4926f046268ba1731e
parent961d589322ffa5f67f0353371e6e58fc28e0bcfb
* ld.h (ld_config_type): Add warn_section_align field.
* lexsup.c (OPTION_WARN_SECTION_ALIGN): Define.
(ld_options): Add --warn-section-align.
(parse_args): Handle --warn-section-align.
* ldlang.c (lang_size_sections): If warn_section_align, warn if
the start of a section changes due to alignment.
* ld.texinfo, ld.1: Document --warn-section-align.
* ld.texinfo: Change some single dashes to double dashes.
PR 10739.
ld/ChangeLog
ld/ld.1
ld/ld.texinfo