Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/elf/ChangeLog4
-rw-r--r--include/elf/m68k.h19
2 files changed, 23 insertions, 0 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 3faff0d2e..0a4f94c60 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,7 @@
+2009-02-03 Maxim Kuvyrkov <maxim@codesourcery.com>
+
+ * m68k.h: Map TLS relocations to numbers.
+
2009-01-15 Andrew Stubbs <ams@codesourcery.com>
Julian Brown <julian@codesourcery.com>
diff --git a/include/elf/m68k.h b/include/elf/m68k.h
index 23b269a82..5c29d381f 100644
--- a/include/elf/m68k.h
+++ b/include/elf/m68k.h
@@ -50,6 +50,25 @@ START_RELOC_NUMBERS (elf_m68k_reloc_type)
/* These are GNU extensions to enable C++ vtable garbage collection. */
RELOC_NUMBER (R_68K_GNU_VTINHERIT, 23)
RELOC_NUMBER (R_68K_GNU_VTENTRY, 24)
+ /* TLS static relocations. */
+ RELOC_NUMBER (R_68K_TLS_GD32, 25)
+ RELOC_NUMBER (R_68K_TLS_GD16, 26)
+ RELOC_NUMBER (R_68K_TLS_GD8, 27)
+ RELOC_NUMBER (R_68K_TLS_LDM32, 28)
+ RELOC_NUMBER (R_68K_TLS_LDM16, 29)
+ RELOC_NUMBER (R_68K_TLS_LDM8, 30)
+ RELOC_NUMBER (R_68K_TLS_LDO32, 31)
+ RELOC_NUMBER (R_68K_TLS_LDO16, 32)
+ RELOC_NUMBER (R_68K_TLS_LDO8, 33)
+ RELOC_NUMBER (R_68K_TLS_IE32, 34)
+ RELOC_NUMBER (R_68K_TLS_IE16, 35)
+ RELOC_NUMBER (R_68K_TLS_IE8, 36)
+ RELOC_NUMBER (R_68K_TLS_LE32, 37)
+ RELOC_NUMBER (R_68K_TLS_LE16, 38)
+ RELOC_NUMBER (R_68K_TLS_LE8, 39)
+ RELOC_NUMBER (R_68K_TLS_DTPMOD32, 40)
+ RELOC_NUMBER (R_68K_TLS_DTPREL32, 41)
+ RELOC_NUMBER (R_68K_TLS_TPREL32, 42)
END_RELOC_NUMBERS (R_68K_max)
/* We use the top 24 bits to encode information about the