mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 01:50:24 +08:00
* elf32-mips.c (gprel32_with_gp): Remove useless N64 ABI case.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2003-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
|
||||||
|
|
||||||
|
* elf32-mips.c (gprel32_with_gp): Remove useless N64 ABI case.
|
||||||
|
|
||||||
2003-05-13 Stephane Carrez <stcarrez@nerim.fr>
|
2003-05-13 Stephane Carrez <stcarrez@nerim.fr>
|
||||||
|
|
||||||
* elf32-m68hc1x.c (_bfd_m68hc11_elf_merge_private_bfd_data): Check for
|
* elf32-m68hc1x.c (_bfd_m68hc11_elf_merge_private_bfd_data): Check for
|
||||||
|
@ -1197,13 +1197,7 @@ gprel32_with_gp (abfd, symbol, reloc_entry, input_section, relocateable, data,
|
|||||||
if (reloc_entry->address > input_section->_cooked_size)
|
if (reloc_entry->address > input_section->_cooked_size)
|
||||||
return bfd_reloc_outofrange;
|
return bfd_reloc_outofrange;
|
||||||
|
|
||||||
if (reloc_entry->howto->src_mask == 0)
|
val = bfd_get_32 (abfd, (bfd_byte *) data + reloc_entry->address);
|
||||||
{
|
|
||||||
/* This case arises with the 64-bit MIPS ELF ABI. */
|
|
||||||
val = 0;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
val = bfd_get_32 (abfd, (bfd_byte *) data + reloc_entry->address);
|
|
||||||
|
|
||||||
/* Set val to the offset into the section or symbol. */
|
/* Set val to the offset into the section or symbol. */
|
||||||
val += reloc_entry->addend;
|
val += reloc_entry->addend;
|
||||||
|
Reference in New Issue
Block a user