aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-09-05 02:14:38 +0000
committerAlan Modra <amodra@gmail.com>2000-09-05 02:14:38 +0000
commitde98ed8b0138865c3e1b323abef7f0180cf31f69 (patch)
tree1485c849a9cdf087e9387b25e3c6fb6a27ecca0f
parent7faed10febfd0cda542ed949cfd9e10f45f05811 (diff)
downloadgdb-de98ed8b0138865c3e1b323abef7f0180cf31f69.zip
gdb-de98ed8b0138865c3e1b323abef7f0180cf31f69.tar.gz
gdb-de98ed8b0138865c3e1b323abef7f0180cf31f69.tar.bz2
Add some reloc types.
-rw-r--r--include/elf/ChangeLog7
-rw-r--r--include/elf/hppa.h8
2 files changed, 14 insertions, 1 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 1367e2c..67f3dd4 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,10 @@
+2000-09-05 Alan Modra <alan@linuxcare.com.au>
+
+ * hppa.h: Fix a comment.
+ (R_PARISC_PCREL12F): Define.
+ (R_PARISC_GNU_VTENTRY): Define.
+ (R_PARISC_GNU_VTINHERIT): Define.
+
2000-09-01 Alexandre Oliva <aoliva@redhat.com>
* sh.h (R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT,
diff --git a/include/elf/hppa.h b/include/elf/hppa.h
index 2d8b86d..1169447 100644
--- a/include/elf/hppa.h
+++ b/include/elf/hppa.h
@@ -135,6 +135,9 @@ RELOC_NUMBER (R_PARISC_DIR14R, 6)
addend being zero. A consequence of this limitation is GAS
can not perform relocation reductions for function symbols. */
+RELOC_NUMBER (R_PARISC_PCREL12F, 8)
+/* op & branch (17) symbol - PC - 8 + addend */
+
RELOC_NUMBER (R_PARISC_PCREL32, 9)
/* 32-bit word symbol - PC - 8 + addend */
@@ -229,7 +232,7 @@ RELOC_NUMBER (R_PARISC_SEGBASE, 48)
/* none no relocation; SB := sym */
RELOC_NUMBER (R_PARISC_SEGREL32, 49)
-/* 32-bit word symbol - SB + addend */
+/* 32-bit word symbol - SB + addend */
/* Offsets from the PLT. */
@@ -471,6 +474,9 @@ RELOC_NUMBER (R_PARISC_LTOFF_TP16WF, 230)
RELOC_NUMBER (R_PARISC_LTOFF_TP16DF, 231)
/* load/store doubleword (3) ltoff(symbol - TP + addend) */
+RELOC_NUMBER (R_PARISC_GNU_VTENTRY, 232)
+RELOC_NUMBER (R_PARISC_GNU_VTINHERIT, 233)
+
END_RELOC_NUMBERS (R_PARISC_UNIMPLEMENTED)
#ifndef RELOC_MACROS_GEN_FUNC