aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-ft32.c
diff options
context:
space:
mode:
authorJames Bowman <jamesb@excamera.com>2017-08-30 19:44:58 -0700
committerJames Bowman <jamesb@excamera.com>2017-08-30 19:44:58 -0700
commitef32532f22be7e98c25480449fbc7a80d1030e1e (patch)
tree666e5e8f3a052b23e7b7ebd8e609399a79b38f4d /bfd/elf32-ft32.c
parente234de6be5cc96286e0efb90e8d9fce51239e901 (diff)
downloadbinutils-ef32532f22be7e98c25480449fbc7a80d1030e1e.zip
binutils-ef32532f22be7e98c25480449fbc7a80d1030e1e.tar.gz
binutils-ef32532f22be7e98c25480449fbc7a80d1030e1e.tar.bz2
FT32: Permit R_FT32_18 overflow
The howto for R_FT32_18 was using complain_overflow_signed. But some valid address calculations exceed the range of this reloc. Changing it to complain_overflow_dont allows them. bfd/ChangeLog: * elf32-ft32.c (ft32_elf_howto_table): Use complain_overflow_dont for R_FT32_18.
Diffstat (limited to 'bfd/elf32-ft32.c')
-rw-r--r--bfd/elf32-ft32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-ft32.c b/bfd/elf32-ft32.c
index 13d5d7b..233c5a1 100644
--- a/bfd/elf32-ft32.c
+++ b/bfd/elf32-ft32.c
@@ -139,7 +139,7 @@ static reloc_howto_type ft32_elf_howto_table [] =
18, /* bitsize */
FALSE, /* pc_relative */
0, /* bitpos */
- complain_overflow_signed, /* complain_on_overflow */
+ complain_overflow_dont, /* complain_on_overflow */
bfd_elf_generic_reloc, /* special_function */
"R_FT32_18", /* name */
FALSE, /* partial_inplace */