diff options
| author | Saurabh Jha <saurabh.jha@arm.com> | 2026-03-12 11:57:26 +0000 |
|---|---|---|
| committer | Saurabh Jha <saurabh.jha@arm.com> | 2026-03-13 15:58:11 +0000 |
| commit | c6bb3a81db8bffd6df748b844904d3e3a9cea8a0 (patch) | |
| tree | 68f985c44a034d3ac9c9aa3f8ef78017a95add05 /lto-plugin | |
| parent | 5cd67ad869200ed2966032fdb8b263580c351b91 (diff) | |
| download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 | |
Windows platforms do not support the default procedure calling standard,
AAPCS64. So _ARM_PCS_AAPCS64 should not be set for Windows targets.
This fixes the setting of __ARM_PCS_AAPCS64 by making it conditional on
non-Windows targets.
PR target/122953
gcc/ChangeLog:
* config/aarch64/aarch64-c.cc
(TARGET_AARCH64_MS_ABI): Explicitly set it to 0 if not on mingw.
(aarch64_define_unconditional_macros): Remove __ARM_PCS_AAPCS64
from here.
(aarch64_update_cpp_builtins): Define __ARM_PCS_AAPCS64 if not
on Windows ABI.
---
Hey,
Regression tested on aarch64-linux-gnu and found no regressions.
Built for arch64-w64-mingw32, ran target dependent tests, and
found no regressions.
Ok for master?
Thanks,
Saurabh
Diffstat (limited to 'lto-plugin')
0 files changed, 0 insertions, 0 deletions
