diff options
author | Richard Henderson <rth@redhat.com> | 2001-09-05 03:00:14 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2001-09-05 03:00:14 +0000 |
commit | dfe57ca0af6d87c88e4962ee5b2b9ee14d990240 (patch) | |
tree | 3eb2f9d9bfa7c5d5bdc7beec557de9b326a9c774 /bfd/reloc.c | |
parent | e3883bf957e3a9857b5cc6b82c096e5fb5992b27 (diff) | |
download | gdb-dfe57ca0af6d87c88e4962ee5b2b9ee14d990240.zip gdb-dfe57ca0af6d87c88e4962ee5b2b9ee14d990240.tar.gz gdb-dfe57ca0af6d87c88e4962ee5b2b9ee14d990240.tar.bz2 |
* elf64-alpha.c (SKIP_HOWTO): New.
(elf64_alpha_howto_table): Use it to remove dead ECOFF relocs.
Fix sizes of 16-bit mem format relocs.
(elf64_alpha_reloc_map): Update to match.
(elf64_alpha_relax_with_lituse): Use GPREL16 as appropriate.
(elf64_alpha_relax_without_lituse): Likewise.
(elf64_alpha_check_relocs): Handle GPREL16.
(elf64_alpha_relocate_section): Likewise.
* reloc.c (BFD_RELOC_ALPHA_USER_*): Remove.
(BFD_RELOC_ALPHA_GPREL_HI16, BFD_RELOC_ALPHA_GPREL_LO16): New.
* bfd-in2.h, libbfd.h: Rebuild.
Diffstat (limited to 'bfd/reloc.c')
-rw-r--r-- | bfd/reloc.c | 29 |
1 files changed, 8 insertions, 21 deletions
diff --git a/bfd/reloc.c b/bfd/reloc.c index ab9f4d1..ef98042 100644 --- a/bfd/reloc.c +++ b/bfd/reloc.c @@ -1931,27 +1931,6 @@ ENUMDOC 2 - byte-manipulation (byte offset reg) 3 - jsr (target of branch) - The GNU linker currently doesn't do any of this optimizing. - -ENUM - BFD_RELOC_ALPHA_USER_LITERAL -ENUMX - BFD_RELOC_ALPHA_USER_LITUSE_BASE -ENUMX - BFD_RELOC_ALPHA_USER_LITUSE_BYTOFF -ENUMX - BFD_RELOC_ALPHA_USER_LITUSE_JSR -ENUMX - BFD_RELOC_ALPHA_USER_GPDISP -ENUMX - BFD_RELOC_ALPHA_USER_GPRELHIGH -ENUMX - BFD_RELOC_ALPHA_USER_GPRELLOW -ENUMDOC - The BFD_RELOC_ALPHA_USER_* relocations are used by the assembler to - process the explicit !<reloc>!sequence relocations, and are mapped - into the normal relocations at the end of processing. - ENUM BFD_RELOC_ALPHA_HINT ENUMDOC @@ -1972,6 +1951,14 @@ ENUMDOC which is filled by the linker. ENUM + BFD_RELOC_ALPHA_GPREL_HI16 +ENUMX + BFD_RELOC_ALPHA_GPREL_LO16 +ENUMDOC + The GPREL_HI/LO relocations together form a 32-bit offset from the + GP register. + +ENUM BFD_RELOC_MIPS_JMP ENUMDOC Bits 27..2 of the relocation address shifted right 2 bits; |