This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Attachment: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]