bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/29963] New: PDP11 link produces spurious relocation truncated me


From: paulkoning at comcast dot net
Subject: [Bug ld/29963] New: PDP11 link produces spurious relocation truncated messages
Date: Wed, 04 Jan 2023 22:28:50 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=29963

            Bug ID: 29963
           Summary: PDP11 link produces spurious relocation truncated
                    messages
           Product: binutils
           Version: 2.41 (HEAD)
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: paulkoning at comcast dot net
  Target Milestone: ---

Created attachment 14555
  --> https://sourceware.org/bugzilla/attachment.cgi?id=14555&action=edit
Reproducer source file

In some large programs "relocation truncated" errors appear.  It turns out the
PDP11 linker asks for signed overflow checking, which is not correct because
PDP11 addresses are unsigned.  Unsigned checking is not correct either because
wrap is valid in certain cases.  The DEC linker does 16 bit relocation
arithmetic with silent wrapping, and ld should do likewise.

Attached: reproducer and patch.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]