[PATCH] Fix Linux/sparc build after generic asm output optimizations.

Eric Botcazou ebotcazou@adacore.com
Sat Nov 12 14:18:00 GMT 2011


> Any ELF target that overrides ASM_GENERATE_INTERNAL_LABEL is at risk
> of not building any more due to the recent elfos.h changes.
>
> Those changes require that the label format generated by
> ASM_GENERATE_INTERNAL_LABEL and TARGET_ASM_INTERNAL_LABEL are in sync,
> but that is only being ensured for targets that use elfos.h as-is.

And ASM_GENERATE_INTERNAL_LABEL uses stpcpy, which isn't portable.

> Eric, it seems that most if not all of the other ELF sparc targets
> will need something like this as well but I was only able to validate
> Linux at the moment.

Aren't all ELF targets of all architectures potentially affected?

-- 
Eric Botcazou



More information about the Gcc-patches mailing list