summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2008-12-20 00:24:16 +0000
committerHans-Peter Nilsson <hp@axis.com>2008-12-20 00:24:16 +0000
commitd0b4dd1d4f6ab7da13b4059dfc57072777719733 (patch)
tree3847abeebd7b698e6f8ac607704239800be39c0b
parent254a48c7e2a708d46a72493407dfb7710545602f (diff)
downloadbinutils-redhat-d0b4dd1d4f6ab7da13b4059dfc57072777719733.tar.gz
* cris.h (R_CRIS_32_IE): New relocation.
-rw-r--r--include/elf/ChangeLog4
-rw-r--r--include/elf/cris.h5
2 files changed, 9 insertions, 0 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 23434c70fe..b4025b1dcf 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,7 @@
+2008-12-20 Hans-Peter Nilsson <hp@axis.com>
+
+ * cris.h (R_CRIS_32_IE): New relocation.
+
2008-12-03 Nick Clifton <nickc@redhat.com>
* common.h (STT_IFUNC): Define.
diff --git a/include/elf/cris.h b/include/elf/cris.h
index afd3ef5cc7..30e75b23df 100644
--- a/include/elf/cris.h
+++ b/include/elf/cris.h
@@ -166,6 +166,11 @@ START_RELOC_NUMBERS (elf_cris_reloc_type)
(usually the fourth one). */
RELOC_NUMBER (R_CRIS_DTPMOD, 30)
+ /* Similar to R_CRIS_32_GOT_TPREL, but the value is the absolute
+ address of the GOT entry. Disallowed in DSOs created with
+ -shared. Assembly syntax: "sym:IE". */
+ RELOC_NUMBER (R_CRIS_32_IE, 31)
+
/* No other relocs must be visible outside the assembler. */
END_RELOC_NUMBERS (R_CRIS_max)