From patchwork Tue Mar 17 04:46:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: develop--- via Libc-alpha X-Patchwork-Id: 1256050 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=sourceware.org Authentication-Results: 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=X9TeotCt; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (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 ozlabs.org (Postfix) with ESMTPS id 48hLJ217ybz9sPF for ; Tue, 17 Mar 2020 15:47:30 +1100 (AEDT) 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= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org 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 X-Spam-Status: No, score=-25.2 required=5.0 tests=DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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: Prem Mallappa via Libc-alpha From: develop--- 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 $< $@