Fragment from C:

asm (   
        "0:\n\t"
        ".fill 1,1,(1f-0b)\n\t"
        "1:"
);

a.c: Assembler messages:
a.c:4: Error: bad or irreducible absolute expression

asm (   
        "0:\n\t"
        ".rept 1\n\t"
        ".byte (1f-0b)\n\t"
        ".endr\n\t"
        "1:"
);

works

-- 
           Summary: .fill: Error: bad or irreducible absolute expression
           Product: binutils
           Version: 2.20
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: mirq-gccboogs at rere dot qmqm dot pl
                CC: bug-binutils at gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: arm-none-eabi


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

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