Petr Machata 4ae119a
From acf126799e73e10f571da6c9be487b84a0a46f23 Mon Sep 17 00:00:00 2001
Petr Machata 4ae119a
Message-Id: <acf126799e73e10f571da6c9be487b84a0a46f23.1386021910.git.pmachata@redhat.com>
Petr Machata 4ae119a
From: Petr Machata <pmachata@redhat.com>
Petr Machata 4ae119a
Date: Tue, 1 Oct 2013 16:29:41 +0200
Petr Machata 4ae119a
Subject: [PATCH] Update elf.h from glibc
Petr Machata 4ae119a
Gcc: nnimap+mail.corp.redhat.com:Sent
Petr Machata 4ae119a
To: elfutils-devel@lists.fedorahosted.org
Petr Machata 4ae119a
Petr Machata 4ae119a
Signed-off-by: Petr Machata <pmachata@redhat.com>
Petr Machata 4ae119a
---
Petr Machata 4ae119a
 libelf/ChangeLog |    4 ++
Petr Machata 4ae119a
 libelf/elf.h     |  152 +++++++++++++++++++++++++++++++++++++++++++++++++++++-
Petr Machata 4ae119a
 2 files changed, 154 insertions(+), 2 deletions(-)
Petr Machata 4ae119a
Petr Machata 4ae119a
diff --git a/libelf/ChangeLog b/libelf/ChangeLog
Petr Machata 4ae119a
index 6628994..d9d6421 100644
Petr Machata 4ae119a
--- a/libelf/ChangeLog
Petr Machata 4ae119a
+++ b/libelf/ChangeLog
Petr Machata 4ae119a
@@ -1,3 +1,7 @@
Petr Machata 4ae119a
+2013-10-01  Petr Machata  <pmachata@redhat.com>
Petr Machata 4ae119a
+
Petr Machata 4ae119a
+	* elf.h: Update from glibc.
Petr Machata 4ae119a
+
Petr Machata 4ae119a
 2013-06-17  Petr Machata  <pmachata@redhat.com>
Petr Machata 4ae119a
 
Petr Machata 4ae119a
 	* elf.h: Update from glibc.
Petr Machata 4ae119a
diff --git a/libelf/elf.h b/libelf/elf.h
Petr Machata 4ae119a
index d096a97..a05ea3b 100644
Petr Machata 4ae119a
--- a/libelf/elf.h
Petr Machata 4ae119a
+++ b/libelf/elf.h
Petr Machata 4ae119a
@@ -251,6 +251,7 @@ typedef struct
Petr Machata 4ae119a
 #define EM_XTENSA	94		/* Tensilica Xtensa Architecture */
Petr Machata 4ae119a
 #define EM_AARCH64	183		/* ARM AARCH64 */
Petr Machata 4ae119a
 #define EM_TILEPRO	188		/* Tilera TILEPro */
Petr Machata 4ae119a
+#define EM_MICROBLAZE	189		/* Xilinx MicroBlaze */
Petr Machata 4ae119a
 #define EM_TILEGX	191		/* Tilera TILE-Gx */
Petr Machata 4ae119a
 #define EM_NUM		192
Petr Machata 4ae119a
 
Petr Machata 4ae119a
@@ -810,7 +811,7 @@ typedef struct
Petr Machata 4ae119a
 #define	DF_1_EDITED	0x00200000	/* Object is modified after built.  */
Petr Machata 4ae119a
 #define	DF_1_NORELOC	0x00400000
Petr Machata 4ae119a
 #define	DF_1_SYMINTPOSE	0x00800000	/* Object has individual interposers.  */
Petr Machata 4ae119a
-#define	DF_1_GLOBAUDIT	0x01000000	/* Global auditin required.  */
Petr Machata 4ae119a
+#define	DF_1_GLOBAUDIT	0x01000000	/* Global auditing required.  */
Petr Machata 4ae119a
 #define	DF_1_SINGLETON	0x02000000	/* Singleton symbols are used.  */
Petr Machata 4ae119a
 
Petr Machata 4ae119a
 /* Flags for the feature selection in DT_FEATURE_1.  */
Petr Machata 4ae119a
@@ -992,7 +993,7 @@ typedef struct
Petr Machata 4ae119a
 
Petr Machata 4ae119a
 /* Some more special a_type values describing the hardware.  */
Petr Machata 4ae119a
 #define AT_PLATFORM	15		/* String identifying platform.  */
Petr Machata 4ae119a
-#define AT_HWCAP	16		/* Machine dependent hints about
Petr Machata 4ae119a
+#define AT_HWCAP	16		/* Machine-dependent hints about
Petr Machata 4ae119a
 					   processor capabilities.  */
Petr Machata 4ae119a
 
Petr Machata 4ae119a
 /* This entry gives some information about the FPU initialization
Petr Machata 4ae119a
@@ -1014,6 +1015,9 @@ typedef struct
Petr Machata 4ae119a
 
Petr Machata 4ae119a
 #define AT_RANDOM	25		/* Address of 16 random bytes.  */
Petr Machata 4ae119a
 
Petr Machata 4ae119a
+#define AT_HWCAP2	26		/* More machine-dependent hints about
Petr Machata 4ae119a
+					   processor capabilities.  */
Petr Machata 4ae119a
+
Petr Machata 4ae119a
 #define AT_EXECFN	31		/* Filename of executable.  */
Petr Machata 4ae119a
 
Petr Machata 4ae119a
 /* Pointer to the global system page used for system calls and other
Petr Machata 4ae119a
@@ -1379,6 +1383,7 @@ typedef struct
Petr Machata 4ae119a
 #define EF_MIPS_64BIT_WHIRL	16
Petr Machata 4ae119a
 #define EF_MIPS_ABI2		32
Petr Machata 4ae119a
 #define EF_MIPS_ABI_ON32	64
Petr Machata 4ae119a
+#define EF_MIPS_NAN2008	1024  /* Uses IEEE 754-2008 NaN encoding.  */
Petr Machata 4ae119a
 #define EF_MIPS_ARCH		0xf0000000 /* MIPS architecture level.  */
Petr Machata 4ae119a
 
Petr Machata 4ae119a
 /* Legal values for MIPS architecture level.  */
Petr Machata 4ae119a
@@ -2331,6 +2336,117 @@ typedef Elf32_Addr Elf32_Conflict;
Petr Machata 4ae119a
 #define R_AARCH64_NONE            0	/* No relocation.  */
Petr Machata 4ae119a
 #define R_AARCH64_ABS64         257	/* Direct 64 bit. */
Petr Machata 4ae119a
 #define R_AARCH64_ABS32         258	/* Direct 32 bit.  */
Petr Machata 4ae119a
+#define R_AARCH64_ABS16		259	/* Direct 16-bit.  */
Petr Machata 4ae119a
+#define R_AARCH64_PREL64	260	/* PC-relative 64-bit.	*/
Petr Machata 4ae119a
+#define R_AARCH64_PREL32	261	/* PC-relative 32-bit.	*/
Petr Machata 4ae119a
+#define R_AARCH64_PREL16	262	/* PC-relative 16-bit.	*/
Petr Machata 4ae119a
+#define R_AARCH64_MOVW_UABS_G0	263	/* Dir. MOVZ imm. from bits 15:0.  */
Petr Machata 4ae119a
+#define R_AARCH64_MOVW_UABS_G0_NC 264	/* Likewise for MOVK; no check.  */
Petr Machata 4ae119a
+#define R_AARCH64_MOVW_UABS_G1	265	/* Dir. MOVZ imm. from bits 31:16.  */
Petr Machata 4ae119a
+#define R_AARCH64_MOVW_UABS_G1_NC 266	/* Likewise for MOVK; no check.  */
Petr Machata 4ae119a
+#define R_AARCH64_MOVW_UABS_G2	267	/* Dir. MOVZ imm. from bits 47:32.  */
Petr Machata 4ae119a
+#define R_AARCH64_MOVW_UABS_G2_NC 268	/* Likewise for MOVK; no check.  */
Petr Machata 4ae119a
+#define R_AARCH64_MOVW_UABS_G3	269	/* Dir. MOV{K,Z} imm. from 63:48.  */
Petr Machata 4ae119a
+#define R_AARCH64_MOVW_SABS_G0	270	/* Dir. MOV{N,Z} imm. from 15:0.  */
Petr Machata 4ae119a
+#define R_AARCH64_MOVW_SABS_G1	271	/* Dir. MOV{N,Z} imm. from 31:16.  */
Petr Machata 4ae119a
+#define R_AARCH64_MOVW_SABS_G2	272	/* Dir. MOV{N,Z} imm. from 47:32.  */
Petr Machata 4ae119a
+#define R_AARCH64_LD_PREL_LO19	273	/* PC-rel. LD imm. from bits 20:2.  */
Petr Machata 4ae119a
+#define R_AARCH64_ADR_PREL_LO21	274	/* PC-rel. ADR imm. from bits 20:0.  */
Petr Machata 4ae119a
+#define R_AARCH64_ADR_PREL_PG_HI21 275	/* Page-rel. ADRP imm. from 32:12.  */
Petr Machata 4ae119a
+#define R_AARCH64_ADR_PREL_PG_HI21_NC 276 /* Likewise; no overflow check.  */
Petr Machata 4ae119a
+#define R_AARCH64_ADD_ABS_LO12_NC 277	/* Dir. ADD imm. from bits 11:0.  */
Petr Machata 4ae119a
+#define R_AARCH64_LDST8_ABS_LO12_NC 278	/* Likewise for LD/ST; no check. */
Petr Machata 4ae119a
+#define R_AARCH64_TSTBR14	279	/* PC-rel. TBZ/TBNZ imm. from 15:2.  */
Petr Machata 4ae119a
+#define R_AARCH64_CONDBR19	280	/* PC-rel. cond. br. imm. from 20:2. */
Petr Machata 4ae119a
+#define R_AARCH64_JUMP26	282	/* PC-rel. B imm. from bits 27:2.  */
Petr Machata 4ae119a
+#define R_AARCH64_CALL26	283	/* Likewise for CALL.  */
Petr Machata 4ae119a
+#define R_AARCH64_LDST16_ABS_LO12_NC 284 /* Dir. ADD imm. from bits 11:1.  */
Petr Machata 4ae119a
+#define R_AARCH64_LDST32_ABS_LO12_NC 285 /* Likewise for bits 11:2.  */
Petr Machata 4ae119a
+#define R_AARCH64_LDST64_ABS_LO12_NC 286 /* Likewise for bits 11:3.  */
Petr Machata 4ae119a
+#define R_AARCH64_MOVW_PREL_G0	287	/* PC-rel. MOV{N,Z} imm. from 15:0.  */
Petr Machata 4ae119a
+#define R_AARCH64_MOVW_PREL_G0_NC 288	/* Likewise for MOVK; no check.  */
Petr Machata 4ae119a
+#define R_AARCH64_MOVW_PREL_G1	289	/* PC-rel. MOV{N,Z} imm. from 31:16. */
Petr Machata 4ae119a
+#define R_AARCH64_MOVW_PREL_G1_NC 290	/* Likewise for MOVK; no check.  */
Petr Machata 4ae119a
+#define R_AARCH64_MOVW_PREL_G2	291	/* PC-rel. MOV{N,Z} imm. from 47:32. */
Petr Machata 4ae119a
+#define R_AARCH64_MOVW_PREL_G2_NC 292	/* Likewise for MOVK; no check.  */
Petr Machata 4ae119a
+#define R_AARCH64_MOVW_PREL_G3	293	/* PC-rel. MOV{N,Z} imm. from 63:48. */
Petr Machata 4ae119a
+#define R_AARCH64_LDST128_ABS_LO12_NC 299 /* Dir. ADD imm. from bits 11:4.  */
Petr Machata 4ae119a
+#define R_AARCH64_MOVW_GOTOFF_G0 300	/* GOT-rel. off. MOV{N,Z} imm. 15:0. */
Petr Machata 4ae119a
+#define R_AARCH64_MOVW_GOTOFF_G0_NC 301	/* Likewise for MOVK; no check.  */
Petr Machata 4ae119a
+#define R_AARCH64_MOVW_GOTOFF_G1 302	/* GOT-rel. o. MOV{N,Z} imm. 31:16.  */
Petr Machata 4ae119a
+#define R_AARCH64_MOVW_GOTOFF_G1_NC 303	/* Likewise for MOVK; no check.  */
Petr Machata 4ae119a
+#define R_AARCH64_MOVW_GOTOFF_G2 304	/* GOT-rel. o. MOV{N,Z} imm. 47:32.  */
Petr Machata 4ae119a
+#define R_AARCH64_MOVW_GOTOFF_G2_NC 305	/* Likewise for MOVK; no check.  */
Petr Machata 4ae119a
+#define R_AARCH64_MOVW_GOTOFF_G3 306	/* GOT-rel. o. MOV{N,Z} imm. 63:48.  */
Petr Machata 4ae119a
+#define R_AARCH64_GOTREL64	307	/* GOT-relative 64-bit.  */
Petr Machata 4ae119a
+#define R_AARCH64_GOTREL32	308	/* GOT-relative 32-bit.  */
Petr Machata 4ae119a
+#define R_AARCH64_GOT_LD_PREL19	309	/* PC-rel. GOT off. load imm. 20:2.  */
Petr Machata 4ae119a
+#define R_AARCH64_LD64_GOTOFF_LO15 310	/* GOT-rel. off. LD/ST imm. 14:3.  */
Petr Machata 4ae119a
+#define R_AARCH64_ADR_GOT_PAGE	311	/* P-page-rel. GOT off. ADRP 32:12.  */
Petr Machata 4ae119a
+#define R_AARCH64_LD64_GOT_LO12_NC 312	/* Dir. GOT off. LD/ST imm. 11:3.  */
Petr Machata 4ae119a
+#define R_AARCH64_LD64_GOTPAGE_LO15 313	/* GOT-page-rel. GOT off. LD/ST 14:3 */
Petr Machata 4ae119a
+#define R_AARCH64_TLSGD_ADR_PREL21 512	/* PC-relative ADR imm. 20:0.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSGD_ADR_PAGE21 513	/* page-rel. ADRP imm. 32:12.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSGD_ADD_LO12_NC 514	/* direct ADD imm. from 11:0.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSGD_MOVW_G1	515	/* GOT-rel. MOV{N,Z} 31:16.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSGD_MOVW_G0_NC 516	/* GOT-rel. MOVK imm. 15:0.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLD_ADR_PREL21 517	/* Like 512; local dynamic model.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLD_ADR_PAGE21 518	/* Like 513; local dynamic model.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLD_ADD_LO12_NC 519	/* Like 514; local dynamic model.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLD_MOVW_G1	520	/* Like 515; local dynamic model.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLD_MOVW_G0_NC 521	/* Like 516; local dynamic model.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLD_LD_PREL19 522	/* TLS PC-rel. load imm. 20:2.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLD_MOVW_DTPREL_G2 523 /* TLS DTP-rel. MOV{N,Z} 47:32.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLD_MOVW_DTPREL_G1 524 /* TLS DTP-rel. MOV{N,Z} 31:16.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC 525 /* Likewise; MOVK; no check.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLD_MOVW_DTPREL_G0 526 /* TLS DTP-rel. MOV{N,Z} 15:0.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC 527 /* Likewise; MOVK; no check.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLD_ADD_DTPREL_HI12 528 /* DTP-rel. ADD imm. from 23:12. */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLD_ADD_DTPREL_LO12 529 /* DTP-rel. ADD imm. from 11:0.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC 530 /* Likewise; no ovfl. check.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLD_LDST8_DTPREL_LO12 531 /* DTP-rel. LD/ST imm. 11:0.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC 532 /* Likewise; no check.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLD_LDST16_DTPREL_LO12 533 /* DTP-rel. LD/ST imm. 11:1.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC 534 /* Likewise; no check.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLD_LDST32_DTPREL_LO12 535 /* DTP-rel. LD/ST imm. 11:2.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC 536 /* Likewise; no check.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLD_LDST64_DTPREL_LO12 537 /* DTP-rel. LD/ST imm. 11:3.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC 538 /* Likewise; no check.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSIE_MOVW_GOTTPREL_G1 539 /* GOT-rel. MOV{N,Z} 31:16.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC 540 /* GOT-rel. MOVK 15:0.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21 541 /* Page-rel. ADRP 32:12.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC 542 /* Direct LD off. 11:3.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSIE_LD_GOTTPREL_PREL19 543 /* PC-rel. load imm. 20:2.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLE_MOVW_TPREL_G2 544 /* TLS TP-rel. MOV{N,Z} 47:32.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLE_MOVW_TPREL_G1 545 /* TLS TP-rel. MOV{N,Z} 31:16.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLE_MOVW_TPREL_G1_NC 546 /* Likewise; MOVK; no check.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLE_MOVW_TPREL_G0 547 /* TLS TP-rel. MOV{N,Z} 15:0.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLE_MOVW_TPREL_G0_NC 548 /* Likewise; MOVK; no check.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLE_ADD_TPREL_HI12 549 /* TP-rel. ADD imm. 23:12.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLE_ADD_TPREL_LO12 550 /* TP-rel. ADD imm. 11:0.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLE_ADD_TPREL_LO12_NC 551 /* Likewise; no ovfl. check.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLE_LDST8_TPREL_LO12 552 /* TP-rel. LD/ST off. 11:0.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC 553 /* Likewise; no ovfl. check. */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLE_LDST16_TPREL_LO12 554 /* TP-rel. LD/ST off. 11:1.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC 555 /* Likewise; no check.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLE_LDST32_TPREL_LO12 556 /* TP-rel. LD/ST off. 11:2.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC 557 /* Likewise; no check.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLE_LDST64_TPREL_LO12 558 /* TP-rel. LD/ST off. 11:3.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC 559 /* Likewise; no check.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSDESC_LD_PREL19 560	/* PC-rel. load immediate 20:2.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSDESC_ADR_PREL21 561 /* PC-rel. ADR immediate 20:0.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSDESC_ADR_PAGE21 562 /* Page-rel. ADRP imm. 32:12.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSDESC_LD64_LO12 563	/* Direct LD off. from 11:3.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSDESC_ADD_LO12 564	/* Direct ADD imm. from 11:0.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSDESC_OFF_G1 565	/* GOT-rel. MOV{N,Z} imm. 31:16.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSDESC_OFF_G0_NC 566	/* GOT-rel. MOVK imm. 15:0; no ck.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSDESC_LDR	567	/* Relax LDR.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSDESC_ADD	568	/* Relax ADD.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSDESC_CALL	569	/* Relax BLR.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLE_LDST128_TPREL_LO12 570 /* TP-rel. LD/ST off. 11:4.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC 571 /* Likewise; no check.  */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLD_LDST128_DTPREL_LO12 572 /* DTP-rel. LD/ST imm. 11:4. */
Petr Machata 4ae119a
+#define R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC 573 /* Likewise; no check.  */
Petr Machata 4ae119a
 #define R_AARCH64_COPY         1024	/* Copy symbol at runtime.  */
Petr Machata 4ae119a
 #define R_AARCH64_GLOB_DAT     1025	/* Create GOT entry.  */
Petr Machata 4ae119a
 #define R_AARCH64_JUMP_SLOT    1026	/* Create PLT entry.  */
Petr Machata 4ae119a
@@ -2339,6 +2455,7 @@ typedef Elf32_Addr Elf32_Conflict;
Petr Machata 4ae119a
 #define R_AARCH64_TLS_DTPREL64 1029	/* Module-relative offset, 64 bit.  */
Petr Machata 4ae119a
 #define R_AARCH64_TLS_TPREL64  1030	/* TP-relative offset, 64 bit.  */
Petr Machata 4ae119a
 #define R_AARCH64_TLSDESC      1031	/* TLS Descriptor.  */
Petr Machata 4ae119a
+#define R_AARCH64_IRELATIVE	1032	/* STT_GNU_IFUNC relocation.  */
Petr Machata 4ae119a
 
Petr Machata 4ae119a
 /* ARM relocs.  */
Petr Machata 4ae119a
 
Petr Machata 4ae119a
@@ -2955,6 +3072,37 @@ typedef Elf32_Addr Elf32_Conflict;
Petr Machata 4ae119a
 #define R_M32R_GOTOFF_LO	64	/* Low 16 bit offset to GOT */
Petr Machata 4ae119a
 #define R_M32R_NUM		256	/* Keep this the last entry. */
Petr Machata 4ae119a
 
Petr Machata 4ae119a
+/* MicroBlaze relocations */
Petr Machata 4ae119a
+#define R_MICROBLAZE_NONE		0	/* No reloc. */
Petr Machata 4ae119a
+#define R_MICROBLAZE_32 		1	/* Direct 32 bit. */
Petr Machata 4ae119a
+#define R_MICROBLAZE_32_PCREL		2	/* PC relative 32 bit. */
Petr Machata 4ae119a
+#define R_MICROBLAZE_64_PCREL		3	/* PC relative 64 bit. */
Petr Machata 4ae119a
+#define R_MICROBLAZE_32_PCREL_LO	4	/* Low 16 bits of PCREL32. */
Petr Machata 4ae119a
+#define R_MICROBLAZE_64 		5	/* Direct 64 bit. */
Petr Machata 4ae119a
+#define R_MICROBLAZE_32_LO		6	/* Low 16 bit. */
Petr Machata 4ae119a
+#define R_MICROBLAZE_SRO32		7	/* Read-only small data area. */
Petr Machata 4ae119a
+#define R_MICROBLAZE_SRW32		8	/* Read-write small data area. */
Petr Machata 4ae119a
+#define R_MICROBLAZE_64_NONE		9	/* No reloc. */
Petr Machata 4ae119a
+#define R_MICROBLAZE_32_SYM_OP_SYM	10	/* Symbol Op Symbol relocation. */
Petr Machata 4ae119a
+#define R_MICROBLAZE_GNU_VTINHERIT	11	/* GNU C++ vtable hierarchy. */
Petr Machata 4ae119a
+#define R_MICROBLAZE_GNU_VTENTRY	12	/* GNU C++ vtable member usage. */
Petr Machata 4ae119a
+#define R_MICROBLAZE_GOTPC_64		13	/* PC-relative GOT offset.  */
Petr Machata 4ae119a
+#define R_MICROBLAZE_GOT_64		14	/* GOT entry offset.  */
Petr Machata 4ae119a
+#define R_MICROBLAZE_PLT_64		15	/* PLT offset (PC-relative).  */
Petr Machata 4ae119a
+#define R_MICROBLAZE_REL		16	/* Adjust by program base.  */
Petr Machata 4ae119a
+#define R_MICROBLAZE_JUMP_SLOT		17	/* Create PLT entry.  */
Petr Machata 4ae119a
+#define R_MICROBLAZE_GLOB_DAT		18	/* Create GOT entry.  */
Petr Machata 4ae119a
+#define R_MICROBLAZE_GOTOFF_64		19	/* 64 bit offset to GOT. */
Petr Machata 4ae119a
+#define R_MICROBLAZE_GOTOFF_32		20	/* 32 bit offset to GOT. */
Petr Machata 4ae119a
+#define R_MICROBLAZE_COPY		21	/* Runtime copy.  */
Petr Machata 4ae119a
+#define R_MICROBLAZE_TLS		22	/* TLS Reloc. */
Petr Machata 4ae119a
+#define R_MICROBLAZE_TLSGD		23	/* TLS General Dynamic. */
Petr Machata 4ae119a
+#define R_MICROBLAZE_TLSLD		24	/* TLS Local Dynamic. */
Petr Machata 4ae119a
+#define R_MICROBLAZE_TLSDTPMOD32	25	/* TLS Module ID. */
Petr Machata 4ae119a
+#define R_MICROBLAZE_TLSDTPREL32	26	/* TLS Offset Within TLS Block. */
Petr Machata 4ae119a
+#define R_MICROBLAZE_TLSDTPREL64	27	/* TLS Offset Within TLS Block. */
Petr Machata 4ae119a
+#define R_MICROBLAZE_TLSGOTTPREL32	28	/* TLS Offset From Thread Pointer. */
Petr Machata 4ae119a
+#define R_MICROBLAZE_TLSTPREL32 	29	/* TLS Offset From Thread Pointer. */
Petr Machata 4ae119a
 
Petr Machata 4ae119a
 /* TILEPro relocations.  */
Petr Machata 4ae119a
 #define R_TILEPRO_NONE		0	/* No reloc */
Petr Machata 4ae119a
-- 
Petr Machata 4ae119a
1.7.6.5
Petr Machata 4ae119a