From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1944) id 129DE3857C58; Fri, 5 Aug 2022 19:30:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 129DE3857C58 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: 570f6858b7a0c809a2480fbbfcd9f667a0bffd74 X-Git-Newrev: 4fc40722403a0e88a35764b676819cba3a0e821c Message-Id: <20220805193026.129DE3857C58@sourceware.org> Date: Fri, 5 Aug 2022 19:30:26 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Aug 2022 19:30:26 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=4fc40722403a0e88a35764b676819cba3a0e821c commit 4fc40722403a0e88a35764b676819cba3a0e821c 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