summaryrefslogtreecommitdiff
path: root/include/elf.h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-02-20 12:24:26 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2015-02-20 12:24:26 -0600
commitd4389d613cc49f776fffe5ee0f9af854e9a93074 (patch)
treeacb65e19f6482e2599e31003c9a811154580a23c /include/elf.h
parent42e9e0a0406473a9b017342eaffc03c85f9bb51b (diff)
parent409f14d9b5e47513d5c939120a33965997c8ceb2 (diff)
sync with uClibc
Diffstat (limited to 'include/elf.h')
-rw-r--r--include/elf.h26
1 files changed, 8 insertions, 18 deletions
diff --git a/include/elf.h b/include/elf.h
index fc6086489..68ec7d75f 100644
--- a/include/elf.h
+++ b/include/elf.h
@@ -258,7 +258,6 @@ typedef struct
#define EM_MN10200 90 /* Matsushita MN10200 */
#define EM_PJ 91 /* picoJava */
#define EM_OPENRISC 92 /* OpenRISC 32-bit embedded processor */
-#define EM_ARC_A5 93 /* ARC Cores Tangent-A5 */
#define EM_ARCOMPACT 93 /* ARCompact ISA based Cores: ARC 700 */
#define EM_XTENSA 94 /* Tensilica Xtensa Architecture */
#define EM_IP2K 101 /* Ubicom IP2022 micro controller */
@@ -267,8 +266,13 @@ typedef struct
#define EM_BLACKFIN 106 /* Analog Devices Blackfin */
#define EM_ALTERA_NIOS2 113 /* Altera Nios II soft-core processor */
#define EM_CRX 114 /* National Semiconductor CRX */
-#define EM_NUM 95
#define EM_TI_C6000 140
+#define EM_METAG 174 /* Imagination Technologies Meta */
+#define EM_MICROBLAZE 189 /* Xilinx Microblaze */
+#define EM_ARCV2 195 /* ARCv2 Cores */
+
+/* NEXT FREE NUMBER: Increment this after adding your official arch number */
+#define EM_NUM 196
/* If it is necessary to assign new unofficial EM_* values, please pick large
random numbers (0x8523, 0xa7f2, etc.) to minimize the chances of collision
@@ -282,22 +286,9 @@ typedef struct
unofficial e_machine number should eventually ask registry@caldera.com for
an officially blessed number to be added to the list above. */
-/* Imagination Technologies Meta */
-#define EM_METAG 174
-
-/* picoJava */
-#define EM_PJ_OLD 99
-
/* Cygnus PowerPC ELF backend. Written in the absence of an ABI. */
#define EM_CYGNUS_POWERPC 0x9025
-/* Old version of Sparc v9, from before the ABI; this should be
- removed shortly. */
-#define EM_OLD_SPARCV9 11
-
-/* Old version of PowerPC, this should be removed shortly. */
-#define EM_PPC_OLD 17
-
/* (Deprecated) Temporary number for the OpenRISC processor. */
#define EM_OR32 0x8472
@@ -376,9 +367,6 @@ typedef struct
*/
#define EM_MICROBLAZE_OLD 0xbaab
-/* Xilinx Microblaze (official) */
-#define EM_MICROBLAZE 189
-
/* Legal values for e_version (version). */
#define EV_NONE 0 /* Invalid ELF version */
@@ -565,6 +553,7 @@ typedef struct
#define STB_WEAK 2 /* Weak symbol */
#define STB_NUM 3 /* Number of defined types. */
#define STB_LOOS 10 /* Start of OS-specific */
+#define STB_GNU_UNIQUE 10 /* Unique symbol. */
#define STB_HIOS 12 /* End of OS-specific */
#define STB_LOPROC 13 /* Start of processor-specific */
#define STB_HIPROC 15 /* End of processor-specific */
@@ -580,6 +569,7 @@ typedef struct
#define STT_TLS 6 /* Symbol is thread-local data object*/
#define STT_NUM 7 /* Number of defined types. */
#define STT_LOOS 10 /* Start of OS-specific */
+#define STT_GNU_IFUNC 10 /* Symbol is indirect code object */
#define STT_HIOS 12 /* End of OS-specific */
#define STT_LOPROC 13 /* Start of processor-specific */
#define STT_HIPROC 15 /* End of processor-specific */