From: Ma Jiang Date: Thu, 1 Dec 2016 12:21:30 +0000 (+0000) Subject: Fix handling of MIPS16 HI16 relocs. X-Git-Tag: users/ARM/embedded-binutils-master-2016q4~60 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=40a0bfddf07620f5321927b3231502debb3b73bc;p=external%2Fbinutils.git Fix handling of MIPS16 HI16 relocs. PR ld/16720 * elfxx-mips.c (mips_elf_calculate_relocation): Remove overflow test for HI16 relocs. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index f03aaeb..fae51f3 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2016-12-01 Ma Jiang + + PR ld/16720 + * elfxx-mips.c (mips_elf_calculate_relocation): Remove overflow + test for HI16 relocs. + 2016-12-01 Nick Clifton PR binutils/20891 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;