diff options
author | Thiemo Seufer <ths@networkno.de> | 2003-05-15 00:04:34 +0000 |
---|---|---|
committer | Thiemo Seufer <ths@networkno.de> | 2003-05-15 00:04:34 +0000 |
commit | 40f62fa0b5b463171f747094b0c471e8c12b3950 (patch) | |
tree | 51fe0cfc9f29399c19ea2ee9a67f4c852de188f1 /bfd/elf32-mips.c | |
parent | c344a4c8c4d2832f31a64a4da6be9327533c0dc8 (diff) | |
download | gdb-40f62fa0b5b463171f747094b0c471e8c12b3950.zip gdb-40f62fa0b5b463171f747094b0c471e8c12b3950.tar.gz gdb-40f62fa0b5b463171f747094b0c471e8c12b3950.tar.bz2 |
* elf32-mips.c (gprel32_with_gp): Remove useless N64 ABI case.
Diffstat (limited to 'bfd/elf32-mips.c')
-rw-r--r-- | bfd/elf32-mips.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c index 85819d5..3b47246 100644 --- a/bfd/elf32-mips.c +++ b/bfd/elf32-mips.c @@ -1197,13 +1197,7 @@ gprel32_with_gp (abfd, symbol, reloc_entry, input_section, relocateable, data, if (reloc_entry->address > input_section->_cooked_size) return bfd_reloc_outofrange; - if (reloc_entry->howto->src_mask == 0) - { - /* This case arises with the 64-bit MIPS ELF ABI. */ - val = 0; - } - else - val = bfd_get_32 (abfd, (bfd_byte *) data + reloc_entry->address); + val = bfd_get_32 (abfd, (bfd_byte *) data + reloc_entry->address); /* Set val to the offset into the section or symbol. */ val += reloc_entry->addend; |