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.
This commit is contained in:
David Edelsohn 2008-06-12 16:58:40 +00:00
parent bb35fb24c1
commit 8da8e50a53
3 changed files with 211 additions and 0 deletions

View file

@ -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.