'dollar local labels' in GAS do not appear to be implemented

Mike Frysinger vapier@gentoo.org
Tue May 5 02:46:00 GMT 2015


On 04 May 2015 11:48, Andreas Schwab wrote:
> Somchai Smythe <buraphalinuxserver@gmail.com> writes:
> > I cannot get 'dolloar local labels' that are described in the GNU
> > assembly manual to work.
> 
> Support for dollar labels is target dependent.

https://sourceware.org/binutils/docs/as/Symbol-Names.html

the intro section does note that it's machine dependent, but the section that 
discusses them in detail does not.  if you're scanning headers, you could easily 
miss that caveat.  guess we propagate that note down.

Somchai: you can just use local labels instead -- those should work on every 
target.  see the aforementioned page under "Local Labels".  same goes for the .L 
labels if you want names vs simple "1f" and "1b" names.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://sourceware.org/pipermail/binutils/attachments/20150505/ab143659/attachment.sig>


More information about the Binutils mailing list