Dave Korn wrote:
> For the declaration
>
>> int xxx(void) __asm__("_" "xxx");
>
> DECL_ASSEMBLER_NAME returns "*_xxx".
>
> I see that other parts of LTO are aware of this problem:
>
>> /* FIXME lto: this is from assemble_name_raw in varasm.c. For some
>> architectures we might have to do the same name manipulations that
>> ASM_OUTPUT_LABELREF does. */
>> if (name[0] == '*')
>> name = &name[1];
>
> ... so is there an overarching plan to clean this up, or should I just try
> copy'n'pasting the same workaround into produce_asm()?
To avoid any wasted or duplicated effort, I'll just mention that I'm
preparing a patch along these lines, but it'll probably be after christmas by
the time I send it in.
cheers,
DaveK