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.