diff options
author | Thomas Schwinge <tschwinge@gnu.org> | 2011-07-03 13:37:09 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2011-07-03 13:37:09 +0000 |
commit | 9c55345c8c1c5181d8a406ae2df1d791b8b6ecf8 (patch) | |
tree | 4380c642c800ab1b3cb80174a1c2c314e6942c88 /elfcpp | |
parent | 886288f10bd9d10fb446191e5266154c38f0cbad (diff) | |
download | fsf-binutils-gdb-9c55345c8c1c5181d8a406ae2df1d791b8b6ecf8.zip fsf-binutils-gdb-9c55345c8c1c5181d8a406ae2df1d791b8b6ecf8.tar.gz fsf-binutils-gdb-9c55345c8c1c5181d8a406ae2df1d791b8b6ecf8.tar.bz2 |
ELFOSABI_GNU
bfd/
* elf.c (_bfd_elf_set_osabi): Use ELFOSABI_GNU name instead of
ELFOSABI_LINUX alias.
* elf32-hppa.c: Likewise.
* elf32-i370.c: Likewise.
* elf64-hppa.c: Likewise.
binutils/
* elfedit.c (osabis): Use ELFOSABI_GNU name instead of ELFOSABI_LINUX
alias and ELFOSABI_HURD. Add GNU alias.
* readelf.c (get_osabi_name, get_symbol_binding, get_symbol_type):
Likewise.
* doc/binutils.texi <elfedit>: Update accordingly.
elfcpp/
* elfcpp.h (ELFOSABI): Add ELFOSABI_GNU with value of ELFOSABI_LINUX,
keep ELFOSABI_LINUX as an alias. Remove ELFOSABI_HURD.
gas/
* config/obj-elf.c (obj_elf_type): Use ELFOSABI_GNU name instead of
ELFOSABI_LINUX alias.
* config/tc-ia64.c: Likewise.
include/elf/
* common.h (ELFOSABI_GNU): Define, replaces...
(ELFOSABI_LINUX): ... this, kept as an alias.
(ELFOSABI_HURD): Remove.
ld/testsuite/
* ld-ifunc/ifunc.exp: Update for changed output.
* ld-unique/unique.exp: Likewise.
Diffstat (limited to 'elfcpp')
-rw-r--r-- | elfcpp/ChangeLog | 6 | ||||
-rw-r--r-- | elfcpp/elfcpp.h | 5 |
2 files changed, 8 insertions, 3 deletions
diff --git a/elfcpp/ChangeLog b/elfcpp/ChangeLog index d4380ae..0306aa8 100644 --- a/elfcpp/ChangeLog +++ b/elfcpp/ChangeLog @@ -1,3 +1,9 @@ +2011-07-03 Samuel Thibault <samuel.thibault@gnu.org> + Thomas Schwinge <thomas@schwinge.name> + + * elfcpp.h (ELFOSABI): Add ELFOSABI_GNU with value of ELFOSABI_LINUX, + keep ELFOSABI_LINUX as an alias. Remove ELFOSABI_HURD. + 2011-07-01 Ian Lance Taylor <iant@google.com> * dwarf.h (enum DW_CFA): Define. diff --git a/elfcpp/elfcpp.h b/elfcpp/elfcpp.h index b3eff64..7a70765 100644 --- a/elfcpp/elfcpp.h +++ b/elfcpp/elfcpp.h @@ -129,10 +129,9 @@ enum ELFOSABI ELFOSABI_NONE = 0, ELFOSABI_HPUX = 1, ELFOSABI_NETBSD = 2, - // ELFOSABI_LINUX is not listed in the ELF standard. + ELFOSABI_GNU = 3, + // ELFOSABI_LINUX is an alias for ELFOSABI_GNU. ELFOSABI_LINUX = 3, - // ELFOSABI_HURD is not listed in the ELF standard. - ELFOSABI_HURD = 4, ELFOSABI_SOLARIS = 6, ELFOSABI_AIX = 7, ELFOSABI_IRIX = 8, |