From: Alan Modra Date: Tue, 5 Sep 2000 02:14:38 +0000 (+0000) Subject: Add some reloc types. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=de98ed8b0138865c3e1b323abef7f0180cf31f69;p=binutils-gdb.git Add some reloc types. --- 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 + + * 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 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