aboutsummaryrefslogtreecommitdiff
path: root/include/bfdlink.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2009-04-08 16:04:50 +0000
committerH.J. Lu <hjl.tools@gmail.com>2009-04-08 16:04:50 +0000
commita0c402a5641d9229b552066d526190252b0ee968 (patch)
treee2d2a23e62ddb2914cab9349e07ef2f0b52ea700 /include/bfdlink.h
parent143260c9bf2058b768d4d04cd4518054104dafd4 (diff)
downloadgdb-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 'include/bfdlink.h')
-rw-r--r--include/bfdlink.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/bfdlink.h b/include/bfdlink.h
index 51c5b15..910281a 100644
--- a/include/bfdlink.h
+++ b/include/bfdlink.h
@@ -322,6 +322,9 @@ struct bfd_link_info
/* TRUE if we should warn when adding a DT_TEXTREL to a shared object. */
unsigned int warn_shared_textrel: 1;
+ /* TRUE if we should warn alternate ELF machine code. */
+ unsigned int warn_alternate_em: 1;
+
/* TRUE if unreferenced sections should be removed. */
unsigned int gc_sections: 1;