From patchwork Thu Sep 12 05:53:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 97470 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 494583858CDA for ; Thu, 12 Sep 2024 05:53:37 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by sourceware.org (Postfix) with ESMTPS id 11A4F385840B for ; Thu, 12 Sep 2024 05:53:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 11A4F385840B Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 11A4F385840B Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::62f ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1726120391; cv=none; b=IRhNxGNQekbUtkzJW8fxJ3ROMq1sga2BPTq+wbJteK9+g4Jr9wQ9qNq2oIUv8rB6+x/SPtb7RCM7JSP46kwizKAmU1M0bgroAB/tRuGA1UUsUy29sZaUQ/wfNgKJHIB0oPLuejJUqldDr9KiWEjbt4gOIHXpR9q0q5eOBXwS/lw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1726120391; c=relaxed/simple; bh=SsflyvoK3aDi8JYOQrBwWQbL2682DeaTMmYCjrazAnE=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:From:To; b=UkFOzFs/AAzR6XJNNCJdCOkNd1N6yPe5nW9qFCfYPgc4C/u8u6L1uigMiYTxFYMGDn++tzDBR9pdhcC6y3jyju6R6EDgRaGWp+F3K1HzOl1DdlseN+X6Q63Ms3L2KaNW8XAPMbkl6vmoKHjYdOhxrQhCLD+6YMzSHtLgbW4EqSY= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-a8d13b83511so64446566b.2 for ; Wed, 11 Sep 2024 22:53:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1726120389; x=1726725189; darn=sourceware.org; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :references:cc:to:from:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=RR0L91N967RwcG1FsJ/XJyah3wELdTZwHEUv5ZGRm10=; b=DZth3EryekX5jekI0V4o4Eq1xAuChvqFKoV7f9dQNmMOZstxTTMMIiawzJEHE3aPTb c3wrLTYS7fKQ6s3fmAXS0ilXFqvFsIFVOp7oTTtbTVT9H2dgFvzo/PypDlD9v10seBCh 1J6WAS4q/NATO78pTcXF5pHhDMnQgK9GGCKd2BZ2uqGi+Bv1N4EtP7Q1QYnxdQLPZmki 8AhsJavQLGkg7iXKAZTkZZqoXavvt+TYncqZ0D9/0gu50hVrjenLWPw4uAEkcqkuDMOj WUrD2K+0EnbaKAmqdOHIgyrYDRWy/2uEJk9h+WMM4qA4XzraHFZrOJvhDyyITLrEeKai vzjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726120389; x=1726725189; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :references:cc:to:from:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RR0L91N967RwcG1FsJ/XJyah3wELdTZwHEUv5ZGRm10=; b=bRq9hwSs/LlD7vRMkUmOq3/y9xXf3WX1S1Dufkf9QPPTGbACl50l+hm6eIDy8Nj13V j+3F6o7IbyAbcbNg9vPEqQdRQ+/6rqPzFPpW/UfCkuFf8HSupozY50suBUgpsW8Yqlwj ofb19VVemAFDL4FYck21ta7Q+wUxoaYNipY3ymhDhsuFfNgwhl7Mj0R1hqlzIX8U+3EZ X2IQIDVD5CGTZ8M2CK7CXyYXRjJb/eZwD/11ghY0zv4q+6eixZawDg/Xt1oFtwdHtNxB lJyss+CzrWe9HanoNON1ABncVMgEPIoJ50U95nBzvGl00qvnCUuTimRhy6xtnL70RV0g 6LCw== X-Gm-Message-State: AOJu0Yyd/yjPjI2HQ5EOezeJVG8soT1VIzGUyHEFVAn0DPa953tF38Uk hlepzblr4zeEO4m6Sg/1YLOcq4wINl5jhCpajDe+HcOQZm9j6Y3S0nr7euMa5SsYdn7BVbzScu8 = X-Google-Smtp-Source: AGHT+IEBsDx7P064NYQ9J67OhP6rB17y96YwWqxFUJBGe3sttfiCW0Jcq3imU999qwZctp8n714HAQ== X-Received: by 2002:a17:907:e213:b0:a8d:4631:83b0 with SMTP id a640c23a62f3a-a90293f8e92mr128044566b.5.1726120388705; Wed, 11 Sep 2024 22:53:08 -0700 (PDT) Received: from [10.156.60.236] (ip-037-024-206-209.um08.pools.vodafone-ip.de. [37.24.206.209]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a8d25c72ea5sm702215666b.99.2024.09.11.22.53.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 11 Sep 2024 22:53:08 -0700 (PDT) Message-ID: Date: Thu, 12 Sep 2024 07:53:08 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: [PATCH 2/2] ld/PE: enable secrel testcases also for 64-bit Cygwin From: Jan Beulich To: Binutils Cc: Dave Korn References: Content-Language: en-US Autocrypt: addr=jbeulich@suse.com; keydata= xsDiBFk3nEQRBADAEaSw6zC/EJkiwGPXbWtPxl2xCdSoeepS07jW8UgcHNurfHvUzogEq5xk hu507c3BarVjyWCJOylMNR98Yd8VqD9UfmX0Hb8/BrA+Hl6/DB/eqGptrf4BSRwcZQM32aZK 7Pj2XbGWI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IGFhlbM3gfDMs7MPMu8YQRFVdUvtSpaAs8OFfGQ0ia3LGZcjA6Ik2+xcqscEJzNH+qh8V m5jjp28yZgaqTaRbg3M/+MTbMpicpZuqF4rnB0AQD12/3BNWDR6bmh+EkYSMcEIpQmBM51qM EKYTQGybRCjpnKHGOxG0rfFY1085mBDZCH5Kx0cl0HVJuQKC+dV2ZY5AqjcKwAxpE75MLFkr wkkEGBECAAkFAlk3nEQCGwwACgkQoDSui/t3IH7nnwCfcJWUDUFKdCsBH/E5d+0ZnMQi+G0A nAuWpQkjM1ASeQwSHEeAWPgskBQL In-Reply-To: X-Spam-Status: No, score=-3023.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: binutils-bounces~patchwork=sourceware.org@sourceware.org Plus the others that are grouped there. --- a/ld/testsuite/ld-pe/pe.exp +++ b/ld/testsuite/ld-pe/pe.exp @@ -29,6 +29,7 @@ if {[istarget i*86-*-cygwin*] || [istarget i*86-*-pe] || [istarget i*86-*-mingw*] || [istarget x86_64-*-mingw*] + || [istarget x86_64-*-cygwin*] || [istarget arm-wince-pe] } { if {[istarget x86_64-*-mingw*] } { @@ -43,6 +44,21 @@ if {[istarget i*86-*-cygwin*] {{objdump -p secidx-reloc.d}} "secidx.x"} {"Empty export table" "" "" "" "exports.s" {{objdump -p exports64.d}} "exports.dll"} + {"TLS directory entry" "" "" "" "tlssec.s" + {{objdump -p tlssec64.d}} "tlssec.dll"} + } + } elseif {[istarget x86_64-*-cygwin*]} { + set pe_tests { + {".secrel32" "--disable-auto-import --disable-reloc-section" "" "" {secrel1.s secrel2.s} + {{objdump -s secrel_64.d}} "secrel.x"} + {".secidx" "--disable-auto-import --disable-reloc-section" "" "" {secidx1.s secidx2.s} + {{objdump -s secidx_64.d}} "secidx.x"} + {".secrel32 w/ relocs" "--disable-auto-import --enable-reloc-section" "" "" {secrel1.s secrel2.s} + {{objdump -p secrel-reloc.d}} "secrel.x"} + {".secidx w/ relocs" "--disable-auto-import --enable-reloc-section" "" "" {secidx1.s secidx2.s} + {{objdump -p secidx-reloc.d}} "secidx.x"} + {"Empty export table" "" "" "" "exports.s" + {{objdump -p exports64.d}} "exports.dll"} {"TLS directory entry" "" "" "" "tlssec.s" {{objdump -p tlssec64.d}} "tlssec.dll"} }