bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/6878] '% found after symbol for non-H-TICK-HEX tokens


From: dj at redhat dot com
Subject: [Bug gas/6878] '% found after symbol for non-H-TICK-HEX tokens
Date: 18 Sep 2008 16:45:35 -0000

------- Additional Comments From dj at redhat dot com  2008-09-18 16:45 -------
Subject: Re:  '% found after symbol for non-H-TICK-HEX tokens


The warning is for people who use the ' character without realizing
exactly how it will work.  It does not do what most people expect,
unless they've carefully read the documentation.  For example, the
string hello'there gets converted to hello116here, which is rarely
useful, and thus should generate a warning.

It's more useful like this:

        .byte   'h, 0x07, '$, 0x0a

Where there would be no warning anyway.

Ports that support h' hex use it like this:

        .byte   H'07, H'FE, H'0A


-- 


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

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