projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e82ab85
)
Fix handling of MIPS16 HI16 relocs.
author
Ma Jiang
<ma.jiang@zte.com.cn>
Thu, 1 Dec 2016 12:21:30 +0000
(12:21 +0000)
committer
Nick Clifton
<nickc@redhat.com>
Thu, 1 Dec 2016 12:21:30 +0000
(12:21 +0000)
PR ld/16720
* elfxx-mips.c (mips_elf_calculate_relocation): Remove overflow
test for HI16 relocs.
bfd/ChangeLog
patch
|
blob
|
history
bfd/elfxx-mips.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index f03aaeb8ed2cf4a69ef3477827bc2f4d5ba2f2c4..fae51f3a2b4febbb4c8a5e92afba66d3958deaf3 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-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
diff --git
a/bfd/elfxx-mips.c
b/bfd/elfxx-mips.c
index 0e56ffa361d0ef195a43610b9b89da116977b24c..96317aaadac00964ad2370020be1aedd05dcdde3 100644
(file)
--- 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;