bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/22859] gas seems to misassemble cmp r, $label+offset on PD


From: paulkoning at comcast dot net
Subject: [Bug binutils/22859] gas seems to misassemble cmp r, $label+offset on PDP-11 with reproducer
Date: Thu, 05 Jan 2023 00:32:36 +0000

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

Paul Koning <paulkoning at comcast dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paulkoning at comcast dot net

--- Comment #4 from Paul Koning <paulkoning at comcast dot net> ---
I don't see a misassembly here. "boing" is at address 4, so the expression
boing+1 translates to 5.

But the relocation truncated error messages are wrong; that is a case of not
following the pdp11 address arithmetic rules.  I just entered bug #29963 for
that with a proposed simple 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]