aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-06-03 16:24:03 +0000
committerNick Clifton <nickc@redhat.com>2003-06-03 16:24:03 +0000
commit283857c8db22d83c9ad65008079c665cc90fb301 (patch)
tree74e13bc1652c677daa993949d7d30ea9e2971ffe
parentfb6b1418e4ccbbcb5697779908229121832f5fb9 (diff)
downloadnewlib-283857c8db22d83c9ad65008079c665cc90fb301.zip
newlib-283857c8db22d83c9ad65008079c665cc90fb301.tar.gz
newlib-283857c8db22d83c9ad65008079c665cc90fb301.tar.bz2
Add pc-relative 32-bit reloc to v850 port. Fixes ld-elf/merge test failure.
-rw-r--r--include/elf/ChangeLog5
-rw-r--r--include/elf/v850.h3
2 files changed, 7 insertions, 1 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 59e05e3..db652e2 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,8 @@
+2003-06-03 Nick Clifton <nickc@redhat.com>
+
+ * v850.h (R_V850_32): Rename to R_V850_ABS32.
+ Add R_V850_REL32.
+
2003-05-15 Roland McGrath <roland@redhat.com>
* common.h (NT_AUXV, AT_*): New macros.
diff --git a/include/elf/v850.h b/include/elf/v850.h
index a15c9ee..c949ab0 100644
--- a/include/elf/v850.h
+++ b/include/elf/v850.h
@@ -53,7 +53,7 @@ START_RELOC_NUMBERS (v850_reloc_type)
RELOC_NUMBER (R_V850_HI16_S, 3)
RELOC_NUMBER (R_V850_HI16, 4)
RELOC_NUMBER (R_V850_LO16, 5)
- RELOC_NUMBER (R_V850_32, 6)
+ RELOC_NUMBER (R_V850_ABS32, 6)
RELOC_NUMBER (R_V850_16, 7)
RELOC_NUMBER (R_V850_8, 8)
RELOC_NUMBER( R_V850_SDA_16_16_OFFSET, 9) /* For ld.b, st.b, set1, clr1, not1, tst1, movea, movhi */
@@ -75,6 +75,7 @@ START_RELOC_NUMBERS (v850_reloc_type)
RELOC_NUMBER (R_V850_LONGCALL, 25)
RELOC_NUMBER (R_V850_LONGJUMP, 26)
RELOC_NUMBER (R_V850_ALIGN, 27)
+ RELOC_NUMBER (R_V850_REL32, 28)
END_RELOC_NUMBERS (R_V850_max)