Lines Matching +full:linux +full:- +full:next
1 /* SPDX-License-Identifier: BSD-2-Clause */
2 /*-
45 * next word boundary. Then comes n_descsz bytes of descriptor, again
57 * The header for GNU-style hash sections.
105 #define ELFCLASS32 1 /* 32-bit architecture. */
106 #define ELFCLASS64 2 /* 64-bit architecture. */
110 #define ELFDATA2LSB 1 /* 2's complement little-endian. */
111 #define ELFDATA2MSB 2 /* 2's complement big-endian. */
115 #define ELFOSABI_HPUX 1 /* HP-UX operating system */
117 #define ELFOSABI_LINUX 3 /* GNU/Linux */
128 #define ELFOSABI_NSK 14 /* HP Non-Stop Kernel */
149 #define ET_HIOS 0xfeff /* Last operating system-specific. */
150 #define ET_LOPROC 0xff00 /* First processor-specific. */
151 #define ET_HIPROC 0xffff /* Last processor-specific. */
161 #define EM_MIPS 8 /* MIPS R3000 Big-Endian only. */
163 #define EM_MIPS_RS3_LE 10 /* MIPS R3000 Little-Endian. */
164 #define EM_PARISC 15 /* HP PA-RISC. */
168 #define EM_PPC 20 /* PowerPC 32-bit. */
169 #define EM_PPC64 21 /* PowerPC 64-bit. */
173 #define EM_RH32 38 /* TRW RH-32. */
177 #define EM_SPARCV9 43 /* SPARC v9 64-bit. */
184 #define EM_IA_64 50 /* Intel IA-64 Processor. */
185 #define EM_MIPS_X 51 /* Stanford MIPS-X. */
196 #define EM_X86_64 62 /* Advanced Micro Devices x86-64 */
197 #define EM_AMD64 EM_X86_64 /* Advanced Micro Devices x86-64 (compat) */
202 #define EM_ST7 68 /* STmicroelectronics ST7 8-bit
209 #define EM_ST19 74 /* STMicroelectronics ST19 8-bit mc. */
211 #define EM_CRIS 76 /* Axis Communications 32-bit embedded
213 #define EM_JAVELIN 77 /* Infineon Technologies 32-bit embedded
215 #define EM_FIREPATH 78 /* Element 14 64-bit DSP Processor. */
216 #define EM_ZSP 79 /* LSI Logic 16-bit DSP Processor. */
217 #define EM_MMIX 80 /* Donald Knuth's educational 64-bit proc. */
218 #define EM_HUANY 81 /* Harvard University machine-independent
221 #define EM_AVR 83 /* Atmel AVR 8-bit microcontroller. */
230 #define EM_OPENRISC 92 /* OpenRISC 32-bit embedded processor. */
231 #define EM_ARC_A5 93 /* ARC Cores Tangent-A5. */
251 #define EM_UNICORE 110 /* Microprocessor series from PKU-Unity Ltd.
253 #define EM_AARCH64 183 /* AArch64 (64-bit ARM) */
254 #define EM_RISCV 243 /* RISC-V */
256 /* Non-standard or deprecated. */
258 #define EM_MIPS_RS4_BE 10 /* MIPS R4000 Big-Endian */
273 #define SHN_LOPROC 0xff00 /* First processor-specific. */
274 #define SHN_HIPROC 0xff1f /* Last processor-specific. */
275 #define SHN_LOOS 0xff20 /* First operating system-specific. */
276 #define SHN_HIOS 0xff3f /* Last operating system-specific. */
279 #define SHN_XINDEX 0xffff /* Escape -- index stored elsewhere. */
292 #define SHT_REL 9 /* relocation section - no addends */
293 #define SHT_SHLIB 10 /* reserved - purpose unknown */
297 #define SHT_PREINIT_ARRAY 16 /* Pre-initialization function ptrs. */
325 pre-emption map. */
345 #define SHF_OS_NONCONFORMING 0x100 /* OS-specific processing required. */
348 #define SHF_MASKOS 0x0ff00000 /* OS-specific semantics. */
349 #define SHF_MASKPROC 0xf0000000 /* Processor-specific semantics. */
360 #define PT_LOOS 0x60000000 /* First OS-specific. */
372 #define PT_HIOS 0x6fffffff /* Last OS-specific. */
373 #define PT_LOPROC 0x70000000 /* First processor-specific type. */
375 #define PT_HIPROC 0x7fffffff /* Last processor-specific type. */
381 #define PF_MASKOS 0x0ff00000 /* Operating system-specific. */
382 #define PF_MASKPROC 0xf0000000 /* Processor-specific. */
392 #define DT_PLTGOT 3 /* Processor-dependent address. */
413 non-writable segments. [sup] */
424 #define DT_RUNPATH 29 /* String table offset of a null-terminated
433 pre-initialization functions. */
435 pre-initialization functions. */
437 #define DT_LOOS 0x6000000d /* First OS-specific */
442 #define DT_HIOS 0x6ffff000 /* Last OS-specific */
469 #define DT_GNU_HASH 0x6ffffef5 /* GNU-style hash table */
481 #define DT_FLAGS_1 0x6ffffffb /* state flags - see DF_1_* defs */
487 #define DT_LOPROC 0x70000000 /* First processor-specific type. */
490 #define DT_USED 0x7ffffffe /* ignored - same as needed */
492 #define DT_HIPROC 0x7fffffff /* Last processor-specific type. */
500 non-writable segments. */
507 thread-local storage scheme. */
557 /* Symbol Binding - ELFNN_ST_BIND - st_info */
560 #define STB_WEAK 2 /* like global - lower precedence */
566 /* Symbol type - ELFNN_ST_TYPE - st_info */
581 /* Symbol visibility - ELFNN_ST_VISIBILITY - st_other */
621 #define SYMINFO_FLG_PASSTHRU 0x0002 /* ignored - see SYMINFO_FLG_FILTER */
622 #define SYMINFO_FLG_COPY 0x0004 /* symbol is a copy-reloc */
624 /* lazily-loaded */
657 #define R_386_PC32 2 /* Add PC-relative symbol value. */
658 #define R_386_GOT32 3 /* Add PC-relative GOT offset. */
659 #define R_386_PLT32 4 /* Add PC-relative PLT offset. */
664 #define R_386_GOTOFF 9 /* Add GOT-relative symbol address. */
665 #define R_386_GOTPC 10 /* Add PC-relative GOT table address. */
667 #define R_386_TLS_IE 15 /* Absolute address of GOT for -ve static TLS */
685 #define R_386_TLS_TPOFF32 37 /* GOT entry of -ve static TLS offset */
689 #define R_RISCV_64 2 /* 64-bit relocation. */
728 #define R_ARM_GOTOFF 24 /* Add GOT-relative symbol address. */
729 #define R_ARM_GOTPC 25 /* Add PC-relative GOT table address. */
730 #define R_ARM_GOT32 26 /* Add PC-relative GOT offset. */
731 #define R_ARM_PLT32 27 /* Add PC-relative PLT offset. */
767 #define R_IA_64_PCREL60B 0x48 /* immediate60 form1 S + A - P */
768 #define R_IA_64_PCREL21B 0x49 /* immediate21 form1 S + A - P */
769 #define R_IA_64_PCREL21M 0x4a /* immediate21 form2 S + A - P */
770 #define R_IA_64_PCREL21F 0x4b /* immediate21 form3 S + A - P */
771 #define R_IA_64_PCREL32MSB 0x4c /* word32 MSB S + A - P */
772 #define R_IA_64_PCREL32LSB 0x4d /* word32 LSB S + A - P */
773 #define R_IA_64_PCREL64MSB 0x4e /* word64 MSB S + A - P */
774 #define R_IA_64_PCREL64LSB 0x4f /* word64 LSB S + A - P */
797 #define R_IA_64_PCREL21BI 0x79 /* immediate21 form1 S + A - P */
798 #define R_IA_64_PCREL22 0x7a /* immediate22 S + A - P */
799 #define R_IA_64_PCREL64I 0x7b /* immediate64 S + A - P */
802 #define R_IA_64_SUB 0x85 /* immediate64 A - S */
881 * 64-bit relocations
1034 #define R_X86_64_PC32 2 /* PC-relative 32 bit signed sym value. */
1035 #define R_X86_64_GOT32 3 /* PC-relative 32 bit GOT offset. */
1036 #define R_X86_64_PLT32 4 /* PC-relative 32 bit PLT offset. */