This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: symbol encoding cleanup plan
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>, <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 31 Aug 2002 13:40:35 -0400 (EDT)
- Subject: Re: symbol encoding cleanup plan
On Sat, 31 Aug 2002, Richard Henderson wrote:
> The hope, however, is that ASM_OUTPUT_LABELREF is exactly
> fputs for all targets. The only kink I see might be ia64
> and its desire to add '#' after label uses. Oh, not sure
> what mmix is doing here either.
It's outputting global symbols (references and definitions)
prefixed with ":" if -mtoplevel-symbols and trying to coexist
with the "*" prefix being there (SYMBOL_REF_FLAG is taken;
controls what instructions load the address). To wit, I think
another SYMBOL_REF_FLAG would do nicely.
brgds, H-P