From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::229]) by sourceware.org (Postfix) with ESMTPS id D61803858C52 for ; Tue, 27 Sep 2022 18:05:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D61803858C52 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=otheo.eu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=otheo.eu Received: (Authenticated sender: #01#@otheo.eu) by mail.gandi.net (Postfix) with ESMTPSA id 50FBBFF803 for ; Tue, 27 Sep 2022 18:05:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=otheo.eu; s=gm1; t=1664301913; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=97NyNNBCv8+bHJcs0+GMjcTiTSMbkhA+/jJ/wrRMH9w=; b=jNjpvIkQibU2QpT8m5vl5X2iJ0C2RdrI2woo6j8QPs5SMQfvzqU2tMIyApRBXbavBjCW5X Vtn7y3WT4drvM4My7Jbv5cNkIN/vqbGNm68M6i0tOSZ1DAqBkNFWiaGYw+qR6Vvaxud56A CgecPnk1Hj8Wrc+Oqh6V/kinm63pvJcFLGmyb1SqEI84mgwQT28TyySi6QGD+Vjor5UiZi qhEqqbP5R5kgHCs/C0nwbb8H22l5Q4PGAKz0hSdvn9ZGJU/nMPQ1RcwmN+uNnF2tE80P0b O7RLzynG/0AoIZRmx+xjmQO4JjMscV9LPFurEEdfjHTdDZyj9zePpCBP1AeEcw== Date: Tue, 27 Sep 2022 20:05:15 +0200 From: Javier Pello To: libc-alpha@sourceware.org Subject: [PATCH v3 1/8] x86_64: Remove platform directory library loading test Message-Id: <20220927200515.8749a18ef6f13beede3f1a60@otheo.eu> In-Reply-To: <20220927200352.0424a12908a437fef9d3a7bc@otheo.eu> References: <20220905200652.d69204581d15c64647da5cd2@otheo.eu> <87h71l9crb.fsf@oldenburg.str.redhat.com> <20220906201207.e7b3d08272af5649754e76b1@otheo.eu> <87h71i6rfa.fsf@oldenburg.str.redhat.com> <20220914200724.8e685fbbaf441c96d19011c6@otheo.eu> <20220917161748.2b76e1731a27eb78880ee57c@otheo.eu> <20220927200352.0424a12908a437fef9d3a7bc@otheo.eu> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,JMQ_SPF_NEUTRAL,KAM_SHORT,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS,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 List-Id: This was to test loading of shared libraries from platform subdirectories, but this functionality is going away in the following commits. Signed-off-by: Javier Pello --- sysdeps/x86_64/Makefile | 16 ---------------- sysdeps/x86_64/tst-x86_64-1.c | 26 -------------------------- sysdeps/x86_64/tst-x86_64mod-1.c | 22 ---------------------- 3 files changed, 64 deletions(-) delete mode 100644 sysdeps/x86_64/tst-x86_64-1.c delete mode 100644 sysdeps/x86_64/tst-x86_64mod-1.c diff --git a/sysdeps/x86_64/Makefile b/sysdeps/x86_64/Makefile index c19bef2d..3627c565 100644 --- a/sysdeps/x86_64/Makefile +++ b/sysdeps/x86_64/Makefile @@ -57,17 +57,6 @@ $(objpfx)tst-quad2pie: $(objpfx)tst-quadmod2pie.o CFLAGS-tst-quad1pie.c = $(PIE-ccflag) CFLAGS-tst-quad2pie.c = $(PIE-ccflag) -tests += tst-x86_64-1 -modules-names += x86_64/tst-x86_64mod-1 -extra-test-objs += tst-x86_64mod-1.o -LDFLAGS-tst-x86_64mod-1.so = -Wl,-soname,tst-x86_64mod-1.so -ifneq (no,$(have-tunables)) -# Test the state size for XSAVE when XSAVEC is disabled. -tst-x86_64-1-ENV = GLIBC_TUNABLES=glibc.cpu.hwcaps=-XSAVEC -endif - -$(objpfx)tst-x86_64-1: $(objpfx)x86_64/tst-x86_64mod-1.so - ifneq (no,$(have-tunables)) tests += tst-platform-1 modules-names += tst-platformmod-1 x86_64/tst-platformmod-2 @@ -208,11 +197,6 @@ tests += \ tst-rsi-wcslen endif -$(objpfx)x86_64/tst-x86_64mod-1.os: $(objpfx)tst-x86_64mod-1.os - $(make-target-directory) - rm -f $@ - ln $< $@ - do-tests-clean common-mostlyclean: tst-x86_64-1-clean .PHONY: tst-x86_64-1-clean diff --git a/sysdeps/x86_64/tst-x86_64-1.c b/sysdeps/x86_64/tst-x86_64-1.c deleted file mode 100644 index 550439e5..00000000 --- a/sysdeps/x86_64/tst-x86_64-1.c +++ /dev/null @@ -1,26 +0,0 @@ -/* Test searching the "x86_64" directory for shared libraries. - Copyright (C) 2017-2022 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, see - . */ - -extern void foo (void); - -int -main (void) -{ - foo (); - return 0; -} diff --git a/sysdeps/x86_64/tst-x86_64mod-1.c b/sysdeps/x86_64/tst-x86_64mod-1.c deleted file mode 100644 index a80458c4..00000000 --- a/sysdeps/x86_64/tst-x86_64mod-1.c +++ /dev/null @@ -1,22 +0,0 @@ -/* Test searching the "x86_64" directory for shared libraries. - Copyright (C) 2017-2022 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, see - . */ - -void -foo (void) -{ -} -- 2.37.3