diff options
author | Dave Anglin <dave.anglin@nrc.ca> | 2006-03-20 01:07:29 +0000 |
---|---|---|
committer | Dave Anglin <dave.anglin@nrc.ca> | 2006-03-20 01:07:29 +0000 |
commit | 77e55bf78aaf46370c339eabd7a8d3c2ee126408 (patch) | |
tree | fa6a2e5ad75200d2a7a48c4533d8774db379c4f2 | |
parent | 980b3810e6c9ab1416172012890d6b74aabb91e4 (diff) | |
download | gdb-77e55bf78aaf46370c339eabd7a8d3c2ee126408.tar.gz |
* hppa.h (SHF_HP_TLS, SHF_HP_NEAR_SHARED, SHF_HP_FAR_SHARED,
SHF_HP_COMDAT, SHF_HP_CONST, SHN_TLS_COMMON, SHN_NS_COMMON,
SHN_NS_UNDEF, SHN_FS_UNDEF, SHN_HP_EXTERN, SHN_HP_EXTHINT,
SHN_HP_UNDEF_BIND_IMM, SHT_HP_OVLBITS, SHT_HP_DLKM, SHT_HP_COMDAT,
SHT_HP_OBJDICT, SHT_HP_ANNOT, STB_HP_ALIAS): Define.
-rw-r--r-- | include/elf/ChangeLog | 8 | ||||
-rw-r--r-- | include/elf/hppa.h | 27 |
2 files changed, 35 insertions, 0 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 5367181a497..9d47ffbac89 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,11 @@ +2006-03-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * hppa.h (SHF_HP_TLS, SHF_HP_NEAR_SHARED, SHF_HP_FAR_SHARED, + SHF_HP_COMDAT, SHF_HP_CONST, SHN_TLS_COMMON, SHN_NS_COMMON, + SHN_NS_UNDEF, SHN_FS_UNDEF, SHN_HP_EXTERN, SHN_HP_EXTHINT, + SHN_HP_UNDEF_BIND_IMM, SHT_HP_OVLBITS, SHT_HP_DLKM, SHT_HP_COMDAT, + SHT_HP_OBJDICT, SHT_HP_ANNOT, STB_HP_ALIAS): Define. + 2006-03-10 Paul Brook <paul@codesourcery.com> * arm.h (EF_ARM_EABI_VER5): Define. diff --git a/include/elf/hppa.h b/include/elf/hppa.h index 38a464e90fe..15be2d5655a 100644 --- a/include/elf/hppa.h +++ b/include/elf/hppa.h @@ -490,6 +490,30 @@ typedef enum elf_hppa_reloc_type elf_hppa_reloc_type; #define PT_PARISC_UNWIND 0x70000001 #define PT_PARISC_WEAKORDER 0x70000002 +/* Flag bits in sh_flags of ElfXX_Shdr. */ +#define SHF_HP_TLS 0x01000000 +#define SHF_HP_NEAR_SHARED 0x02000000 +#define SHF_HP_FAR_SHARED 0x04000000 +#define SHF_HP_COMDAT 0x08000000 +#define SHF_HP_CONST 0x00800000 + +/* Reserved section header indices. */ +#define SHN_TLS_COMMON (SHN_LOOS + 0x0) +#define SHN_NS_COMMON (SHN_LOOS + 0x1) +#define SHN_FS_COMMON (SHN_LOOS + 0x2) +#define SHN_NS_UNDEF (SHN_LOOS + 0x3) +#define SHN_FS_UNDEF (SHN_LOOS + 0x4) +#define SHN_HP_EXTERN (SHN_LOOS + 0x5) +#define SHN_HP_EXTHINT (SHN_LOOS + 0x6) +#define SHN_HP_UNDEF_BIND_IMM (SHN_LOOS + 0x7) + +/* Values of sh_type in ElfXX_Shdr. */ +#define SHT_HP_OVLBITS (SHT_LOOS + 0x0) +#define SHT_HP_DLKM (SHT_LOOS + 0x1) +#define SHT_HP_COMDAT (SHT_LOOS + 0x2) +#define SHT_HP_OBJDICT (SHT_LOOS + 0x3) +#define SHT_HP_ANNOT (SHT_LOOS + 0x4) + /* Flag bits in p_flags of ElfXX_Phdr. */ #define PF_HP_CODE 0x00040000 #define PF_HP_MODIFY 0x00080000 @@ -571,6 +595,9 @@ typedef enum elf_hppa_reloc_type elf_hppa_reloc_type; #define PT_HP_STACK (PT_LOOS + 0x14) #define PT_HP_CORE_UTSNAME (PT_LOOS + 0x15) +/* Binding information. */ +#define STB_HP_ALIAS (STB_LOOS + 0x0) + /* Additional symbol types. */ #define STT_HP_OPAQUE (STT_LOOS + 0x1) #define STT_HP_STUB (STT_LOOS + 0x2) |