aboutsummaryrefslogtreecommitdiff
path: root/include/elf
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-07-20 11:35:03 +0000
committerNick Clifton <nickc@redhat.com>2005-07-20 11:35:03 +0000
commit157e7bd196cc83495a38f37b1528d2505d554b2e (patch)
tree4c78dde5569e0909da71fd5c2970c505d6a7bf4c /include/elf
parent6c76e4a1c9743ba5ea19e5b11f71e1a39e73d291 (diff)
downloadgdb-157e7bd196cc83495a38f37b1528d2505d554b2e.zip
gdb-157e7bd196cc83495a38f37b1528d2505d554b2e.tar.gz
gdb-157e7bd196cc83495a38f37b1528d2505d554b2e.tar.bz2
Add support for a 32bit PC relative reloc
Diffstat (limited to 'include/elf')
-rw-r--r--include/elf/ChangeLog4
-rw-r--r--include/elf/m32r.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 5b8c3eb3..1822b40 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,7 @@
+2005-07-20 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
+
+ * m32r.h (R_M32R_REL32): Added.
+
2005-07-18 Ben Elliston <bje@au.ibm.com>
* dwarf2.h (enum dwarf_type): Remove DW_AT_GNU_decimal_float.
diff --git a/include/elf/m32r.h b/include/elf/m32r.h
index b82377a..d648df9 100644
--- a/include/elf/m32r.h
+++ b/include/elf/m32r.h
@@ -52,6 +52,8 @@ START_RELOC_NUMBERS (elf_m32r_reloc_type)
RELOC_NUMBER (R_M32R_SDA16_RELA, 42)
RELOC_NUMBER (R_M32R_RELA_GNU_VTINHERIT, 43)
RELOC_NUMBER (R_M32R_RELA_GNU_VTENTRY, 44)
+
+ RELOC_NUMBER (R_M32R_REL32, 45)
RELOC_NUMBER (R_M32R_GOT24, 48)
RELOC_NUMBER (R_M32R_26_PLTREL, 49)
@@ -70,6 +72,7 @@ START_RELOC_NUMBERS (elf_m32r_reloc_type)
RELOC_NUMBER (R_M32R_GOTOFF_HI_ULO, 62)
RELOC_NUMBER (R_M32R_GOTOFF_HI_SLO, 63)
RELOC_NUMBER (R_M32R_GOTOFF_LO, 64)
+
END_RELOC_NUMBERS (R_M32R_max)
/* Processor specific section indices. These sections do not actually