From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id 64E373858287; Tue, 2 Apr 2024 15:58:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 64E373858287 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1712073504; bh=WDwTwXWG//kcHpYTizg1OuEj4Utz8WpIrPovhdL3xn4=; h=From:To:Subject:Date:From; b=KMcSE42OxOW/TDx0HBtqyo/Mo5yZdnVxtIeTtOwFSfW3kilGSbrvWIjosaoYaTgs+ pSXj7QAEvY/XMifHzbL5emPGywJEUSLy4i08HWqHToA7egKyrN/HCiujK2jJrAAcKK nBtWYwqr3PGY538O50Jc+/bCjcNWHhquoJz4KSE4= 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: 198ab9602018c13d0096a42d9c4db5c691c9a1a6 X-Git-Newrev: 2f9e55a3114c0b38964e766d6b067d5f91901168 Message-Id: <20240402155824.64E373858287@sourceware.org> Date: Tue, 2 Apr 2024 15:58:24 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=2f9e55a3114c0b38964e766d6b067d5f91901168 commit 2f9e55a3114c0b38964e766d6b067d5f91901168 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 711f79084d..d1e4df03c1 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -485,11 +485,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)) @@ -958,6 +962,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 \ @@ -967,21 +980,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)) \