diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-04-26 15:29:04 +0100 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-11-22 14:31:25 +0000 |
commit | e5dd73fc829808b55ba1a539dcb17e8de5cdf6fe (patch) | |
tree | 05e2f591c0c2b60c2133053a49931ae8ea2daf40 /sysdeps | |
parent | 7381b20495d73dee39c1854cab76e160d228bd5a (diff) | |
download | glibc-e5dd73fc829808b55ba1a539dcb17e8de5cdf6fe.tar.gz glibc-e5dd73fc829808b55ba1a539dcb17e8de5cdf6fe.tar.xz glibc-e5dd73fc829808b55ba1a539dcb17e8de5cdf6fe.zip |
aarch64: morello: Use separate lp64 and morello sysdep directories
Provide separate directories for lp64 and purecap abi related sysdep functionality. purecap may be better name than morello, but we started with morello and that is more future compatible with alternative cheri-like extensions on top of aarch64.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/aarch64/preconfigure | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sysdeps/aarch64/preconfigure b/sysdeps/aarch64/preconfigure index d9bd1f8558..4d9d137622 100644 --- a/sysdeps/aarch64/preconfigure +++ b/sysdeps/aarch64/preconfigure @@ -1,6 +1,11 @@ case "$machine" in aarch64*) base_machine=aarch64 - machine=aarch64 + if $CC $CFLAGS $CPPFLAGS -E -dM -xc /dev/null | grep -q __CHERI_PURE_CAPABILITY__ + then + machine=aarch64/morello + else + machine=aarch64/lp64 + fi ;; esac |