From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 56FBF3959C86 for ; Mon, 16 Mar 2020 06:44:28 +0000 (GMT) Received: by mail-pg1-x544.google.com with SMTP id h8so9174437pgs.9 for ; Sun, 15 Mar 2020 23:44:28 -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=unXMi7izc9karyPGwyVLn0I7mDHQJBAsI49i9+hN9aS0K/vbM+PBxSiAQqWfW3jCEm nZM08dyzWFBhRlHOdzVCmuYFQ/Sjz6w4UK73KsNV1k+/ywmtzubHjeZWgrBTkQ3LeiHU LF5Zp5URcUU1Uxy4JQfYonyWV2AFnCc0XBjVgX9v1iv2e9lTZhrBcxEXC+xFtsdphBTe GzgpNMsp/m7LLJxxyOHH6LQAft4l1D28xY4faqZhqm8OpVKk+5KfNH/qa0j2JYU5iIuX cqid6B7X7OiDADK4HQSjrdcIKHVxML9U5BzdaKRHvjodYwmZlHg6+zAwFuVrkNJyH5KT VLmw== X-Gm-Message-State: ANhLgQ1gDEV0P9Ij1ex0KHj/2W8mJTTQzoq8Wt3ggd/sO6AAi2thGbQH g+BzoxWUw8A7KFuJXfXbq12633bd X-Google-Smtp-Source: ADFU+vu7lIKBuK70MxCI5fK7tKjYp63r6fRu2eGsBI4dEVqOmOycmNRbQutF1QvvfqrdGni7h8emGA== X-Received: by 2002:a62:2ad0:: with SMTP id q199mr27904444pfq.48.1584341067253; Sun, 15 Mar 2020 23:44:27 -0700 (PDT) Received: from Myrtle-ZP-Model0.amd.com.amd.com ([165.204.156.251]) by smtp.gmail.com with ESMTPSA id k67sm63347598pga.91.2020.03.15.23.44.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Mar 2020 23:44:26 -0700 (PDT) From: Prem Mallappa X-Google-Original-From: Prem Mallappa To: libc-help@sourceware.org, codonell@redhat.com, schwab@suse.com, FWeimer@redhat.com Cc: Prem Mallappa Subject: [PATCH 3/3] x86: test to load from PLATFORM path Date: Mon, 16 Mar 2020 12:14:08 +0530 Message-Id: <20200316064408.13808-4-PMallappa@amd.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200316064408.13808-1-PMallappa@amd.com> References: <20200316064408.13808-1-PMallappa@amd.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-help@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-help mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Mar 2020 06:44:29 -0000 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