bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/6944] New: GNU as manual / GNU as itself is incorrect about dol


From: miro dot kropacek at gmail dot com
Subject: [Bug gas/6944] New: GNU as manual / GNU as itself is incorrect about dollar local labels
Date: 5 Oct 2008 15:48:43 -0000

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]