Hello, Ping for part of the changes last proposed here:
https://gcc.gnu.org/ml/gcc-patches/2018-11/msg00761.html Submitted separately as an attempt to facilitate the review process. This piece is the change of static chain from r18 to r11. Regression testing with languages=all on an aarch64-linux box uncovered (various go related test failures) that libffi needs a synchronized adjustment. This is the updated version of the patch, so bootstrapped and regression tested clean on aarch64-linux. OK to commit ? Thanks in advance! With Kind Regards, Olivier 2018-12-12 Olivier Hainque <hain...@adacore.com> gcc/ * config/aarch64/aarch64.h (STATIC_CHAIN_REGNUM): Use R11 instead of R18. gcc/testsuite/ * gcc.dg/cwsc1.c: Expect r11 as the static chain on aarch64. libffi/ * src/aarch64/sysv.S (ffi_call_SYSV): Expect r11 as the static chain. (ffi_go_closure_SYSV): Likewise. * testsuite/libffi.go/static-chain.h: Likewise.
0003-Change-static-chain-from-r18-to-r11-on-aarch64.patch
Description: Binary data