[PATCH] Add -ffixed-18 on AArch64

Renato Golin renato.golin at linaro.org
Sun Jan 25 15:01:19 PST 2015


Hi Andrew,

Looks good to me. Tim, did you have another use in mind?

cheers,
--renato

On 22 January 2015 at 14:06, Andrew Turner <andrew at fubar.geek.nz> wrote:
> The attached patch allows clang to have llvm reserve the x18
> platform register on AArch64. FreeBSD will use this in the kernel for
> per-cpu data but has no need to reserve this register in userland so
> will need this flag to reserve it.
>
> This uses llvm r226664 to allow this register to be reserved.
>
> Andrew
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>



More information about the cfe-commits mailing list