This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
RE: gas .L labels
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'Amit Kale'" <amitkale at linsyssoft dot com>, <binutils at sourceware dot org>
- Date: Wed, 11 Jan 2006 10:57:19 -0000
- Subject: RE: gas .L labels
Amit Kale wrote:
> Hi,
>
> I found that labels begining with .L don't appear in the symbols exported
> from an assembly file (found via objdump -t). Other labels are exported
> even if they are not declared .globl
>
> I didn't find any documentation for this feature.
See the section on "Include Local Labels" (2.6) in the gas manual.
> Is this how it was designed?
Yep.
> I would also like to know if there are other ways of making
> labels local.
See the section on "Symbol Names" (5.3) in the gas manual.
cheers,
DaveK
--
Can't think of a witty .sigline today....