mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 19:09:31 +08:00
Fix handling of MIPS16 HI16 relocs.
PR ld/16720 * elfxx-mips.c (mips_elf_calculate_relocation): Remove overflow test for HI16 relocs.
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
2016-12-01 Ma Jiang <ma.jiang@zte.com.cn>
|
||||
|
||||
PR ld/16720
|
||||
* elfxx-mips.c (mips_elf_calculate_relocation): Remove overflow
|
||||
test for HI16 relocs.
|
||||
|
||||
2016-12-01 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
PR binutils/20891
|
||||
|
@ -5920,7 +5920,6 @@ mips_elf_calculate_relocation (bfd *abfd, bfd *input_bfd,
|
||||
value = mips_elf_high (addend + gp - p - 1);
|
||||
else
|
||||
value = mips_elf_high (addend + gp - p);
|
||||
overflowed_p = mips_elf_overflow_p (value, 16);
|
||||
}
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user