summaryrefslogtreecommitdiff
path: root/external/gpl3/binutils/dist/elfcpp/elfcpp.h
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2018-04-14 22:17:01 +0000
committerchristos <christos@NetBSD.org>2018-04-14 22:17:01 +0000
commit98f124a6045c83723cc4495c667dc6b741847062 (patch)
treec99438fc1e3e6c46f21fe72e3ea64152bace3a9c /external/gpl3/binutils/dist/elfcpp/elfcpp.h
parent83c09e1a731d8924ccdf2062c6ca81c0bbfed205 (diff)
2018-01-10 Nick Clifton <nickc@redhat.com>
* config-ml.in: Sync with gcc sources. * config.guess: Likewise. * config.sub: Likewise. * configure.ac: Likewise. * configure: Regenerate. 2017-12-14 Nick Clifton <nickc@redhat.com> * COPYING.LIBGLOSS: Update address of FSF in copyright notice. 2017-12-12 Stafford Horne <shorne@gmail.com> * configure.ac: Remove logic adding gdb to noconfigsdirs for or1k. * configure: Regenerate. 2017-09-15 Nick Clifton <nickc@redhat.com> * src-release.sh (LZIPPROG): New define. Provides the name of the lzip program. (do_lz): New function. Compresses a tarball using the lzip program. (do_compress): Add support for lzip compression. (usage): Mention -l option. (build_release): Support -l option to invoke lzip compression. 2017-09-15 Alan Modra <amodra@gmail.com> * src-release.sh (do_proto_toplev): Revert last patch. Enable or disable binutils, gas, gdb, gold, gprof, ld, libdecnumber, readline, and sim depending on $tool and $support_files. Echo configure line. 2017-09-14 Matt Rice <ratmice@gmail.com> * src-release.sh (do_proto_toplev): Enable gold during release process. 2017-04-13 Andrew Jenner <andrew@codesourcery.com> * config.sub: Sync with master version in config project. 2017-04-03 Andrew Jenner <andrew@codesourcery.com> * config.sub: Handle ia16 in $basic_machine. bfd/ * config.bfd: Handle ia16. gas/ * configure.tgt: Handle ia16. ld/ * configure.tgt: Handle ia16. 2017-03-22 Nick Clifton <nickc@redhat.com> * config.sub: Sync with master version in config project. * config.guess: Likewise. 2017-01-23 Nick Clifton <nickc@redhat.com> * configure.ac: Update year in copyright notice. Sync from FSF GCC mainline, bringing in the following patches. * Makefile.def: Likewise. * Makefile.tpl: Likewise. * configure: Regenerate. * Makefile.in: Regenerate. 2016-12-21 Jakub Jelinek <jakub@redhat.com> * configure.ac: Don't bootstrap libmpx unless --with-build-config includes bootstrap-mpx. 2016-12-01 Matthias Klose <doko@ubuntu.com> * configure.ac: Don't use pkg-config to check for bdw-gc. 2016-11-30 Matthias Klose <doko@ubuntu.com> * Makefile.def: Remove reference to boehm-gc target module. * configure.ac: Include pkg.m4, check for --with-target-bdw-gc options and for the bdw-gc pkg-config module. 2016-11-15 Matthias Klose <doko@ubuntu.com> * config-ml.in: Remove references to GCJ. * configure.ac: Likewise. 2016-09-30 Jakub Jelinek <jakub@redhat.com> * configure.ac: Add target-libffi to target_libraries. Readd libgcj target disablings, modified to only target-libffi. Readd target addition of go to unsupported languages. 2016-09-30 Andrew Haley <aph@redhat.com> * Makefile.def: Remove libjava. * Makefile.tpl: Likewise. * configure.ac: Likewise. 2016-09-26 Anton Kolesov <Anton.Kolesov@synopsys.com> * configure.ac: Disable "sim" directory for arc*-*-*. 2016-09-12 Maciej W. Rozycki <macro@imgtec.com> * configure.ac: Check for the minimum in-tree MPFR version handled. 2016-12-31 Alan Modra <amodra@gmail.com> * config.sub: Import from upstream. 2016-12-08 Alan Modra <amodra@gmail.com> * configure: Regenerate. 2016-12-02 Josh Conner <joshconner@google.com> * configure.ac: Add fuchsia to targets that use ELF. * configure: Regenerated. 2016-11-07 Doug Evans <dje@google.com> * config.sub: Sync with upstream version 2016-11-03. git://git.sv.gnu.org/config.git * config.guess: Sync with upstream version 2016-10-02. 2016-09-27 Simon Marchi <simon.marchi@polymtl.ca> * .gitignore: Add archives and make stamps. 2016-07-20 Yan-Ting Lin <currygt52@gmail.com> * configure.ac (nds32*-*-*): Remove entry to enable gdb. * configure: Regenerated.
Diffstat (limited to 'external/gpl3/binutils/dist/elfcpp/elfcpp.h')
-rw-r--r--external/gpl3/binutils/dist/elfcpp/elfcpp.h30
1 files changed, 28 insertions, 2 deletions
diff --git a/external/gpl3/binutils/dist/elfcpp/elfcpp.h b/external/gpl3/binutils/dist/elfcpp/elfcpp.h
index 7469bd8fd95..018e0f50da1 100644
--- a/external/gpl3/binutils/dist/elfcpp/elfcpp.h
+++ b/external/gpl3/binutils/dist/elfcpp/elfcpp.h
@@ -1,6 +1,6 @@
// elfcpp.h -- main header file for elfcpp -*- C++ -*-
-// Copyright (C) 2006-2016 Free Software Foundation, Inc.
+// Copyright (C) 2006-2018 Free Software Foundation, Inc.
// Written by Ian Lance Taylor <iant@google.com>.
// This file is part of elfcpp.
@@ -268,6 +268,7 @@ enum EM
EM_UNICORE = 110,
EM_ALTERA_NIOS2 = 113,
EM_CRX = 114,
+ EM_TI_PRU = 144,
EM_AARCH64 = 183,
EM_TILEGX = 191,
// The Morph MT.
@@ -514,7 +515,9 @@ enum PT
// Platform architecture compatibility information
PT_AARCH64_ARCHEXT = 0x70000000,
// Exception unwind tables
- PT_AARCH64_UNWIND = 0x70000001
+ PT_AARCH64_UNWIND = 0x70000001,
+ // 4k page table size
+ PT_S390_PGSTE = 0x70000000,
};
// The valid bit flags found in the Phdr p_flags field.
@@ -765,6 +768,9 @@ enum DT
// Specify the value of _GLOBAL_OFFSET_TABLE_.
DT_PPC_GOT = 0x70000000,
+ // Specify whether various optimisations are possible.
+ DT_PPC_OPT = 0x70000001,
+
// Specify the start of the .glink section.
DT_PPC64_GLINK = 0x70000000,
@@ -772,6 +778,9 @@ enum DT
DT_PPC64_OPD = 0x70000001,
DT_PPC64_OPDSZ = 0x70000002,
+ // Specify whether various optimisations are possible.
+ DT_PPC64_OPT = 0x70000003,
+
// The index of an STT_SPARC_REGISTER symbol within the DT_SYMTAB
// symbol table. One dynamic entry exists for every STT_SPARC_REGISTER
// symbol in the symbol table.
@@ -1345,10 +1354,27 @@ class Chdr_write
put_ch_addralign(typename Elf_types<size>::Elf_WXword v)
{ this->p_->ch_addralign = Convert<size, big_endian>::convert_host(v); }
+ void
+ put_ch_reserved(Elf_Word);
+
private:
internal::Chdr_data<size>* p_;
};
+template<>
+inline void
+elfcpp::Chdr_write<64, true>::put_ch_reserved(Elf_Word v)
+{
+ this->p_->ch_reserved = v;
+}
+
+template<>
+inline void
+elfcpp::Chdr_write<64, false>::put_ch_reserved(Elf_Word v)
+{
+ this->p_->ch_reserved = v;
+}
+
// Accessor class for an ELF segment header.
template<int size, bool big_endian>