diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2009-04-08 16:04:49 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2009-04-08 16:04:49 +0000 |
commit | 01d23ae74923aa9ef95d8452035071e13aa6f5b0 (patch) | |
tree | c587ac8ce9ffe0fd58b7c4f94b753037e10c6172 | |
parent | 4e952f53dce3f9b16a96df5a9e859e3b0adeaae6 (diff) | |
download | newlib-01d23ae74923aa9ef95d8452035071e13aa6f5b0.zip newlib-01d23ae74923aa9ef95d8452035071e13aa6f5b0.tar.gz newlib-01d23ae74923aa9ef95d8452035071e13aa6f5b0.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.
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/bfdlink.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index fe68874..dfe9fce 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2009-04-08 H.J. Lu <hongjiu.lu@intel.com> + + * bfdlink.h (bfd_link_info): Add warn_alternate_em. + 2009-03-18 Alan Modra <amodra@bigpond.net.au> * alloca-conf.h: Revise based on autoconf-2.61, autoconf-2.13 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; |