From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1944) id 1278A3865C1F; Wed, 26 Oct 2022 15:12:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1278A3865C1F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1666797134; bh=z6A+ZdzvpRXKGQJJqvkp653geu6QD6bvo3MHHa6Ig3k=; h=From:To:Subject:Date:From; b=WX/3qOkHZrjn81Ncg5pQnCMVia+t8WGIFhMuv9gO8MzvP0idenh18i2Uw394CVckH uqQErJXiE2rtzSlHQVnfzYR4v/Q4gQ3BybwrgrTDJpga7laK52czN2WVgtoxeUgjkh jEjVpXvxYaQKnFT/QCV9+pqY6euFWP6R2amQzRpY= 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: 58d06ce216e778c9af7426e19fa0aa7ec2e2c64c X-Git-Newrev: 503703f1b668ce23322bf38678579954c9cef74a Message-Id: <20221026151214.1278A3865C1F@sourceware.org> Date: Wed, 26 Oct 2022 15:12:14 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=503703f1b668ce23322bf38678579954c9cef74a commit 503703f1b668ce23322bf38678579954c9cef74a 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