diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2009-04-08 16:04:50 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2009-04-08 16:04:50 +0000 |
commit | a0c402a5641d9229b552066d526190252b0ee968 (patch) | |
tree | e2d2a23e62ddb2914cab9349e07ef2f0b52ea700 /ld/ld.texinfo | |
parent | 143260c9bf2058b768d4d04cd4518054104dafd4 (diff) | |
download | gdb-a0c402a5641d9229b552066d526190252b0ee968.zip gdb-a0c402a5641d9229b552066d526190252b0ee968.tar.gz gdb-a0c402a5641d9229b552066d526190252b0ee968.tar.bz2 |
bfd/
2009-04-08 H.J. Lu <hongjiu.lu@intel.com>
* elflink.c (elf_link_add_object_symbols): Warn alternate ELF
machine code.
include/
2009-04-08 H.J. Lu <hongjiu.lu@intel.com>
* bfdlink.h (bfd_link_info): Add warn_alternate_em.
ld/
2009-04-08 H.J. Lu <hongjiu.lu@intel.com>
* lexsup.c (option_values): Add OPTION_WARN_ALTERNATE_EM.
(ld_options): Likewise.
(parse_args): Likewise.
* ld.texinfo: Document --warn-alternate-em.
* NEWS: Mention --warn-alternate-em.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r-- | ld/ld.texinfo | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo index 37c36b0..ca460b3 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo @@ -1941,6 +1941,10 @@ the section (@pxref{SECTIONS}). @item --warn-shared-textrel Warn if the linker adds a DT_TEXTREL to a shared object. +@kindex --warn-alternate-em +@item --warn-alternate-em +Warn if an object has alternate ELF machine code. + @kindex --warn-unresolved-symbols @item --warn-unresolved-symbols If the linker is going to report an unresolved symbol (see the option |