From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1944) id B6D973851152; Thu, 27 Oct 2022 13:50:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B6D973851152 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1666878648; bh=j9wGylt77sjHXOn+cFd4wsTFKOxeHHne96Z+BOjNBLA=; h=From:To:Subject:Date:From; b=hl940dovUXvuc9WlRmDK3I1sLRU6EhSrCP+b1Nna0R/NLmZ2Qv5SSjMBIrHRLkHQP kpEizO5m7nrtJs7yRJwftZJEO2KhqIzszIPJYjgF7iWGMGFY1qpNG7ZcTbjv2bZDVI CKtEpqaGdJmGCUwlnk5whP8hGJ6bl/PVXLWso2XE= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Szabolcs Nagy To: glibc-cvs@sourceware.org Subject: [glibc/arm/morello/main] aarch64: morello: Use separate lp64 and morello sysdep directories X-Act-Checkin: glibc X-Git-Author: Szabolcs Nagy X-Git-Refname: refs/heads/arm/morello/main X-Git-Oldrev: ba6ab14e645b5231aca538b0bffd2faf0a6408a8 X-Git-Newrev: 6b468c97cb5c04844a1787a2b229c122b291601b Message-Id: <20221027135048.B6D973851152@sourceware.org> Date: Thu, 27 Oct 2022 13:50:48 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=6b468c97cb5c04844a1787a2b229c122b291601b commit 6b468c97cb5c04844a1787a2b229c122b291601b Author: Szabolcs Nagy Date: Tue Apr 26 15:29:04 2022 +0100 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. Diff: --- sysdeps/aarch64/preconfigure | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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