From patchwork Thu Sep 26 14:16:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 98012 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 029953858C62 for ; Thu, 26 Sep 2024 14:16:38 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by sourceware.org (Postfix) with ESMTPS id 3F4363858D29 for ; Thu, 26 Sep 2024 14:16:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3F4363858D29 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 3F4363858D29 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::134 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1727360169; cv=none; b=xL+NMPuA0h46VstV5SWrdPGVsZd9pvoZoZ1jYyt56RsleU+oizf6XTrSHjxCmYlFHRqnsHBhJiE0i/0EtDXa476bVt/dsw/GchbMSp/oCDYJFqB0jh/+ccB2vS7P35Tb5rq1PfRzqeff01KrI8XuSlElC3Hg8vkMLmzTxH2ILhY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1727360169; c=relaxed/simple; bh=khpg6XAyhANjvRo9up2qoW2ad0102B5bLT0fSm7iYq8=; h=DKIM-Signature:Message-ID:Date:MIME-Version:To:From:Subject; b=PSkaqHV475W5GASLlzopqnROM6k3eU2YXUZaYoHzzrNuxC2TqN5xtr0Ue3VtoimhfwTsYJa5ZVz7tJ2e+fDNexO0nLcbf8u/yqAYPBxaCVgfZzqtl7UrpdFCLsFonL0Uh10kvWeeYRG2ovFNxbKUVOBH/2bs44rErtyK6TfPcRE= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-5356aa9a0afso1621111e87.2 for ; Thu, 26 Sep 2024 07:16:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1727360161; x=1727964961; darn=sourceware.org; h=content-transfer-encoding:autocrypt:subject:from:cc:to :content-language:user-agent:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=UxEtDtjshLUC4ICosmMA9I/IxrYAQDNOnUkO1YFSFwM=; b=YRb7gErV/NExgmAuqE4nkyMDtuMxYtOt9JuamB53GHstKXZ92cCIxMdo8X481kup0l ZsTPUSQno3w93H0Ua5yBPfgHsr1NlgxeOQtvdwjkV1bo1GcL2i9Fn9NNCCGroYbgIkAN QXh7sfu1LoB0VpM46fQqrJXei4AbyshjVAwIZq8O6PU2sojICfHpYR0/rXjPgbZbgRhq lv1j4E3pDsuiP24jxBljpHAMefsEUq5RgCDi9MgVNdRtAQLOtgGcX4q1BT2yRSBRj/C2 AOEfwyWCWNhyUpLFli4a2FXWJ7wz9RK84vlI7xB6MBitAycHf8kBJPFopFiXr7Xmp7KJ viGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727360161; x=1727964961; h=content-transfer-encoding:autocrypt:subject:from:cc:to :content-language:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=UxEtDtjshLUC4ICosmMA9I/IxrYAQDNOnUkO1YFSFwM=; b=M1T5BIymQ6nGFA7/w7vz5AR2jerCabK19DViMMDlFkcrcwA7P5QkqpiWlRZF6YNCnM 7P067H/hN+0PpNCOv/KkIuab3180OA8ymKKvlot4w653PxwEfVUPxEpsrVURDga66d0R +QuqecWqd+gq1MWCMb8HY7WawFm0htFqFGnHVTfxiJiFWWvid2VnW35+IxIQ9l87O5n5 4x0KWbMMTsZntl6PtnAi/lEOyi/fdCV009qg8o2TTb/yMmIz7HLOaVjnNBhcDW8MxNB4 Nwa1Pqmij/+AIEgDQ0cA2qxsOqWVSbQtc5DaCfWSPW9RoeJ4W6DlCd7tvsMOOCApxHWM PJVQ== X-Gm-Message-State: AOJu0YyRe20FWTm5NMhm3fh+UqRjRDfwiaYG9U3k9P4Iqhqjc3EZDL7B j7zQdqFIS4vdKPp3wPxdYwNNb3uhL8hr2PFWiIZ07rkqKEtCk5viIwnBfaNEfhXmK3IlSdxBIWw = X-Google-Smtp-Source: AGHT+IGyBhzbevb7+3Y0YyUl6ZPI39A+YEHfCqH21qWwB8cBzNHw3sszEzDWphxif/ExwSCeE6n7Vw== X-Received: by 2002:a05:6512:3f15:b0:536:54ff:51c8 with SMTP id 2adb3069b0e04-53870497a0bmr5682964e87.17.1727360161197; Thu, 26 Sep 2024 07:16:01 -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-a93c299ac60sm1869666b.221.2024.09.26.07.16.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 26 Sep 2024 07:16:00 -0700 (PDT) Message-ID: <1ce66222-7358-48c1-8e73-2147ac365bec@suse.com> Date: Thu, 26 Sep 2024 16:16:00 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: Binutils Cc: "H.J. Lu" , Lili Cui From: Jan Beulich Subject: [PATCH] x86: fix Solaris gas testsuite run Autocrypt: addr=jbeulich@suse.com; keydata= xsDiBFk3nEQRBADAEaSw6zC/EJkiwGPXbWtPxl2xCdSoeepS07jW8UgcHNurfHvUzogEq5xk hu507c3BarVjyWCJOylMNR98Yd8VqD9UfmX0Hb8/BrA+Hl6/DB/eqGptrf4BSRwcZQM32aZK 7Pj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L9 mpwIGFhlbM3gfDMs7MPMu8YQRFVdUvtSpaAs8OFfGQ0ia3LGZcjA6Ik2+xcqscEJzNH+qh8V m5jjp28yZgaqTaRbg3M/+MTbMpicpZuqF4rnB0AQD12/3BNWDR6bmh+EkYSMcEIpQmBM51qM EKYTQGybRCjpnKHGOxG0rfFY1085mBDZCH5Kx0cl0HVJuQKC+dV2ZY5AqjcKwAxpE75MLFkr wkkEGBECAAkFAlk3nEQCGwwACgkQoDSui/t3IH7nnwCfcJWUDUFKdCsBH/E5d+0ZnMQi+G0A nAuWpQkjM1ASeQwSHEeAWPgskBQL X-Spam-Status: No, score=-3023.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, 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 Commits 8015b1b0c1a1 ("x86-64: Never make R_X86_64_GOT64 section relative"), d774bf9b3623 ("x86: Add tls check in gas"), and 1b714c14e40f ("x86: Turn PLT32 to PC32 only for PC-relative relocations") all should have adjusted the Solaris counterpart of the reloc64 test as well. --- a/gas/testsuite/gas/i386/solaris/reloc64.d +++ b/gas/testsuite/gas/i386/solaris/reloc64.d @@ -1,4 +1,4 @@ -#as: -mx86-used-note=no +#as: -mx86-used-note=no -mtls-check=no #source: ../reloc64.s #objdump: -Drw #name: x86-64 relocs @@ -57,6 +57,9 @@ Disassembly of section \.text: .*[ ]+R_X86_64_32[ ]+xtrn .*[ ]+R_X86_64_32S[ ]+xtrn .*[ ]+R_X86_64_32[ ]+xtrn +.*[ ]+R_X86_64_GOT64[ ]+ptr +.*[ ]+R_X86_64_GOTOFF64[ ]+Ldst +.*[ ]+R_X86_64_PLT32[ ]+ptr Disassembly of section \.data: #... .*[ ]+R_X86_64_64[ ]+xtrn @@ -97,3 +100,8 @@ Disassembly of section \.data: .*[ ]+R_X86_64_GOT32[ ]+xtrn-0x4 .*[ ]+R_X86_64_GOT32[ ]+xtrn\+0x4 .*[ ]+R_X86_64_GOTPLT64[ ]+xtrn + +.* : + ... +.* : + ...