mirror of
https://git.yoctoproject.org/poky
synced 2026-02-09 02:03:04 +01:00
Add 'm4-biarch.m4-tweak-AC_RUN_IFELSE-for-cross-compiling.patch' to fix cross compiling failure; Rebase 'elf_additions.diff' for 0.158; Drop obsolete patches: - nm-Fix-size-passed-to-snprintf-for-invalid-sh_name-case.patch - elfutils-ar-c-fix-num-passed-to-memset.patch - fix-build-gcc-4.8.patch Pick patches from debian: http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.158-2.debian.tar.xz We could not directly add elfutils_0.158-2.debian.tar.xz to SRC_URI, because it contains other souce codes which are not pathces. (From OE-Core rev: d9c7a02240ce37d5b2569d9177e8ba534b9295ce) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
78 lines
3.4 KiB
Diff
78 lines
3.4 KiB
Diff
Upstream-Status: Backport
|
|
|
|
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
---
|
|
libelf/elf.h | 27 +++++++++++++++++++++++++--
|
|
1 file changed, 25 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/libelf/elf.h b/libelf/elf.h
|
|
--- a/libelf/elf.h
|
|
+++ b/libelf/elf.h
|
|
@@ -142,6 +142,7 @@ typedef struct
|
|
#define ELFOSABI_NETBSD 2 /* NetBSD. */
|
|
#define ELFOSABI_GNU 3 /* Object uses GNU ELF extensions. */
|
|
#define ELFOSABI_LINUX ELFOSABI_GNU /* Compatibility alias. */
|
|
+#define ELFOSABI_HURD 4 /* GNU/Hurd */
|
|
#define ELFOSABI_SOLARIS 6 /* Sun Solaris. */
|
|
#define ELFOSABI_AIX 7 /* IBM AIX. */
|
|
#define ELFOSABI_IRIX 8 /* SGI Irix. */
|
|
@@ -149,8 +150,13 @@ typedef struct
|
|
#define ELFOSABI_TRU64 10 /* Compaq TRU64 UNIX. */
|
|
#define ELFOSABI_MODESTO 11 /* Novell Modesto. */
|
|
#define ELFOSABI_OPENBSD 12 /* OpenBSD. */
|
|
+#define ELFOSABI_OPENVMS 13 /* OpenVMS */
|
|
+#define ELFOSABI_NSK 14 /* Hewlett-Packard Non-Stop Kernel */
|
|
+#define ELFOSABI_AROS 15 /* Amiga Research OS */
|
|
+/* 64-255 Architecture-specific value range */
|
|
#define ELFOSABI_ARM_AEABI 64 /* ARM EABI */
|
|
#define ELFOSABI_ARM 97 /* ARM */
|
|
+/* This is deprecated? It's not in the latest version anymore. */
|
|
#define ELFOSABI_STANDALONE 255 /* Standalone (embedded) application */
|
|
|
|
#define EI_ABIVERSION 8 /* ABI version */
|
|
@@ -205,7 +211,7 @@ typedef struct
|
|
#define EM_H8_300H 47 /* Hitachi H8/300H */
|
|
#define EM_H8S 48 /* Hitachi H8S */
|
|
#define EM_H8_500 49 /* Hitachi H8/500 */
|
|
-#define EM_IA_64 50 /* Intel Merced */
|
|
+#define EM_IA_64 50 /* Intel IA64 */
|
|
#define EM_MIPS_X 51 /* Stanford MIPS-X */
|
|
#define EM_COLDFIRE 52 /* Motorola Coldfire */
|
|
#define EM_68HC12 53 /* Motorola M68HC12 */
|
|
@@ -219,7 +225,8 @@ typedef struct
|
|
#define EM_TINYJ 61 /* Advanced Logic Corp. Tinyj emb.fam*/
|
|
#define EM_X86_64 62 /* AMD x86-64 architecture */
|
|
#define EM_PDSP 63 /* Sony DSP Processor */
|
|
-
|
|
+#define EM_PDP10 64 /* Digital Equipment Corp. PDP-10 */
|
|
+#define EM_PDP11 65 /* Digital Equipment Corp. PDP-11 */
|
|
#define EM_FX66 66 /* Siemens FX66 microcontroller */
|
|
#define EM_ST9PLUS 67 /* STMicroelectronics ST9+ 8/16 mc */
|
|
#define EM_ST7 68 /* STmicroelectronics ST7 8 bit mc */
|
|
@@ -249,6 +256,22 @@ typedef struct
|
|
#define EM_OPENRISC 92 /* OpenRISC 32-bit embedded processor */
|
|
#define EM_ARC_A5 93 /* ARC Cores Tangent-A5 */
|
|
#define EM_XTENSA 94 /* Tensilica Xtensa Architecture */
|
|
+#define EM_VIDEOCORE 95 /* Alphamosaic VideoCore processor */
|
|
+#define EM_TMM_GPP 96 /* Thompson Multimedia General Purpose Processor */
|
|
+#define EM_NS32K 97 /* National Semiconductor 32000 series */
|
|
+#define EM_TPC 98 /* Tenor Network TPC processor */
|
|
+#define EM_SNP1K 99 /* Trebia SNP 1000 processor */
|
|
+#define EM_ST200 100 /* STMicroelectronics (www.st.com) ST200 microcontroller */
|
|
+#define EM_IP2K 101 /* Ubicom IP2XXX microcontroller family */
|
|
+#define EM_MAX 102 /* MAX Processor */
|
|
+#define EM_CR 103 /* National Semiconductor CompactRISC */
|
|
+#define EM_F2MC16 104 /* Fujitsu F2MC16 */
|
|
+#define EM_MSP430 105 /* TI msp430 micro controller */
|
|
+#define EM_BLACKFIN 106 /* Analog Devices Blackfin (DSP) processor */
|
|
+#define EM_SE_C33 107 /* S1C33 Family of Seiko Epson processors */
|
|
+#define EM_SEP 108 /* Sharp embedded microprocessor */
|
|
+#define EM_ARCA 109 /* Arca RISC Microprocessor */
|
|
+
|
|
#define EM_AARCH64 183 /* ARM AARCH64 */
|
|
#define EM_TILEPRO 188 /* Tilera TILEPro */
|
|
#define EM_MICROBLAZE 189 /* Xilinx MicroBlaze */
|
|
--
|
|
1.8.1.2
|
|
|