LTO & aarch64
Richard Earnshaw (lists)
Richard.Earnshaw@arm.com
Wed May 31 13:32:00 GMT 2017
On 27/05/17 14:39, John Pullen wrote:
> Hi all,
>
> I'm using the latest GCC 7.1 source which I've built locally for
> aarch64. Everything works fine, but I'm running into issuses using LTO.
>
> Normally I compile our dynamic library with -ffixed-x18 and it works
> fine, but with LTO enabled, register x18 is used in the output assembler.
>
> Is there anyway to stop LTO from using certain registers?
>
Are you passing -ffixed-x18 to the link/lto step?
R.
> Cheers,
> John.
>
More information about the Gcc-help
mailing list