public inbox for binutils-cvs@sourceware.org
 help / color / mirror / Atom feed
* [binutils-gdb] PR29963, PDP11 link produces spurious relocation truncated messages
@ 2023-01-05  4:06 Alan Modra
  0 siblings, 0 replies; only message in thread
From: Alan Modra @ 2023-01-05  4:06 UTC (permalink / raw)
  To: bfd-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=38afcc0c69d2f547d47fdba12ed5b090ae2b976e

commit 38afcc0c69d2f547d47fdba12ed5b090ae2b976e
Author: Paul Koning <paulkoning@comcast.net>
Date:   Wed Jan 4 22:29:00 2023 +0000

    PR29963, PDP11 link produces spurious relocation truncated messages
    
    PDP11 is a 16-bit processor with 16-bit logical addresses.  Therefore
    wrapping should be allowed on the 16-bit relocs, and may as well be
    allowed for the 32-bit reloc too.
    
            PR 29963
            * pdp11.c (howto_table_pdp11): Use complain_overflow_dont.

Diff:
---
 bfd/pdp11.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bfd/pdp11.c b/bfd/pdp11.c
index 28936348abf..862cf49fda3 100644
--- a/bfd/pdp11.c
+++ b/bfd/pdp11.c
@@ -280,9 +280,9 @@ static bool separate_i_d = false;
 reloc_howto_type howto_table_pdp11[] =
 {
   /* type	       rs size bsz  pcrel bitpos ovrf			  sf name     part_inpl readmask  setmask    pcdone */
-HOWTO( 0,	       0,  2,  16,  false, 0, complain_overflow_signed,0,"16",	true, 0x0000ffff,0x0000ffff, false),
-HOWTO( 1,	       0,  2,  16,  true,  0, complain_overflow_signed,0,"DISP16",	true, 0x0000ffff,0x0000ffff, false),
-HOWTO( 2,	       0,  4,  32,  false, 0, complain_overflow_signed,0,"32",	true, 0x0000ffff,0x0000ffff, false),
+HOWTO( 0,	       0,  2,  16,  false, 0, complain_overflow_dont,0,"16",	true, 0x0000ffff,0x0000ffff, false),
+HOWTO( 1,	       0,  2,  16,  true,  0, complain_overflow_dont,0,"DISP16",	true, 0x0000ffff,0x0000ffff, false),
+HOWTO( 2,	       0,  4,  32,  false, 0, complain_overflow_dont,0,"32",	true, 0x0000ffff,0x0000ffff, false),
 };
 
 #define TABLE_SIZE(TABLE)	(sizeof(TABLE)/sizeof(TABLE[0]))

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

only message in thread, other threads:[~2023-01-05  4:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-05  4:06 [binutils-gdb] PR29963, PDP11 link produces spurious relocation truncated messages Alan Modra

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).