summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2000-09-05 02:14:38 +0000
committerAlan Modra <amodra@bigpond.net.au>2000-09-05 02:14:38 +0000
commitaa7405706b4cb06b5f1099e0e5cafacd06eefe6e (patch)
tree1b2cce25f3e0975a60340295c26cdcd5397c51ac /include
parent897875a971f37a287f68d4ddf7a319bfc5f90852 (diff)
downloadgdb-aa7405706b4cb06b5f1099e0e5cafacd06eefe6e.tar.gz
Add some reloc types.
Diffstat (limited to 'include')
-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 1367e2c30b5..67f3dd44814 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 2d8b86de84f..116944764c8 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