aboutsummaryrefslogtreecommitdiff
path: root/elfcpp/elfcpp.h
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2008-06-12 16:58:40 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>2008-06-12 16:58:40 +0000
commit8da8e50a53177b4b6cd0818bdf581db02c3fb74b (patch)
tree73a221146e70ac1dc43dc51cc5235b60d75267dc /elfcpp/elfcpp.h
parentbb35fb24c1026968796e6fff72bf81938ec2b9ce (diff)
downloadgdb-8da8e50a53177b4b6cd0818bdf581db02c3fb74b.zip
gdb-8da8e50a53177b4b6cd0818bdf581db02c3fb74b.tar.gz
gdb-8da8e50a53177b4b6cd0818bdf581db02c3fb74b.tar.bz2
2008-06-12 David S. Miller <davem@davemloft.net>
* powerpc.h: New file. * elfcpp.h (SHT_ORDERED): New enum constant. (DT_PPC_GOT, DT_PPC64_GLINK, DT_PPC64_OPD, DT_PPC64_OPDSZ): Same.
Diffstat (limited to 'elfcpp/elfcpp.h')
-rw-r--r--elfcpp/elfcpp.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/elfcpp/elfcpp.h b/elfcpp/elfcpp.h
index a2a7252..080eef1 100644
--- a/elfcpp/elfcpp.h
+++ b/elfcpp/elfcpp.h
@@ -368,6 +368,10 @@ enum SHT
SHT_GNU_versym = 0x6fffffff,
SHT_SPARC_GOTDATA = 0x70000000,
+
+ // Link editor is to sort the entries in this section based on the
+ // address specified in the associated symbol table entry.
+ SHT_ORDERED = 0x7fffffff,
};
// The valid bit flags found in the Shdr sh_flags field.
@@ -667,6 +671,16 @@ enum DT
DT_VERSYM = 0x6ffffff0,
+ // Specify the value of _GLOBAL_OFFSET_TABLE_.
+ DT_PPC_GOT = 0x70000000,
+
+ // Specify the start of the .glink section.
+ DT_PPC64_GLINK = 0x70000000,
+
+ // Specify the start and size of the .opd section.
+ DT_PPC64_OPD = 0x70000001,
+ DT_PPC64_OPDSZ = 0x70000002,
+
// 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.