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

            Bug ID: 23481
           Summary: pdp11-aout: @Rn and (Rn) should both be Register
                    Deferred
           Product: binutils
           Version: 2.31
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: cptjustice at gmail dot com
  Target Milestone: ---
            Target: pdp11-aout

Created attachment 11159
  --> https://sourceware.org/bugzilla/attachment.cgi?id=11159&action=edit
Fixes incorrect output for @Rn and eliminates unnecessary return statements

Currently, @Rn produces relative address deferred instead of register deferred
according to a number of PDP-11 handbooks.

00000000 <.text>:
   0:   1009            mov     r0, (r1)
   2:   103f fffa       mov     r0, *$0x0

The include patch fixes this issue.

It also eliminates a couple of unnecessary early return statements in the
parse_reg function.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to