From patchwork Mon Sep 23 12:28:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Kozlov X-Patchwork-Id: 1988580 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=synopsys.com header.i=@synopsys.com header.a=rsa-sha256 header.s=pfptdkimsnps header.b=lyek52Bq; dkim=pass (2048-bit key; unprotected) header.d=synopsys.com header.i=@synopsys.com header.a=rsa-sha256 header.s=mail header.b=S8A3uJi1; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XC2Qv6890z1xsM for ; Mon, 23 Sep 2024 22:31:03 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8AF6E3858C3A for ; Mon, 23 Sep 2024 12:31:01 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mx0b-00230701.pphosted.com (mx0b-00230701.pphosted.com [148.163.158.9]) by sourceware.org (Postfix) with ESMTPS id 489CB3858C50 for ; Mon, 23 Sep 2024 12:30:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 489CB3858C50 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=synopsys.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=synopsys.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 489CB3858C50 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=148.163.158.9 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1727094629; cv=none; b=nWXGtIdcWK1za6OMkA7bBlV1cE9YHF/UVWdx5c7jDvN4WQ6R/TvcfqYLxk6NGcMksMqoycIDu+X2CASv7h0k1pYa/XITdhdVZ9KZX+I3sa5kBpnrG9Anq/sDd+RN54HGzCdEZO26XWlG2l7tfbuLrYEmUwrSKic5TGrO0dhsbQQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1727094629; c=relaxed/simple; bh=jv/ZwUQtt5wnNQok6g4ZHI+hurRM2z7eHp29sAcIB2Q=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-Id: MIME-Version; b=OjVBTezfdnC9bzpqVuCEy10JNa7oFWxxX9Ua/GBBvxOZgBl3QszHyewf1UKDdUciKvWwTNNjNawuLKoN+z/psqiIMtr3SNmVefAEGPbfL4XPe5cMogKZrBVzSTpBo84YMwx9WzdAJPGpxYU4qeScUFmiFTPfPmUiOhOUGE9+3fY= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from pps.filterd (m0297265.ppops.net [127.0.0.1]) by mx0a-00230701.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 48NAK4h8023346; Mon, 23 Sep 2024 05:30:16 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=synopsys.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=pfptdkimsnps; bh=TKT0GotY qyhU/zRSfRZEKAqBcxxeBP5jzT4fQ8PAi7U=; b=lyek52BqhZEzDxd0VcgCQX+n 2QqrBqIMV6u/WXqDaEmAfNMDBv5LIp7oTXJymiqw6cqoqY+P9D99s12xfFhzKQ2Z YFA9PHbit0kg/zeLf8HAbJlqUW3TAouoxf9XsUsHDyiGW8jYLbpMCThxEwcTiOt4 IU+LCe/4OYrE6IzPZ+aBCQImMH9XgHJogurlirWU6tphBcfyYX0bPVDm9JjJQfYQ +HygbXj0wznloiwM3DRRbBgY2PzreaYndSqa9JW+hr3e422HGsMoXxopFPnu4o83 2KAxwLaLuWsM2kmbLAnrtOkpR4EICSLjn/KAkcjVP+m0LsYrrfAu451pc//J8Q== Received: from smtprelay-out1.synopsys.com (smtprelay-out1.synopsys.com [149.117.87.133]) by mx0a-00230701.pphosted.com (PPS) with ESMTPS id 41sw2yrfr4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 23 Sep 2024 05:30:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1727094614; bh=jv/ZwUQtt5wnNQok6g4ZHI+hurRM2z7eHp29sAcIB2Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=S8A3uJi1Pnafb8reLZdpc3iuunkjccbT7oHyjBPfNVzcpgTslTLmzsq8BcUYsQohB q1WoU4H5qv1eRb5uz9LigC+HMh8G/KhWFzhGjnh5DBlKtJQVA50y0gdoK+dD1PJAKV 8yP1bhrQFhUTTrrFLPNQBo6xLFMnTyX9cAN8Eg/qY14XVN+VX1oTGgNptjo43O6+yd Gcfp2jr5uL1s5e7KRQK489dA13YN5ZX1LBjHVqnHtMl0wdNnxSsqDq/mf1V9Tdgfed QM7I5a+wPkWs07E7ERtCKBPviGFZ05Z/BlSYMk8kW6rTrcOIzyBHvrlH0jzwWTHnkD w/gpSSKCs6/Kg== Received: from mailhost.synopsys.com (sv1-mailhost2.synopsys.com [10.205.2.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) client-signature RSA-PSS (2048 bits)) (Client CN "mailhost.synopsys.com", Issuer "SNPSica2" (verified OK)) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id 8DB2E4048F; Mon, 23 Sep 2024 12:30:13 +0000 (UTC) Received: from SNPS-zbAKYaxSCb.internal.synopsys.com (snps-zbakyaxscb.internal.synopsys.com [10.107.19.111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client did not present a certificate) by mailhost.synopsys.com (Postfix) with ESMTPSA id BDF2BA006D; Mon, 23 Sep 2024 12:30:11 +0000 (UTC) X-SNPS-Relay: synopsys.com From: Pavel Kozlov To: libc-alpha@sourceware.org Cc: Florian Weimer , Vineet Gupta , Alexey Brodkin , Luis Manuel Silva , Pavel Kozlov Subject: [PATCH v2] arc: Cleanup arcbe Date: Mon, 23 Sep 2024 13:28:52 +0100 Message-Id: <20240923122852.2606010-1-kozlov@synopsys.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <45f362f437df67b60e16cb45f781519c68531cf3.1726676118.git.fweimer@redhat.com> References: <45f362f437df67b60e16cb45f781519c68531cf3.1726676118.git.fweimer@redhat.com> MIME-Version: 1.0 X-Authority-Analysis: v=2.4 cv=Iu1Mc6/g c=1 sm=1 tr=0 ts=66f15f57 cx=c_pps a=t4gDRyhI9k+KZ5gXRQysFQ==:117 a=t4gDRyhI9k+KZ5gXRQysFQ==:17 a=EaEq8P2WXUwA:10 a=qPHU084jO2kA:10 a=jIQo8A4GAAAA:8 a=csN3oHfEJz1CHNQTLXoA:9 a=Lf5xNeLK5dgiOs8hzIjU:22 X-Proofpoint-ORIG-GUID: 0jOWGoX3xfd_M4-jymK_p8hIEmLKu_u4 X-Proofpoint-GUID: 0jOWGoX3xfd_M4-jymK_p8hIEmLKu_u4 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_active_cloned_notspam policy=outbound_active_cloned score=0 malwarescore=0 clxscore=1015 suspectscore=0 bulkscore=0 spamscore=0 lowpriorityscore=0 priorityscore=1501 phishscore=0 adultscore=0 mlxscore=0 mlxlogscore=999 impostorscore=0 classifier=spam authscore=0 adjust=0 reason=mlx scancount=1 engine=8.19.0-2408220000 definitions=main-2409230092 X-Spam-Status: No, score=-11.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org From: Pavel Kozlov Remove the mention of arcbe ABI to avoid any mislead. ARC big endian ABI is no longer supported. Reviewed-by: Florian Weimer --- This is an addition to the original patch series by Florian Weimer "scripts: Remove arceb-linux-gnu from build-many-glibcs.py" This patch offers extra arcbe cleanups to be applied after the original patch. Tested for arc with build-many-glibcs.py. sysdeps/arc/bits/endianness.h | 8 ++------ sysdeps/arc/configure | 2 +- sysdeps/arc/configure.ac | 2 +- sysdeps/unix/sysv/linux/arc/Makefile | 9 --------- 4 files changed, 4 insertions(+), 17 deletions(-) diff --git a/sysdeps/arc/bits/endianness.h b/sysdeps/arc/bits/endianness.h index 8f17ca84b485..4a6e7d4c1579 100644 --- a/sysdeps/arc/bits/endianness.h +++ b/sysdeps/arc/bits/endianness.h @@ -5,11 +5,7 @@ # error "Never use directly; include instead." #endif -/* ARC has selectable endianness. */ -#ifdef __BIG_ENDIAN__ -# define __BYTE_ORDER __BIG_ENDIAN -#else -# define __BYTE_ORDER __LITTLE_ENDIAN -#endif +/* Only little-endian ARC is supported. */ +#define __BYTE_ORDER __LITTLE_ENDIAN #endif /* bits/endianness.h */ diff --git a/sysdeps/arc/configure b/sysdeps/arc/configure index 66d5fadcddb2..b4192983bf37 100644 --- a/sysdeps/arc/configure +++ b/sysdeps/arc/configure @@ -10,7 +10,7 @@ libc_cv_asm_line_sep='`' printf "%s\n" "#define ASM_LINE_SEP $libc_cv_asm_line_sep" >>confdefs.h -# For big endian ABI, generate a symbol for selecting right dynamic linker +# ARC big endian ABI is no longer supported. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep -e" >&5 diff --git a/sysdeps/arc/configure.ac b/sysdeps/arc/configure.ac index 4d79ccb00da6..48dc6f5b9b13 100644 --- a/sysdeps/arc/configure.ac +++ b/sysdeps/arc/configure.ac @@ -9,7 +9,7 @@ libc_cv_have_sdata_section=no libc_cv_asm_line_sep='`' AC_DEFINE_UNQUOTED(ASM_LINE_SEP, $libc_cv_asm_line_sep) -# For big endian ABI, generate a symbol for selecting right dynamic linker +# ARC big endian ABI is no longer supported. AC_CACHE_CHECK([for big endian], [libc_cv_arc_be], [AC_EGREP_CPP(yes,[#ifdef __BIG_ENDIAN__ diff --git a/sysdeps/unix/sysv/linux/arc/Makefile b/sysdeps/unix/sysv/linux/arc/Makefile index eca9a9fd3a55..dd3da52c394c 100644 --- a/sysdeps/unix/sysv/linux/arc/Makefile +++ b/sysdeps/unix/sysv/linux/arc/Makefile @@ -11,12 +11,3 @@ ifeq ($(subdir),misc) sysdep_headers += sys/cachectl.h sysdep_routines += cacheflush endif - -abi-variants := arcle arcbe - -ifeq (,$(filter $(default-abi),$(abi-variants))) -$(error Unknown ABI $(default-abi), must be one of $(abi-variants)) -endif - -abi-arcle-condition := !defined __BIG_ENDIAN__ -abi-arcbe-condition := defined __BIG_ENDIAN__