I built cross gas for arm linux with binutils-2.16.92. The configure is below.

binutils-2.16.92/configure --target=arm-iwmmxt-linux-gnueabi --host=i686-
host_pc-linux-gnu --prefix=/usr/local/arm-iwmmxt-linux-gnueabi --disable-nls --
with-sysroot=/usr/local/arm-iwmmxt-linux-gnueabi/arm-iwmmxt-linux-gnueabi

% cat t.s
    .text
    .align 4

    .macro test label
    BNE                 \label.aaa
    B                   \label
\label.aaa:
\label:
    .endm

    test        a
    test        b


% arm-iwmmxt-linux-gnueabi-as t.s
t.s: Assembler messages:
t.s: Assembler messages:
t.s:11: Error: bad expression -- `bne \label.aaa'
t.s:11: Error: junk at end of line, first unrecognized character is `\'
t.s:12: Error: bad expression -- `bne \label.aaa'
t.s:12: Error: junk at end of line, first unrecognized character is `\'

-- 
           Summary: gas cannot recognize combination of macro parameter with
                    string
           Product: binutils
           Version: 2.16
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: mingqiao dot wu at gmail dot com
                CC: bug-binutils at gnu dot org
 GCC build triplet: Fedora Core 2
  GCC host triplet: Fedora Core 2
GCC target triplet: iwmmxt


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

------- 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