From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS17314 8.43.84.0/22 X-Spam-Status: No, score=-4.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 407B41F619 for ; Tue, 17 Mar 2020 04:47:26 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8DAFD394354B; Tue, 17 Mar 2020 04:47:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8DAFD394354B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1584420437; bh=dO8Glo5zihTrbSgYz6tjsYspaQfyHYOa91AOWUchYnA=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=X9TeotCtL6nwnq+NCFWGNyaeqnYT0b7ic3UyMq2AAyCdvDTczT45NiDe/RAbukdZZ 8Hij6VSaQis2JgzNt/jHki33pWauj4YfWkC4JtxIi6n3x3yiQ9HXouIY7E3RRTDDMi /xFwbYRCsZ1DQWeX/A3xgfRAVVoDmt/3/TUrYtOg= Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by sourceware.org (Postfix) with ESMTPS id 450D9394354B for ; Tue, 17 Mar 2020 04:47:15 +0000 (GMT) Received: by mail-pg1-x544.google.com with SMTP id a32so10157838pga.4 for ; Mon, 16 Mar 2020 21:47:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=dO8Glo5zihTrbSgYz6tjsYspaQfyHYOa91AOWUchYnA=; b=NEjcLdmFSIIxcHjIhfRlhgGJRD+widRnnPLN/aOK6IyRTsFE6fr0RtLJmdVTGk95mc pJcYgEWxc02/Yut3AOXgxqwbH9UKOFTxmAoc1DO4hmzNYxDi1SwNfUi6jCM5184i8zUM hymR2idWBr+1kDPpg4A932P9x4cqV7zQ5oH6ral6RXv/b8RoDAfjEFlTigvxuCgP2i3V F08tY51xU2J+vWRYqqc3Q9Loo+/LPtFuuzE8MXzcgNj914tNqHPpdK9QklWDtqGvp+wz xh9pkp2/6rb68cvV4HBJq8DYbJh/abAyIrrGOg4AQOdNr5dBRPp81m0a7dxLNOGSayBp BjQw== X-Gm-Message-State: ANhLgQ3K5k3RQiwRMboGq/b+9g5QSUetmRjJ6nUQ6dBLNmCvtiBvg2GM bMyiOs+lPrYTHUNRC7qC3FDoxVhr X-Google-Smtp-Source: ADFU+vsDZ7CLmLGptT2iWWGjahpIpTlUB/0qxx4mMs2sdhsuw0bqF3PaUMjf46d70pVHijqSsIFGHw== X-Received: by 2002:a62:170f:: with SMTP id 15mr3165588pfx.12.1584420434094; Mon, 16 Mar 2020 21:47:14 -0700 (PDT) Received: from Myrtle-ZP-Model0.amd.com.amd.com ([165.204.156.251]) by smtp.gmail.com with ESMTPSA id md20sm1218661pjb.15.2020.03.16.21.47.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Mar 2020 21:47:13 -0700 (PDT) X-Google-Original-From: Prem Mallappa To: libc-alpha@sourceware.org, codonell@redhat.com, schwab@suse.com, FWeimer@redhat.com Subject: [PATCH 3/3] x86: test to load from PLATFORM path Date: Tue, 17 Mar 2020 10:16:46 +0530 Message-Id: <20200317044646.29707-4-PMallappa@amd.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200317044646.29707-1-PMallappa@amd.com> References: <20200317044646.29707-1-PMallappa@amd.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: , From: Prem Mallappa via Libc-alpha Reply-To: Prem Mallappa Cc: Prem Mallappa Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" From: Prem Mallappa Test will load modifier library from new PLATFORM path as well. Signed-off-by: Prem Mallappa --- sysdeps/x86_64/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sysdeps/x86_64/Makefile b/sysdeps/x86_64/Makefile index d51cf03ac9..b09881b2d7 100644 --- a/sysdeps/x86_64/Makefile +++ b/sysdeps/x86_64/Makefile @@ -71,6 +71,7 @@ CFLAGS-tst-platformmod-2.c = -mno-avx LDFLAGS-tst-platformmod-2.so = -Wl,-soname,tst-platformmod-2.so $(objpfx)tst-platform-1: $(objpfx)tst-platformmod-1.so $(objpfx)tst-platform-1.out: $(objpfx)x86_64/tst-platformmod-2.so +$(objpfx)tst-platform-1.out: $(objpfx)zen/tst-platformmod-2.so # Turn off AVX512F_Usable and AVX2_Usable so that GLRO(dl_platform) is # always set to x86_64. tst-platform-1-ENV = LD_PRELOAD=$(objpfx)\$$PLATFORM/tst-platformmod-2.so \ @@ -161,7 +162,7 @@ do-tests-clean common-mostlyclean: tst-x86_64-1-clean tst-x86_64-1-clean: -rm -rf $(objpfx)x86_64 -$(objpfx)x86_64/tst-platformmod-2.os: $(objpfx)tst-platformmod-2.os +$(objpfx)%/tst-platformmod-2.os: $(objpfx)tst-platformmod-2.os $(make-target-directory) rm -f $@ ln $< $@ -- 2.20.1