This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix LTO weakref handling without .weakref assembler support (PR target/47333)
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Richard Henderson <rth at redhat dot com>, Richard Guenther <rguenther at suse dot de>, Jan Hubicka <jh at suse dot cz>, gcc-patches at gcc dot gnu dot org
- Date: Fri, 6 Jan 2012 22:55:22 +0100
- Subject: Re: [PATCH] Fix LTO weakref handling without .weakref assembler support (PR target/47333)
- References: <20120106164139.GT18937@tyan-ft48-01.lab.bos.redhat.com>
> Hi!
>
> If as doesn't support .weakref, we handle weakrefs by
> assemble_alias setting IDENTIFIER_TRANSPARENT_ALIAS and using
> ultimate_transparent_alias_target from assemble_name.
> But for this to work, assemble_alias has to be called before
> asm for functions is emitted, not after it.
>
> Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux
> and tested with the hacked up x86_64-linux gcc without HAVE_GAS_WEAKREF
> in auto-host.h on the testcase.
>
> Ok for trunk?
OK,
thanks!
Honza