summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorMark Salter <msalter@redhat.com>2012-08-08 21:43:47 -0400
committerMark Salter <msalter@redhat.com>2012-08-08 21:43:47 -0400
commit33b4a91e5b7935d68c50047f37b55056e5545b09 (patch)
tree6a964f85201da7b24ed3c8aca0de9c13fde2b57f /elf
parent76de109437e31b7b06113781464e99155d6f658d (diff)
downloadglibc-33b4a91e5b7935d68c50047f37b55056e5545b09.tar.gz
glibc-33b4a91e5b7935d68c50047f37b55056e5545b09.tar.xz
glibc-33b4a91e5b7935d68c50047f37b55056e5545b09.zip
Add new AM33 relocs
Diffstat (limited to 'elf')
-rw-r--r--elf/elf.h19
1 files changed, 17 insertions, 2 deletions
diff --git a/elf/elf.h b/elf/elf.h
index 71cfdb8181..1e67ef5ef7 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -2734,8 +2734,23 @@ typedef Elf32_Addr Elf32_Conflict;
 #define R_MN10300_GLOB_DAT	21	/* Create GOT entry.  */
 #define R_MN10300_JMP_SLOT	22	/* Create PLT entry.  */
 #define R_MN10300_RELATIVE	23	/* Adjust by program base.  */
-
-#define R_MN10300_NUM		24
+#define R_MN10300_TLS_GD	24	/* 32-bit offset for global dynamic.  */
+#define R_MN10300_TLS_LD	25	/* 32-bit offset for local dynamic.  */
+#define R_MN10300_TLS_LDO	26	/* Module-relative offset.  */
+#define R_MN10300_TLS_GOTIE	27	/* GOT offset for static TLS block
+					   offset.  */
+#define R_MN10300_TLS_IE	28	/* GOT address for static TLS block
+					   offset.  */
+#define R_MN10300_TLS_LE	29	/* Offset relative to static TLS
+					   block.  */
+#define R_MN10300_TLS_DTPMOD	30	/* ID of module containing symbol.  */
+#define R_MN10300_TLS_DTPOFF	31	/* Offset in module TLS block.  */
+#define R_MN10300_TLS_TPOFF	32	/* Offset in static TLS block.  */
+#define R_MN10300_SYM_DIFF	33	/* Adjustment for next reloc as needed
+					   by linker relaxation.  */
+#define R_MN10300_ALIGN		34	/* Alignment requirement for linker
+					   relaxation.  */
+#define R_MN10300_NUM		35
 
 
 /* M32R relocs.  */