]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add new AM33 relocs
authorMark Salter <msalter@redhat.com>
Thu, 9 Aug 2012 01:43:47 +0000 (21:43 -0400)
committerMark Salter <msalter@redhat.com>
Thu, 9 Aug 2012 01:43:47 +0000 (21:43 -0400)
ChangeLog
elf/elf.h

index 6e0f610ec1b0326893403e5d9d198a9bf054071b..0a5d89f10cc321563af0ba016a37c54c4d8531cb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+2012-08-08  Mark Salter  <msalter@redhat.com>
+
+       * elf/elf.h
+       (R_MN10300_TLS_GD): Define.
+       (R_MN10300_TLS_LD): Likewise.
+       (R_MN10300_TLS_LDO): Likewise.
+       (R_MN10300_TLS_GOTIE): Likewise.
+       (R_MN10300_TLS_IE): Likewise.
+       (R_MN10300_TLS_LE): Likewise.
+       (R_MN10300_TLS_DTPMOD): Likewise.
+       (R_MN10300_TLS_DTPOFF): Likewise.
+       (R_MN10300_TLS_TPOFF): Likewise.
+       (R_MN10300_SYM_DIFF): Likewise.
+       (R_MN10300_ALIGN): Likewise.
+       (R_MN10300_NUM): Update.
+
 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
 
        * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
index 71cfdb8181f6ece4280bab22c386f36b056992e1..1e67ef5ef73d215efdca35fa90d2f681df102be0 100644 (file)
--- 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.  */