From patchwork Mon Dec 13 17:55:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 1567437 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=tJH5Qtzn; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4JCTkB75MQz9sRN for ; Tue, 14 Dec 2021 04:57:38 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B3DDA3858438 for ; Mon, 13 Dec 2021 17:57:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B3DDA3858438 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1639418256; bh=okF5hjsdgTDXaybFgiu4n7f51cc+Ughbv7McQAj10eU=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=tJH5QtznqGrkNsFjV4gIUEzdFed1wk1dlO0AYrMok8mQPOc8PZxP+36Z+pQIkraEk ulDUaqeJ+FXSCKmBPKigUJ+I/ub/FugbxsF+HgpF57WE3PyTu7QnZKqxvf19q7OCdx 4DLVjzzX8oNmBm11pVfiB1HpZZn9a2Rf3IeayjQ8= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by sourceware.org (Postfix) with ESMTPS id C70423858414 for ; Mon, 13 Dec 2021 17:55:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C70423858414 Received: by mail-pj1-x1030.google.com with SMTP id iq11so12410761pjb.3 for ; Mon, 13 Dec 2021 09:55:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=okF5hjsdgTDXaybFgiu4n7f51cc+Ughbv7McQAj10eU=; b=4qk35+9HZcPJxpDrF+cfBLUPuWXUIxpYsX2KSCL33Wot4CO/WsA9neCykohaiCU+iR nLWxYqo0Ic1Y8hl9AKLkRtP/RyTlRGp5OFtk9Z1WmIai5dm1kg1lAAqfqWdEYx1QzvF1 A7TFGTAk5oNPolOdmM+hwKmrFtSm1VTEP9TO8llmyawjdhg5t53rmjoSNTJ5B15vtFk5 EnrGnGhqjLOGCPxDLH0PkDrW9jZKc2fe4ustob9F+XgzCNfDxx6cYRC3i3ATuAaLX+OR WReZTc3yRUDcvsrkyRzPdBKylrBDesSC/CTViUB3rpHYY9gKjryI4XYPykJMNR3ig0nK 9D7A== X-Gm-Message-State: AOAM532rdkXwhxvW3TT7WuJ80VXlH3yaAQD2UB8Je1Q1I0VfqPDz7JVF M5G+L5TA2rHAjh2GDcEmvvM= X-Google-Smtp-Source: ABdhPJzlKJQVHeSfEQTqwJUfba5kQHtLZJB/9iJUzZr5f6g3ybaexQaPD5H+1u9F7PdP7duCr1F64g== X-Received: by 2002:a17:902:7890:b0:143:c4f7:59e6 with SMTP id q16-20020a170902789000b00143c4f759e6mr98322881pll.87.1639418110881; Mon, 13 Dec 2021 09:55:10 -0800 (PST) Received: from gnu-cfl-2.localdomain ([2607:fb90:a63f:468b:b937:402b:0:3d7]) by smtp.gmail.com with ESMTPSA id m24sm11015123pgk.39.2021.12.13.09.55.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Dec 2021 09:55:10 -0800 (PST) Received: from gnu-tgl-3.localdomain (gnu-tgl-3 [192.168.1.57]) by gnu-cfl-2.localdomain (Postfix) with ESMTPS id 4E5674215AB; Mon, 13 Dec 2021 09:55:09 -0800 (PST) Received: from gnu-tgl-3.. (localhost [IPv6:::1]) by gnu-tgl-3.localdomain (Postfix) with ESMTP id 2F3DFC02A4; Mon, 13 Dec 2021 09:55:08 -0800 (PST) To: libc-alpha@sourceware.org Subject: [PATCH v4 0/2] Add and use link-test-modules-rpath-link Date: Mon, 13 Dec 2021 09:55:06 -0800 Message-Id: <20211213175508.243761-1-hjl.tools@gmail.com> X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 X-Spam-Status: No, score=-3023.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: "H.J. Lu via Libc-alpha" From: "H.J. Lu" Reply-To: "H.J. Lu" Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Sender: "Libc-alpha" 1. Sort elf tests and modules-names to reduce future conflicts. 2. Add and use link-test-modules-rpath-link. H.J. Lu (2): elf: Sort tests and modules-names Add and use link-test-modules-rpath-link [BZ #28455] Makeconfig | 2 + Makerules | 1 + elf/Makefile | 525 ++++++++++++++++++++++++++++++++----------- elf/tst-global2.c | 32 +++ elf/tst-globalmod2.c | 41 ++++ 5 files changed, 471 insertions(+), 130 deletions(-) create mode 100644 elf/tst-global2.c create mode 100644 elf/tst-globalmod2.c