This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Hot/cold partitioning fixes
- From: Caroline Tice <ctice at apple dot com>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: "Zagorodnev, Grigory" <grigory dot zagorodnev at intel dot com>, gcc-patches at gcc dot gnu dot org, Richard Henderson <rth at redhat dot com>
- Date: Fri, 1 Apr 2005 16:11:38 -0800
- Subject: Re: [PATCH] Hot/cold partitioning fixes
- References: <F92C2EFE7C3BA745855BF7036E1F3F9AADBA56@NNSMSX401> <87wtrmhwrk.fsf@codesourcery.com>
On Apr 1, 2005, at 4:01 PM, Zack Weinberg wrote:
Oh dear. Those aren't local labels.
Caroline: among other things, you need to prepend LOCAL_LABEL_PREFIX
to these symbol names so that the assembler knows not to put them into
the symbol table. (Between this and the AIX mess, it occurs to me
that it might be better to stop trying to relate the symbol names to
the name of the function; generate them with
ASM_GENERATE_INTERNAL_LABEL
and attach them to the DECL somehow.)
zw
That's exactly what I'm in the process of doing. :-)
-- Caroline
ctice@apple.com