Lines Matching +full:resolver +full:- +full:to +full:- +full:digital

1 /*-
15 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 * $Id: elfdefinitions.h 3769 2019-06-29 15:15:02Z emaste $
31 * - The public specification of the ELF format as defined in the
34 * - The May 1998 (version 1.5) draft of "The ELF-64 object format".
35 * - Processor-specific ELF ABI definitions for sparc, i386, amd64, mips,
36 * ia64, powerpc, and RISC-V processors.
37 * - The "Linkers and Libraries Guide", from Sun Microsystems.
67 "object being loaded may refer to $ORIGIN") \
75 "uses static thread-local storage") \
91 "object being loaded may refer to $ORIGIN") \
157 "text segment may be written to during relocation") \
163 "pointers to initialization functions") \
165 "pointers to termination functions") \
171 "flags specific to the object being loaded") \
174 "pointers to pre-initialization functions") \
176 "size of pre-initialization array") \
180 "start of OS-specific types") \
191 "end of OS-specific types") \
222 "location of PLT entry for TLS descriptor resolver calls") \
224 "location of GOT entry used by TLS descriptor resolver PLT entry") \
258 "start of processor-specific types") \
274 "MIPS-specific flags") \
292 "index of first dynamic symbol corresponds to a GOT entry") \
341 "default suffix of DSO to be appended by dlopen") \
372 "end of processor-specific types")
388 "dynamic segment describes only how to relocate segments") \
398 "file contains BE-8 code") \
400 "file contains LE-8 code") \
444 "file follows MIPS III 32-bit ABI") \
448 "file uses application-specific architectural extensions") \
452 "file uses MIPS-16 ISA extensions") \
454 "4-bit MIPS architecture field") \
458 "-mrelocatable flag") \
460 "-mrelocatable-lib flag") \
579 _ELF_DEFINE_EABI(ELFOSABI_HPUX, 1, "Hewlett-Packard HP-UX") \
593 "Hewlett-Packard Non-Stop Kernel") \
596 "The FenixOS highly scalable multi-core OS") \
627 _ELF_DEFINE_EM(EM_MIPS_RS3_LE, 10, "MIPS RS3000 Little-endian") \
628 _ELF_DEFINE_EM(EM_PARISC, 15, "Hewlett-Packard PA-RISC") \
634 _ELF_DEFINE_EM(EM_PPC64, 21, "64-bit PowerPC") \
639 _ELF_DEFINE_EM(EM_RH32, 38, "TRW RH-32") \
642 _ELF_DEFINE_EM(EM_ALPHA, 41, "Digital Alpha") \
654 "Intel IA-64 processor architecture") \
655 _ELF_DEFINE_EM(EM_MIPS_X, 51, "Stanford MIPS-X") \
670 _ELF_DEFINE_EM(EM_X86_64, 62, "AMD x86-64 architecture") \
673 "Digital Equipment Corp. PDP-10") \
675 "Digital Equipment Corp. PDP-11") \
680 "STMicroelectronics ST7 8-bit microcontroller") \
691 "STMicroelectronics ST19 8-bit microcontroller") \
692 _ELF_DEFINE_EM(EM_VAX, 75, "Digital VAX") \
694 "Axis Communications 32-bit embedded processor") \
696 "Infineon Technologies 32-bit embedded processor") \
698 "Element 14 64-bit DSP Processor") \
700 "LSI Logic 16-bit DSP Processor") \
702 "Donald Knuth's educational 64-bit processor") \
704 "Harvard University machine-independent object files") \
707 "Atmel AVR 8-bit microcontroller") \
717 "OpenRISC 32-bit embedded processor") \
748 "Microprocessor series from PKU-Unity Ltd. and MPRC of Peking University") \
750 "eXcess: 16/32/64-bit configurable embedded CPU") \
754 "Altera Nios II soft-core processor") \
764 "Microchip Technology dsPIC30F Digital Signal Controller") \
773 "Analog Devices SHARC family of 32-bit DSP processors") \
779 "New Japan Radio (NJR) 24-bit DSP Processor") \
809 "Dallas Semiconductor MAXQ30 Core Micro-controllers") \
811 "New Japan Radio (NJR) 16-bit DSP Processor") \
824 "National Semiconductor CompactRISC CR16 16-bit microprocessor") \
830 "AArch64 (64-bit ARM)") \
832 "Atmel Corporation 32-bit microprocessor family") \
834 "STMicroeletronics STM8 8-bit microcontroller") \
840 "Xilinx MicroBlaze 32-bit RISC soft processor core") \
843 "Tilera TILE-Gx multicore architecture family") \
847 "KIPO-KAIST Core-A 1st generation processor family") \
849 "KIPO-KAIST Core-A 2nd generation processor family") \
852 "Open8 8-bit RISC soft processor core") \
857 "Freescale 56800EX Digital Signal Controller") \
861 _ELF_DEFINE_EM(EM_MCHP_PIC, 204, "Microchip 8-bit PIC(r) family") \
867 _ELF_DEFINE_EM(EM_KM32, 210, "KM211 KM32 32-bit processor") \
868 _ELF_DEFINE_EM(EM_KMX32, 211, "KM211 KMX32 32-bit processor") \
869 _ELF_DEFINE_EM(EM_KMX16, 212, "KM211 KMX16 16-bit processor") \
870 _ELF_DEFINE_EM(EM_KMX8, 213, "KM211 KMX8 8-bit processor") \
872 _ELF_DEFINE_EM(EM_RISCV, 243, "RISC-V")
894 _ELF_DEFINE_ET(ET_LOOS, 0xFE00U, "Begin OS-specific range") \
895 _ELF_DEFINE_ET(ET_HIOS, 0xFEFFU, "End OS-specific range") \
896 _ELF_DEFINE_ET(ET_LOPROC, 0xFF00U, "Begin processor-specific range") \
897 _ELF_DEFINE_ET(ET_HIPROC, 0xFFFFU, "End processor-specific range")
914 #define GRP_MASKOS 0x0ff00000 /* OS-specific flags */
915 #define GRP_MASKPROC 0xf0000000 /* processor-specific flags */
931 _ELF_DEFINE_PF(PF_MASKOS, 0x0ff00000, "OS-specific flags") \
932 _ELF_DEFINE_PF(PF_MASKPROC, 0xf0000000, "Processor-specific flags") \
936 "segment is position-independent") \
963 "start of OS-specific range") \
971 "Segment becomes read-only after relocation") \
987 "end of OS-specific range") \
989 "start of processor-specific range") \
1001 "end of processor-specific range")
1026 "may be merged to prevent duplication") \
1028 "NUL-terminated character strings") \
1034 "requires OS-specific processing during linking") \
1038 "holds thread-local storage") \
1042 "bits reserved for OS-specific semantics") \
1048 "section may be multiply defined in input to link step (ARM)") \
1052 "section data should be merged to eliminate duplication") \
1060 "section data local to process") \
1066 "section is ordered with respect to other sections") \
1070 "bits reserved for processor-specific semantics")
1086 "start of processor-specific range") \
1095 "gp-addressable common symbols") \
1097 "gp-addressable undefined symbols") \
1102 "end of processor-specific range") \
1104 "start of OS-specific range") \
1107 "end of OS-specific range") \
1109 _ELF_DEFINE_SHN(SHN_COMMON, 0xFFF2U, "references to COMMON areas") \
1141 "pointers to initialization functions") \
1143 "pointers to termination functions") \
1145 "pointers to functions called before initialization") \
1150 "start of OS-specific range") \
1162 "List of libraries to be prelinked") \
1172 "information to handle partially initialized symbols") \
1184 "end of OS-specific range") \
1186 "start of processor-specific range") \
1202 "symbol conflicting with DSO-defined symbols ") \
1234 "symbol-to-library mapping") \
1256 "SPARC-specific data") \
1262 "end of processor-specific range") \
1264 "start of application-specific range") \
1266 "end of application-specific range")
1292 _ELF_DEFINE_STB(STB_LOOS, 10, "start of OS-specific range") \
1294 _ELF_DEFINE_STB(STB_HIOS, 12, "end of OS-specific range") \
1296 "start of processor-specific range") \
1298 "end of processor-specific range")
1319 _ELF_DEFINE_STT(STT_LOOS, 10, "start of OS-specific types") \
1321 _ELF_DEFINE_STT(STT_HIOS, 12, "end of OS-specific types") \
1323 "start of processor-specific types") \
1328 "end of processor-specific types")
1343 "bound to self") \
1345 "bound to parent") \
1384 "definition by copy-relocation") \
1390 "external references not allowed to bind to definition")
1628 * Guide'', Document No: 817-1984-17. See the X86_64 relocations list
2341 /* 32-bit capability descriptor. */
2350 /* 64-bit capability descriptor. */
2363 /* 32-bit entry. */
2368 /* 64-bit entry. */
2377 /* 32-bit entry. */
2386 /* 64-bit entry. */
2407 Elf32_Off e_phoff; /* File offset to the PHDR table. */
2408 Elf32_Off e_shoff; /* File offset to the SHDRheader. */
2426 Elf64_Off e_phoff; /* File offset to the PHDR table. */
2427 Elf64_Off e_shoff; /* File offset to the SHDRheader. */
2442 /* 32-bit entry. */
2445 Elf32_Word l_time_stamp; /* 32-bit timestamp. */
2451 /* 64-bit entry. */
2454 Elf64_Word l_time_stamp; /* 32-bit timestamp. */
2531 typedef Elf_Note Elf32_Nhdr; /* 32-bit note header. */
2532 typedef Elf_Note Elf64_Nhdr; /* 64-bit note header. */
2542 Elf64_Word info; /* Kind-specific information. */
2560 "GP group to use for text/data sections") \
2618 "patch for R4000 branch at end-of-page bug") \
2622 "patch for R5000 branch at end-of-page bug") \
2641 "object checked for R4000 end-of-page bug") \
2643 "object verified clean for R4000 end-of-page bug") \
2645 "object requires call to fixade")
2661 "GP group is self-contained")
2696 Elf32_Off p_offset; /* File offset to segment. */
2709 Elf64_Off p_offset; /* File offset to segment. */
2723 /* 32-bit move entry. */
2727 Elf32_Word m_poffset; /* Offset relative to symbol. */
2729 Elf32_Half m_stride; /* Number of units to skip. */
2732 /* 64-bit move entry. */
2736 Elf64_Xword m_poffset; /* Offset relative to symbol. */
2738 Elf64_Half m_stride; /* Number of units to skip. */
2758 Elf32_Addr sh_addr; /* in-memory address of section */
2764 Elf32_Word sh_entsize; /* size for fixed-size entries */
2772 Elf64_Addr sh_addr; /* in-memory address of section */
2778 Elf64_Xword sh_entsize; /* size for fixed-size entries */
2819 /* 32-bit entry. */
2825 /* 64-bit entry. */
2836 Elf32_Addr r_offset; /* location to apply relocation to */
2841 Elf32_Addr r_offset; /* location to apply relocation to */
2847 Elf64_Addr r_offset; /* location to apply relocation to */
2852 Elf64_Addr r_offset; /* location to apply relocation to */
2871 /* 32-bit structures. */
2874 Elf32_Word vda_name; /* Index to name. */
2875 Elf32_Word vda_next; /* Offset to next entry. */
2883 Elf32_Word vna_name; /* Offset to dependency name. */
2884 Elf32_Word vna_next; /* Offset to next vernaux entry. */
2894 Elf32_Word vd_aux; /* Offset to aux entries. */
2895 Elf32_Word vd_next; /* Offset to next version definition. */
2909 /* 64-bit structures. */
2912 Elf64_Word vda_name; /* Index to name. */
2913 Elf64_Word vda_next; /* Offset to next entry. */
2920 Elf64_Word vna_name; /* Offset to dependency name. */
2921 Elf64_Word vna_next; /* Offset to next vernaux entry. */
2930 Elf64_Word vd_aux; /* Offset to aux entries. */
2931 Elf64_Word vd_next; /* Offset to next version definition. */
2946 * The header for GNU-style hash sections.