[PATCH] make macro-generated local labels truely local
Ian Lance Taylor
ian@wasabisystems.com
Wed Oct 6 15:32:00 GMT 2004
"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
More information about the Binutils
mailing list