Cite:

"Dollar labels are defined in exactly the same way as ordinary local labels,
except that instead of being terminated by a colon, they are terminated by a
dollar sign (for example, 55$)."

This is not true. You have to put colon after '$' and you have to put '$' when
referencing this label as well.

For example:

label:
 nop
55$: nop
 bra 55$

label2:
 nop
55$: bop
 bra 55$

is the only way how to use dollar local labels. Even when gas is configured as
allowing labels with no colon, I have to use colons here.

-- 
           Summary: GNU as manual / GNU as itself is incorrect about dollar
                    local labels
           Product: binutils
           Version: 2.18
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: miro dot kropacek at gmail dot com
                CC: bug-binutils at gnu dot org


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

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