From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1944) id 31AC4385E001; Wed, 23 Nov 2022 14:40:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 31AC4385E001 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1669214442; bh=kU3LC8TcJsT4/iNyzTSo9qEzfmD8n5/OrFBqH/OJf+o=; h=From:To:Subject:Date:From; b=pG4ZjE0BoZS7QzyIueZJ7osuSvKinIrBP8uCe2mK16p8g8G3lmLrfFr5EUQEJZtSo 2Qlu51jn0Gp+JK9BaGpr4RQ12Z0ZTP1WlAVFXswPBeJxTNPo2DoRXpY4cgwedC88L2 s11LQDPevI/EoXNDhopv0mMKfTCKdS14sL9lNEdk= 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: 7381b20495d73dee39c1854cab76e160d228bd5a X-Git-Newrev: e5dd73fc829808b55ba1a539dcb17e8de5cdf6fe Message-Id: <20221123144042.31AC4385E001@sourceware.org> Date: Wed, 23 Nov 2022 14:40:42 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=e5dd73fc829808b55ba1a539dcb17e8de5cdf6fe commit e5dd73fc829808b55ba1a539dcb17e8de5cdf6fe 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