From 108952ea1d506272bc197e51cf1c4dd7e3bf96eb Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 5 Sep 2000 02:14:38 +0000 Subject: [PATCH] Add some reloc types. --- include/elf/ChangeLog | 7 +++++++ include/elf/hppa.h | 8 +++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 1367e2c30..67f3dd448 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,10 @@ +2000-09-05 Alan Modra + + * hppa.h: Fix a comment. + (R_PARISC_PCREL12F): Define. + (R_PARISC_GNU_VTENTRY): Define. + (R_PARISC_GNU_VTINHERIT): Define. + 2000-09-01 Alexandre Oliva * 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 2d8b86de8..116944764 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