public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [repost] [PATCH] FT32: Permit R_FT32_18 overflow
@ 2017-08-25  3:02 James Bowman
  0 siblings, 0 replies; only message in thread
From: James Bowman @ 2017-08-25  3:02 UTC (permalink / raw)
  To: binutils

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.

OK to apply?

James.

bfd/ChangeLog:

2017-08-22  James Bowman  <james.bowman@ftdichip.com>

	* elf32-ft32.c (ft32_elf_howto_table): Use complain_overflow_dont for R_FT32_18

---
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 */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-08-25  3:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-25  3:02 [repost] [PATCH] FT32: Permit R_FT32_18 overflow James Bowman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).