diff options
author | Ma Jiang <ma.jiang@zte.com.cn> | 2016-12-01 12:21:30 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2016-12-01 12:21:30 +0000 |
commit | 40a0bfddf07620f5321927b3231502debb3b73bc (patch) | |
tree | 1c4c08accf4fba1b72a70b9f3544049cada1f649 /bfd/elfxx-mips.c | |
parent | e82ab856bb4689330c29fb9f1c57a8555b26380e (diff) | |
download | gdb-40a0bfddf07620f5321927b3231502debb3b73bc.zip gdb-40a0bfddf07620f5321927b3231502debb3b73bc.tar.gz gdb-40a0bfddf07620f5321927b3231502debb3b73bc.tar.bz2 |
Fix handling of MIPS16 HI16 relocs.
PR ld/16720
* elfxx-mips.c (mips_elf_calculate_relocation): Remove overflow
test for HI16 relocs.
Diffstat (limited to 'bfd/elfxx-mips.c')
-rw-r--r-- | bfd/elfxx-mips.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index 0e56ffa..96317aa 100644 --- a/bfd/elfxx-mips.c +++ b/bfd/elfxx-mips.c @@ -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; |