This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] make macro-generated local labels truely local
- From: Ian Lance Taylor <ian at wasabisystems dot com>
- To: "Jan Beulich" <JBeulich at novell dot com>
- Cc: <binutils at sources dot redhat dot com>
- Date: 06 Oct 2004 11:31:42 -0400
- Subject: Re: [PATCH] make macro-generated local labels truely local
- References: <s163c66e.005@emea1-mh.id2.novell.com>
"Jan Beulich" <JBeulich@novell.com> writes:
> When using the LOCAL macro directive (in alternate macro mode) all the
> symbols generated were made visible in the object's symbol table.
> These
> should, however, be treated the same as other local symbols, and since
> their recognition is name dependent for ELF they should have names
> recognizable by _bfd_elf_is_local_label_name.
>
> Build and tested on i686-pc-linux-gnu.
>
> gas/
> 2004-10-06 Jan Beulich <jbeulich@novell.com>
>
> * macro.c (macro_expand_body): When ELF, use .LL rather than LL
> as
> prefix for symbol names generated from the LOCAL macro
> directive.
Perhaps we should just use symbol_temp_make()?
Ian