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: "Jan Beulich" <JBeulich at novell dot com>
- To: <ian at wasabisystems dot com>
- Cc: <binutils at sources dot redhat dot com>
- Date: Wed, 06 Oct 2004 17:44:36 +0200
- Subject: Re: [PATCH] make macro-generated local labels truely local
I don't think so, because this would either prevent it from being output
with -L altogether or result in an unreadable symbol.
Jan
>>> Ian Lance Taylor <ian@wasabisystems.com> 06.10.04 17:31:42 >>>
"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