12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022 |
- #ifndef _ELF_COMMON_H
- #define _ELF_COMMON_H
- #define EI_MAG0 0
- #define ELFMAG0 0x7F
- #define EI_MAG1 1
- #define ELFMAG1 'E'
- #define EI_MAG2 2
- #define ELFMAG2 'L'
- #define EI_MAG3 3
- #define ELFMAG3 'F'
- #define EI_CLASS 4
- #define ELFCLASSNONE 0
- #define ELFCLASS32 1
- #define ELFCLASS64 2
- #define EI_DATA 5
- #define ELFDATANONE 0
- #define ELFDATA2LSB 1
- #define ELFDATA2MSB 2
- #define EI_VERSION 6
- #define EI_OSABI 7
- #define ELFOSABI_NONE 0
- #define ELFOSABI_HPUX 1
- #define ELFOSABI_NETBSD 2
- #define ELFOSABI_GNU 3
- #define ELFOSABI_LINUX 3
- #define ELFOSABI_SOLARIS 6
- #define ELFOSABI_AIX 7
- #define ELFOSABI_IRIX 8
- #define ELFOSABI_FREEBSD 9
- #define ELFOSABI_TRU64 10
- #define ELFOSABI_MODESTO 11
- #define ELFOSABI_OPENBSD 12
- #define ELFOSABI_OPENVMS 13
- #define ELFOSABI_NSK 14
- #define ELFOSABI_AROS 15
- #define ELFOSABI_FENIXOS 16
- #define ELFOSABI_CLOUDABI 17
- #define ELFOSABI_C6000_ELFABI 64
- #define ELFOSABI_C6000_LINUX 65
- #define ELFOSABI_ARM 97
- #define ELFOSABI_STANDALONE 255
- #define EI_ABIVERSION 8
- #define EI_PAD 9
- #define ET_NONE 0
- #define ET_REL 1
- #define ET_EXEC 2
- #define ET_DYN 3
- #define ET_CORE 4
- #define ET_LOOS 0xFE00
- #define ET_HIOS 0xFEFF
- #define ET_LOPROC 0xFF00
- #define ET_HIPROC 0xFFFF
- #define EM_NONE 0
- #define EM_M32 1
- #define EM_SPARC 2
- #define EM_386 3
- #define EM_68K 4
- #define EM_88K 5
- #define EM_IAMCU 6
- #define EM_860 7
- #define EM_MIPS 8
- #define EM_S370 9
- #define EM_MIPS_RS3_LE 10
- #define EM_res011 11
- #define EM_res012 12
- #define EM_res013 13
- #define EM_res014 14
- #define EM_PARISC 15
- #define EM_res016 16
- #define EM_VPP550 17
- #define EM_SPARC32PLUS 18
- #define EM_960 19
- #define EM_PPC 20
- #define EM_PPC64 21
- #define EM_S390 22
- #define EM_SPU 23
- #define EM_res024 24
- #define EM_res025 25
- #define EM_res026 26
- #define EM_res027 27
- #define EM_res028 28
- #define EM_res029 29
- #define EM_res030 30
- #define EM_res031 31
- #define EM_res032 32
- #define EM_res033 33
- #define EM_res034 34
- #define EM_res035 35
- #define EM_V800 36
- #define EM_FR20 37
- #define EM_RH32 38
- #define EM_MCORE 39
- #define EM_RCE 39
- #define EM_ARM 40
- #define EM_OLD_ALPHA 41
- #define EM_SH 42
- #define EM_SPARCV9 43
- #define EM_TRICORE 44
- #define EM_ARC 45
- #define EM_H8_300 46
- #define EM_H8_300H 47
- #define EM_H8S 48
- #define EM_H8_500 49
- #define EM_IA_64 50
- #define EM_MIPS_X 51
- #define EM_COLDFIRE 52
- #define EM_68HC12 53
- #define EM_MMA 54
- #define EM_PCP 55
- #define EM_NCPU 56
- #define EM_NDR1 57
- #define EM_STARCORE 58
- #define EM_ME16 59
- #define EM_ST100 60
- #define EM_TINYJ 61
- #define EM_X86_64 62
- #define EM_PDSP 63
- #define EM_PDP10 64
- #define EM_PDP11 65
- #define EM_FX66 66
- #define EM_ST9PLUS 67
- #define EM_ST7 68
- #define EM_68HC16 69
- #define EM_68HC11 70
- #define EM_68HC08 71
- #define EM_68HC05 72
- #define EM_SVX 73
- #define EM_ST19 74
- #define EM_VAX 75
- #define EM_CRIS 76
- #define EM_JAVELIN 77
- #define EM_FIREPATH 78
- #define EM_ZSP 79
- #define EM_MMIX 80
- #define EM_HUANY 81
- #define EM_PRISM 82
- #define EM_AVR 83
- #define EM_FR30 84
- #define EM_D10V 85
- #define EM_D30V 86
- #define EM_V850 87
- #define EM_M32R 88
- #define EM_MN10300 89
- #define EM_MN10200 90
- #define EM_PJ 91
- #define EM_OR1K 92
- #define EM_ARC_COMPACT 93
- #define EM_XTENSA 94
- #define EM_VIDEOCORE 95
- #define EM_TMM_GPP 96
- #define EM_NS32K 97
- #define EM_TPC 98
- #define EM_SNP1K 99
- #define EM_ST200 100
- #define EM_IP2K 101
- #define EM_MAX 102
- #define EM_CR 103
- #define EM_F2MC16 104
- #define EM_MSP430 105
- #define EM_BLACKFIN 106
- #define EM_SE_C33 107
- #define EM_SEP 108
- #define EM_ARCA 109
- #define EM_UNICORE 110
- #define EM_EXCESS 111
- #define EM_DXP 112
- #define EM_ALTERA_NIOS2 113
- #define EM_CRX 114
- #define EM_XGATE 115
- #define EM_C166 116
- #define EM_M16C 117
- #define EM_DSPIC30F 118
- #define EM_CE 119
- #define EM_M32C 120
- #define EM_res121 121
- #define EM_res122 122
- #define EM_res123 123
- #define EM_res124 124
- #define EM_res125 125
- #define EM_res126 126
- #define EM_res127 127
- #define EM_res128 128
- #define EM_res129 129
- #define EM_res130 130
- #define EM_TSK3000 131
- #define EM_RS08 132
- #define EM_res133 133
- #define EM_ECOG2 134
- #define EM_SCORE 135
- #define EM_SCORE7 135
- #define EM_DSP24 136
- #define EM_VIDEOCORE3 137
- #define EM_LATTICEMICO32 138
- #define EM_SE_C17 139
- #define EM_TI_C6000 140
- #define EM_TI_C2000 141
- #define EM_TI_C5500 142
- #define EM_res143 143
- #define EM_res144 144
- #define EM_res145 145
- #define EM_res146 146
- #define EM_res147 147
- #define EM_res148 148
- #define EM_res149 149
- #define EM_res150 150
- #define EM_res151 151
- #define EM_res152 152
- #define EM_res153 153
- #define EM_res154 154
- #define EM_res155 155
- #define EM_res156 156
- #define EM_res157 157
- #define EM_res158 158
- #define EM_res159 159
- #define EM_MMDSP_PLUS 160
- #define EM_CYPRESS_M8C 161
- #define EM_R32C 162
- #define EM_TRIMEDIA 163
- #define EM_QDSP6 164
- #define EM_8051 165
- #define EM_STXP7X 166
- #define EM_NDS32 167
- #define EM_ECOG1 168
- #define EM_ECOG1X 168
- #define EM_MAXQ30 169
- #define EM_XIMO16 170
- #define EM_MANIK 171
- #define EM_CRAYNV2 172
- #define EM_RX 173
- #define EM_METAG 174
- #define EM_MCST_ELBRUS 175
- #define EM_ECOG16 176
- #define EM_CR16 177
- #define EM_ETPU 178
- #define EM_SLE9X 179
- #define EM_L1OM 180
- #define EM_K1OM 181
- #define EM_INTEL182 182
- #define EM_AARCH64 183
- #define EM_ARM184 184
- #define EM_AVR32 185
- #define EM_STM8 186
- #define EM_TILE64 187
- #define EM_TILEPRO 188
- #define EM_MICROBLAZE 189
- #define EM_CUDA 190
- #define EM_TILEGX 191
- #define EM_ARC_COMPACT2 195
- #define EM_RL78 197
- #define EM_78K0R 199
- #define EM_INTEL205 205
- #define EM_INTEL206 206
- #define EM_INTEL207 207
- #define EM_INTEL208 208
- #define EM_INTEL209 209
- #define EM_VISIUM 221
- #define EM_FT32 222
- #define EM_MOXIE 223
- #define EM_OLD_SPARCV9 11
- #define EM_PPC_OLD 17
- #define EM_PJ_OLD 99
- #define EM_CR16_OLD 115
- #define EM_AVR_OLD 0x1057
- #define EM_MSP430_OLD 0x1059
- #define EM_MT 0x2530
- #define EM_CYGNUS_FR30 0x3330
- #define EM_DLX 0x5aa5
- #define EM_CYGNUS_FRV 0x5441
- #define EM_XC16X 0x4688
- #define EM_CYGNUS_D10V 0x7650
- #define EM_CYGNUS_D30V 0x7676
- #define EM_IP2K_OLD 0x8217
- #define EM_CYGNUS_POWERPC 0x9025
- #define EM_ALPHA 0x9026
- #define EM_CYGNUS_M32R 0x9041
- #define EM_CYGNUS_V850 0x9080
- #define EM_S390_OLD 0xa390
- #define EM_XTENSA_OLD 0xabc7
- #define EM_XSTORMY16 0xad45
- #define EM_CYGNUS_MN10300 0xbeef
- #define EM_CYGNUS_MN10200 0xdead
- #define EM_M32C_OLD 0xFEB0
- #define EM_IQ2000 0xFEBA
- #define EM_NIOS32 0xFEBB
- #define EM_CYGNUS_MEP 0xF00D
- #define EM_MOXIE_OLD 0xFEED
- #define EM_SCORE_OLD 95
- #define EM_MICROBLAZE_OLD 0xbaab
- #define EM_ADAPTEVA_EPIPHANY 0x1223
- #define EM_OPENRISC EM_OR1K
- #define EV_NONE 0
- #define EV_CURRENT 1
- #define PN_XNUM 0xffff
- #define PT_NULL 0
- #define PT_LOAD 1
- #define PT_DYNAMIC 2
- #define PT_INTERP 3
- #define PT_NOTE 4
- #define PT_SHLIB 5
- #define PT_PHDR 6
- #define PT_TLS 7
- #define PT_LOOS 0x60000000
- #define PT_HIOS 0x6fffffff
- #define PT_LOPROC 0x70000000
- #define PT_HIPROC 0x7FFFFFFF
- #define PT_GNU_EH_FRAME (PT_LOOS + 0x474e550)
- #define PT_SUNW_EH_FRAME PT_GNU_EH_FRAME
- #define PT_GNU_STACK (PT_LOOS + 0x474e551)
- #define PT_GNU_RELRO (PT_LOOS + 0x474e552)
- #define PF_X (1 << 0)
- #define PF_W (1 << 1)
- #define PF_R (1 << 2)
- #define PF_MASKOS 0x0FF00000
- #define PF_MASKPROC 0xF0000000
- #define SHT_NULL 0
- #define SHT_PROGBITS 1
- #define SHT_SYMTAB 2
- #define SHT_STRTAB 3
- #define SHT_RELA 4
- #define SHT_HASH 5
- #define SHT_DYNAMIC 6
- #define SHT_NOTE 7
- #define SHT_NOBITS 8
- #define SHT_REL 9
- #define SHT_SHLIB 10
- #define SHT_DYNSYM 11
- #define SHT_INIT_ARRAY 14
- #define SHT_FINI_ARRAY 15
- #define SHT_PREINIT_ARRAY 16
- #define SHT_GROUP 17
- #define SHT_SYMTAB_SHNDX 18
- #define SHT_LOOS 0x60000000
- #define SHT_HIOS 0x6fffffff
- #define SHT_GNU_INCREMENTAL_INPUTS 0x6fff4700
- #define SHT_GNU_ATTRIBUTES 0x6ffffff5
- #define SHT_GNU_HASH 0x6ffffff6
- #define SHT_GNU_LIBLIST 0x6ffffff7
- #define SHT_SUNW_verdef 0x6ffffffd
- #define SHT_SUNW_verneed 0x6ffffffe
- #define SHT_SUNW_versym 0x6fffffff
- #define SHT_GNU_verdef SHT_SUNW_verdef
- #define SHT_GNU_verneed SHT_SUNW_verneed
- #define SHT_GNU_versym SHT_SUNW_versym
- #define SHT_LOPROC 0x70000000
- #define SHT_HIPROC 0x7FFFFFFF
- #define SHT_LOUSER 0x80000000
- #define SHT_HIUSER 0xFFFFFFFF
- #define SHF_WRITE (1 << 0)
- #define SHF_ALLOC (1 << 1)
- #define SHF_EXECINSTR (1 << 2)
- #define SHF_MERGE (1 << 4)
- #define SHF_STRINGS (1 << 5)
- #define SHF_INFO_LINK (1 << 6)
- #define SHF_LINK_ORDER (1 << 7)
- #define SHF_OS_NONCONFORMING (1 << 8)
- #define SHF_GROUP (1 << 9)
- #define SHF_TLS (1 << 10)
- #define SHF_COMPRESSED (1 << 11)
- #define SHF_MASKOS 0x0FF00000
- #define SHF_MASKPROC 0xF0000000
- #define SHF_EXCLUDE 0x80000000
- #define ELFCOMPRESS_ZLIB 1
- #define ELFCOMPRESS_LOOS 0x60000000
- #define ELFCOMPRESS_HIOS 0x6FFFFFFF
- #define ELFCOMPRESS_LOPROC 0x70000000
- #define ELFCOMPRESS_HIPROC 0x7FFFFFFF
- #define NT_PRSTATUS 1
- #define NT_FPREGSET 2
- #define NT_PRPSINFO 3
- #define NT_TASKSTRUCT 4
- #define NT_AUXV 6
- #define NT_PRXFPREG 0x46e62b7f
-
- #define NT_PPC_VMX 0x100
-
- #define NT_PPC_VSX 0x102
-
- #define NT_386_TLS 0x200
-
- #define NT_386_IOPERM 0x201
-
- #define NT_X86_XSTATE 0x202
-
- #define NT_S390_HIGH_GPRS 0x300
-
- #define NT_S390_TIMER 0x301
-
- #define NT_S390_TODCMP 0x302
-
- #define NT_S390_TODPREG 0x303
-
- #define NT_S390_CTRS 0x304
-
- #define NT_S390_PREFIX 0x305
-
- #define NT_S390_LAST_BREAK 0x306
-
- #define NT_S390_SYSTEM_CALL 0x307
-
- #define NT_S390_TDB 0x308
-
- #define NT_S390_VXRS_LOW 0x309
-
- #define NT_S390_VXRS_HIGH 0x30a
-
- #define NT_ARM_VFP 0x400
- #define NT_ARM_TLS 0x401
-
- #define NT_ARM_HW_BREAK 0x402
-
- #define NT_ARM_HW_WATCH 0x403
-
- #define NT_SIGINFO 0x53494749
- #define NT_FILE 0x46494c45
- #define NT_PSTATUS 10
- #define NT_FPREGS 12
- #define NT_PSINFO 13
- #define NT_LWPSTATUS 16
- #define NT_LWPSINFO 17
- #define NT_WIN32PSTATUS 18
- #define NT_STAPSDT 3
- #define NT_NETBSDCORE_PROCINFO 1
- #define NT_NETBSDCORE_FIRSTMACH 32
- #define NT_OPENBSD_PROCINFO 10
- #define NT_OPENBSD_AUXV 11
- #define NT_OPENBSD_REGS 20
- #define NT_OPENBSD_FPREGS 21
- #define NT_OPENBSD_XFPREGS 22
- #define NT_OPENBSD_WCOOKIE 23
- #define NT_SPU 1
- #define NT_VERSION 1
- #define NT_ARCH 2
- #define NT_GNU_ABI_TAG 1
- #define NT_GNU_HWCAP 2
- #define NT_GNU_BUILD_ID 3
- #define NT_GNU_GOLD_VERSION 4
- #define GNU_ABI_TAG_LINUX 0
- #define GNU_ABI_TAG_HURD 1
- #define GNU_ABI_TAG_SOLARIS 2
- #define GNU_ABI_TAG_FREEBSD 3
- #define GNU_ABI_TAG_NETBSD 4
- #define GNU_ABI_TAG_SYLLABLE 5
- #define GNU_ABI_TAG_NACL 6
- #define NT_NETBSD_IDENT 1
- #define NT_OPENBSD_IDENT 1
- #define NT_FREEBSD_ABI_TAG 1
- #define ELF_ST_BIND(val) (((unsigned int)(val)) >> 4)
- #define ELF_ST_TYPE(val) ((val) & 0xF)
- #define ELF_ST_INFO(bind,type) (((bind) << 4) + ((type) & 0xF))
- #define ELF32_ST_BIND ELF_ST_BIND
- #define ELF32_ST_TYPE ELF_ST_TYPE
- #define ELF32_ST_INFO ELF_ST_INFO
- #define ELF64_ST_BIND ELF_ST_BIND
- #define ELF64_ST_TYPE ELF_ST_TYPE
- #define ELF64_ST_INFO ELF_ST_INFO
- #define ELF_ST_VISIBILITY(v) ((v) & 0x3)
- #define ELF32_ST_VISIBILITY ELF_ST_VISIBILITY
- #define ELF64_ST_VISIBILITY ELF_ST_VISIBILITY
- #define STN_UNDEF 0
- #define STB_LOCAL 0
- #define STB_GLOBAL 1
- #define STB_WEAK 2
- #define STB_LOOS 10
- #define STB_GNU_UNIQUE 10
- #define STB_HIOS 12
- #define STB_LOPROC 13
- #define STB_HIPROC 15
- #define STT_NOTYPE 0
- #define STT_OBJECT 1
- #define STT_FUNC 2
- #define STT_SECTION 3
- #define STT_FILE 4
- #define STT_COMMON 5
- #define STT_TLS 6
- #define STT_RELC 8
- #define STT_SRELC 9
- #define STT_LOOS 10
- #define STT_GNU_IFUNC 10
- #define STT_HIOS 12
- #define STT_LOPROC 13
- #define STT_HIPROC 15
- #define STV_DEFAULT 0
- #define STV_INTERNAL 1
- #define STV_HIDDEN 2
- #define STV_PROTECTED 3
- #define ELF32_R_SYM(i) ((i) >> 8)
- #define ELF32_R_TYPE(i) ((i) & 0xff)
- #define ELF32_R_INFO(s,t) (((s) << 8) + ((t) & 0xff))
- #define ELF64_R_SYM(i) ((i) >> 32)
- #define ELF64_R_TYPE(i) ((i) & 0xffffffff)
- #define ELF64_R_INFO(s,t) (((bfd_vma) (s) << 31 << 1) + (bfd_vma) (t))
- #define DT_NULL 0
- #define DT_NEEDED 1
- #define DT_PLTRELSZ 2
- #define DT_PLTGOT 3
- #define DT_HASH 4
- #define DT_STRTAB 5
- #define DT_SYMTAB 6
- #define DT_RELA 7
- #define DT_RELASZ 8
- #define DT_RELAENT 9
- #define DT_STRSZ 10
- #define DT_SYMENT 11
- #define DT_INIT 12
- #define DT_FINI 13
- #define DT_SONAME 14
- #define DT_RPATH 15
- #define DT_SYMBOLIC 16
- #define DT_REL 17
- #define DT_RELSZ 18
- #define DT_RELENT 19
- #define DT_PLTREL 20
- #define DT_DEBUG 21
- #define DT_TEXTREL 22
- #define DT_JMPREL 23
- #define DT_BIND_NOW 24
- #define DT_INIT_ARRAY 25
- #define DT_FINI_ARRAY 26
- #define DT_INIT_ARRAYSZ 27
- #define DT_FINI_ARRAYSZ 28
- #define DT_RUNPATH 29
- #define DT_FLAGS 30
- #define DT_ENCODING 32
- #define DT_PREINIT_ARRAY 32
- #define DT_PREINIT_ARRAYSZ 33
- #define OLD_DT_LOOS 0x60000000
- #define DT_LOOS 0x6000000d
- #define DT_HIOS 0x6ffff000
- #define OLD_DT_HIOS 0x6fffffff
- #define DT_LOPROC 0x70000000
- #define DT_HIPROC 0x7fffffff
- #define DT_VALRNGLO 0x6ffffd00
- #define DT_GNU_PRELINKED 0x6ffffdf5
- #define DT_GNU_CONFLICTSZ 0x6ffffdf6
- #define DT_GNU_LIBLISTSZ 0x6ffffdf7
- #define DT_CHECKSUM 0x6ffffdf8
- #define DT_PLTPADSZ 0x6ffffdf9
- #define DT_MOVEENT 0x6ffffdfa
- #define DT_MOVESZ 0x6ffffdfb
- #define DT_FEATURE 0x6ffffdfc
- #define DT_POSFLAG_1 0x6ffffdfd
- #define DT_SYMINSZ 0x6ffffdfe
- #define DT_SYMINENT 0x6ffffdff
- #define DT_VALRNGHI 0x6ffffdff
- #define DT_ADDRRNGLO 0x6ffffe00
- #define DT_GNU_HASH 0x6ffffef5
- #define DT_TLSDESC_PLT 0x6ffffef6
- #define DT_TLSDESC_GOT 0x6ffffef7
- #define DT_GNU_CONFLICT 0x6ffffef8
- #define DT_GNU_LIBLIST 0x6ffffef9
- #define DT_CONFIG 0x6ffffefa
- #define DT_DEPAUDIT 0x6ffffefb
- #define DT_AUDIT 0x6ffffefc
- #define DT_PLTPAD 0x6ffffefd
- #define DT_MOVETAB 0x6ffffefe
- #define DT_SYMINFO 0x6ffffeff
- #define DT_ADDRRNGHI 0x6ffffeff
- #define DT_RELACOUNT 0x6ffffff9
- #define DT_RELCOUNT 0x6ffffffa
- #define DT_FLAGS_1 0x6ffffffb
- #define DT_VERDEF 0x6ffffffc
- #define DT_VERDEFNUM 0x6ffffffd
- #define DT_VERNEED 0x6ffffffe
- #define DT_VERNEEDNUM 0x6fffffff
- #define DT_VERSYM 0x6ffffff0
- #define DT_LOPROC 0x70000000
- #define DT_HIPROC 0x7fffffff
- #define DT_AUXILIARY 0x7ffffffd
- #define DT_USED 0x7ffffffe
- #define DT_FILTER 0x7fffffff
- #define DTF_1_PARINIT 0x00000001
- #define DTF_1_CONFEXP 0x00000002
- #define DF_P1_LAZYLOAD 0x00000001
- #define DF_P1_GROUPPERM 0x00000002
- #define DF_1_NOW 0x00000001
- #define DF_1_GLOBAL 0x00000002
- #define DF_1_GROUP 0x00000004
- #define DF_1_NODELETE 0x00000008
- #define DF_1_LOADFLTR 0x00000010
- #define DF_1_INITFIRST 0x00000020
- #define DF_1_NOOPEN 0x00000040
- #define DF_1_ORIGIN 0x00000080
- #define DF_1_DIRECT 0x00000100
- #define DF_1_TRANS 0x00000200
- #define DF_1_INTERPOSE 0x00000400
- #define DF_1_NODEFLIB 0x00000800
- #define DF_1_NODUMP 0x00001000
- #define DF_1_CONFALT 0x00002000
- #define DF_1_ENDFILTEE 0x00004000
- #define DF_1_DISPRELDNE 0x00008000
- #define DF_1_DISPRELPND 0x00010000
- #define DF_1_NODIRECT 0x00020000
- #define DF_1_IGNMULDEF 0x00040000
- #define DF_1_NOKSYMS 0x00080000
- #define DF_1_NOHDR 0x00100000
- #define DF_1_EDITED 0x00200000
- #define DF_1_NORELOC 0x00400000
- #define DF_1_SYMINTPOSE 0x00800000
- #define DF_1_GLOBAUDIT 0x01000000
- #define DF_1_SINGLETON 0x02000000
- #define DF_1_STUB 0x04000000
- #define DF_1_PIE 0x08000000
- #define DF_ORIGIN (1 << 0)
- #define DF_SYMBOLIC (1 << 1)
- #define DF_TEXTREL (1 << 2)
- #define DF_BIND_NOW (1 << 3)
- #define DF_STATIC_TLS (1 << 4)
- #define VER_DEF_NONE 0
- #define VER_DEF_CURRENT 1
- #define VER_FLG_BASE 0x1
- #define VER_FLG_WEAK 0x2
- #define VER_FLG_INFO 0x4
- #define VER_NDX_LOCAL 0
- #define VER_NDX_GLOBAL 1
- #define VER_NEED_NONE 0
- #define VER_NEED_CURRENT 1
- #define VERSYM_HIDDEN 0x8000
- #define VERSYM_VERSION 0x7fff
- #define ELF_VER_CHR '@'
- #define SYMINFO_BT_SELF 0xffff
- #define SYMINFO_BT_PARENT 0xfffe
- #define SYMINFO_BT_LOWRESERVE 0xff00
- #define SYMINFO_FLG_DIRECT 0x0001
- #define SYMINFO_FLG_PASSTHRU 0x0002
- #define SYMINFO_FLG_COPY 0x0004
- #define SYMINFO_FLG_LAZYLOAD 0x0008
- #define SYMINFO_NONE 0
- #define SYMINFO_CURRENT 1
- #define SYMINFO_NUM 2
- #define GRP_COMDAT 0x1
- #define AT_NULL 0
- #define AT_IGNORE 1
- #define AT_EXECFD 2
- #define AT_PHDR 3
- #define AT_PHENT 4
- #define AT_PHNUM 5
- #define AT_PAGESZ 6
- #define AT_BASE 7
- #define AT_FLAGS 8
- #define AT_ENTRY 9
- #define AT_NOTELF 10
- #define AT_UID 11
- #define AT_EUID 12
- #define AT_GID 13
- #define AT_EGID 14
- #define AT_CLKTCK 17
- #define AT_PLATFORM 15
- #define AT_HWCAP 16
- #define AT_FPUCW 18
- #define AT_DCACHEBSIZE 19
- #define AT_ICACHEBSIZE 20
- #define AT_UCACHEBSIZE 21
- #define AT_IGNOREPPC 22
- #define AT_SECURE 23
- #define AT_BASE_PLATFORM 24
- #define AT_RANDOM 25
- #define AT_HWCAP2 26
- #define AT_EXECFN 31
- #define AT_SYSINFO 32
- #define AT_SYSINFO_EHDR 33
- #define AT_L1I_CACHESHAPE 34
- #define AT_L1D_CACHESHAPE 35
- #define AT_L2_CACHESHAPE 36
- #define AT_L3_CACHESHAPE 37
- #define AT_SUN_UID 2000
- #define AT_SUN_RUID 2001
- #define AT_SUN_GID 2002
- #define AT_SUN_RGID 2003
- #define AT_SUN_LDELF 2004
- #define AT_SUN_LDSHDR 2005
- #define AT_SUN_LDNAME 2006
- #define AT_SUN_LPAGESZ 2007
- #define AT_SUN_PLATFORM 2008
- #define AT_SUN_HWCAP 2009
- #define AT_SUN_IFLUSH 2010
- #define AT_SUN_CPU 2011
- #define AT_SUN_EMUL_ENTRY 2012
- #define AT_SUN_EMUL_EXECFD 2013
- #define AT_SUN_EXECNAME 2014
- #define AT_SUN_MMU 2015
- #define AT_SUN_LDDATA 2016
- #define AT_SUN_AUXFLAGS 2017
- #endif
|