Test case:
        .text
        .set    noat
        sw      $2, small_data

        .comm small_data, 4

When assembler is invoked with -G4, it should assume that `small_data' will be
$GP-addressable, so `sw' expands into a single instruction, and $AT is not used.
However, the assembler complains:
$ gcc.mips64 -G 4 noat.S
noat.S: Assembler messages:
noat.S:3: Error: Macro used $at after ".set noat"

The checking of the $AT usage in this case should be postponed until relaxation
is complete.

-- 
           Summary: MIPS assembler misreports $AT usage after 'set .noat'
           Product: binutils
           Version: 2.16
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: asmundak at cisco dot com
                CC: bug-binutils at gnu dot org
GCC target triplet: mips-*-*


http://sourceware.org/bugzilla/show_bug.cgi?id=6975

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to