From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id 9B9223888C50; Thu, 28 Sep 2023 17:56:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9B9223888C50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1695923818; bh=rH2Ttp/2bsWCWMQlMGQNd0ODSIhDJN0p3IzoIJrVEjA=; h=From:To:Subject:Date:From; b=J7oOLYFBwmTJb9IX5HAiRCcyEAPUxn/IhOmnanOApTsOYtCRBiIMuL9Vi0BX4FSV1 RJplhCFPF6JB1FWhGZSgsDjzXQC5lmJtN8vO4iZJRb9vt0H5Ow6lmpZ/FJFRAnpXZr oALZwoKHSvvgDKDyc2sFUQwN1l+cORQYS3alYZks= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Adhemerval Zanella To: glibc-cvs@sourceware.org Subject: [glibc/azanella/clang] elf: Disable tst-dlopen-nodelete-reloc if compiler does not generate STB_GNU_UNIQUE X-Act-Checkin: glibc X-Git-Author: Adhemerval Zanella X-Git-Refname: refs/heads/azanella/clang X-Git-Oldrev: b1748afed7851f1206c61fb1c3a862d1a351692b X-Git-Newrev: aa1eb10cd092f4348bbd677957fbe367d970cde9 Message-Id: <20230928175658.9B9223888C50@sourceware.org> Date: Thu, 28 Sep 2023 17:56:58 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=aa1eb10cd092f4348bbd677957fbe367d970cde9 commit aa1eb10cd092f4348bbd677957fbe367d970cde9 Author: Adhemerval Zanella Date: Thu May 12 15:36:01 2022 -0300 elf: Disable tst-dlopen-nodelete-reloc if compiler does not generate STB_GNU_UNIQUE The test requires STB_GNU_UNIQUE symbols so NODELETE is propagated by do_lookup_unique. Diff: --- elf/Makefile | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/elf/Makefile b/elf/Makefile index a8d933ef43..77db83dfb2 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -472,11 +472,15 @@ tests += \ valgrind-test \ # tests tests-cxx = \ - tst-dlopen-nodelete-reloc \ tst-nodelete \ tst-unique3 \ tst-unique4 \ # tests-cxx +ifeq (yes,$(config-gnu-unique-object)) +tests-cxx += \ + tst-dlopen-nodelete-reloc \ + # tests-cxx +endif tests += $(if $(CXX),$(tests-cxx)) @@ -935,6 +939,15 @@ modules-names += \ # modules-names modules-names-cxx = \ + tst-nodelete-rtldmod \ + tst-nodelete-uniquemod \ + tst-nodelete-zmod \ + tst-unique3lib \ + tst-unique3lib2 \ + tst-unique4lib \ + # modules-names-cxx +ifeq (yes,$(config-gnu-unique-object)) +modules-names-cxx += \ tst-dlopen-nodelete-reloc-mod1 \ tst-dlopen-nodelete-reloc-mod2 \ tst-dlopen-nodelete-reloc-mod3 \ @@ -944,21 +957,8 @@ modules-names-cxx = \ tst-dlopen-nodelete-reloc-mod7 \ tst-dlopen-nodelete-reloc-mod8 \ tst-dlopen-nodelete-reloc-mod9 \ - tst-dlopen-nodelete-reloc-mod10 \ - tst-dlopen-nodelete-reloc-mod11 \ - tst-dlopen-nodelete-reloc-mod12 \ - tst-dlopen-nodelete-reloc-mod13 \ - tst-dlopen-nodelete-reloc-mod14 \ - tst-dlopen-nodelete-reloc-mod15 \ - tst-dlopen-nodelete-reloc-mod16 \ - tst-dlopen-nodelete-reloc-mod17 \ - tst-nodelete-rtldmod \ - tst-nodelete-uniquemod \ - tst-nodelete-zmod \ - tst-unique3lib \ - tst-unique3lib2 \ - tst-unique4lib \ # modules-names-cxx +endif modules-names += \ $(if $(CXX),$(modules-names-cxx)) \