powerpc64 linux dot symbols

Jakub Jelinek jakub@redhat.com
Mon Aug 16 11:49:00 GMT 2004


On Tue, Aug 10, 2004 at 08:01:41PM +0930, Alan Modra wrote:
> New
> 
> function call:		bl foo
> descriptor sym:		foo, type=function, size=<function code size>
> entry sym:		.LEfoo local sym (won't appear in object)
> descriptor:		.quad .LEfoo, .TOC.@tocbase, 0

IMHO we shouldn't be using .LEfoo, because GCC uses e.g. .LEHB*,
.LEHE*, .LECIE*, .LEFDE*, .LELTP* etc. labels.
This would mean that we are in trouble with functions like
CIE10 (), B26 () etc.
We could use e.g. .LYfoo, .LE.foo, etc.

> +	    ASM_OUTPUT_INTERNAL_LABEL_PREFIX (file, "LE");

ASM_OUTPUT_INTERNAL_LABEL_PREFIX (file, "LY");
or
ASM_OUTPUT_INTERNAL_LABEL_PREFIX (file, "LE.");

	Jakub



More information about the Gcc-patches mailing list