From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) by sourceware.org (Postfix) with ESMTPS id 7B6B53858D20 for ; Wed, 24 May 2023 22:54:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7B6B53858D20 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-64d1a0d640cso1171882b3a.1 for ; Wed, 24 May 2023 15:54:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684968858; x=1687560858; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=9kEdT53ithIoDv3d/DJPLe6rr4u3MOKHad+qskPM+HE=; b=ANjfipSPEH0Pr8N9dSjFvEo+0ewKZXednWgJxCuOeYLYW8UhFlWeyX4RiV0sLQHJAw BUwpIfCHKH4dQEl+r4xlFnf1jK9DD5pcBSTdaug+KNWAhehHSsfpZv2j3pFc8f9VgmFo Fd1JZjKvM2f7GtavvCt7+iLdI+1nLJoqxv/z13BlxaZt8GVwLl5l34T1+5oZhx+piBkn jxoCWjOTo+Q8M5cls3ecpojSgsyIHmpK/4DpKA5xQTCp8IRu2kF8Cz6P/Q64uScRPwhs nagBREXP7Zl71QY4ErxslyvCCo+AiFLGmPbDuVtUbpGAkB0oBXxvdfsugNUCO3oopjlW BoEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684968858; x=1687560858; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=9kEdT53ithIoDv3d/DJPLe6rr4u3MOKHad+qskPM+HE=; b=iuVGwwMoz9QokTQZzX9n9eQac0b5pXrcIBk4nS734bNpWOnUboV9QmzLy5yO5ZoYVc C+jphEICYEw9Puzb8k9mMZCAeGboM7Tkz+GQGJ0LXQ30H8Ws8TNsMs8lc4gyoQ4BhS+o vkrKZJa7MZrLsRjK/EqlNDUaQcBF4xFFF+TFw7vZ7qtWLcfGFRh/5/hbQbR9GbegY8E8 TThMgK5YKBFwx4aO6QUyGeR0t22vMs9zY902fABeEZgtPmF2RPZqm8sFjk/RwQ//CqEa BjjSrIIRiKY96KFYD45tplg6AKU4NpcIOy8ICO/8pIliOO+/Ca5IFHkvu0//CrAGbcrn 20TQ== X-Gm-Message-State: AC+VfDzmeZSQtxAiG+XXP3xFqHU7w9BdqLQMQ1mfIfjiocw1KCqfYn8x lTd1CntGYLDDalA6ia4JJbY= X-Google-Smtp-Source: ACHHUZ6v9ijwMc0tI1Jmm78avmKA9ue/zn6rzigFpO0Ikp/aEznVwkbq0sZSXYjcuHJ/LF1pAZaGSQ== X-Received: by 2002:a17:902:d389:b0:1ad:b5b4:e424 with SMTP id e9-20020a170902d38900b001adb5b4e424mr15838249pld.38.1684968858447; Wed, 24 May 2023 15:54:18 -0700 (PDT) Received: from squeak.grove.modra.org ([2406:3400:51d:8cc0:4d08:cebd:d73f:b794]) by smtp.gmail.com with ESMTPSA id bh12-20020a170902a98c00b001ae7fad1598sm9221164plb.29.2023.05.24.15.54.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 May 2023 15:54:17 -0700 (PDT) Received: by squeak.grove.modra.org (Postfix, from userid 1000) id DE0DB11404BE; Thu, 25 May 2023 08:24:14 +0930 (ACST) Date: Thu, 25 May 2023 08:24:14 +0930 From: Alan Modra To: "Richard Earnshaw (lists)" Cc: Michael Matz , binutils@sourceware.org Subject: Re: [PATCH] PR30437 aarch64: make RELA relocs idempotent Message-ID: References: <1ba7b2c7-b489-79af-3f2a-56450c86d955@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1ba7b2c7-b489-79af-3f2a-56450c86d955@arm.com> X-Spam-Status: No, score=-3027.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Wed, May 24, 2023 at 04:26:03PM +0100, Richard Earnshaw (lists) via Binutils wrote: > > * elfnn-aarch64.c (elfNN_aarch64_howto_table): Clear src_mask > > if all relocation descriptors. > Isn't this what partial_inplace is supposed to describe? Strictly speaking that flag describes what should be done for ld -r. It has no effect on final link. It does also affect what is produced by gas (which is by far the messiest and most confusing part of libbfd relocation processing). > Since that's > false, I'd expect any value stored in the section contents to be ignored. -- Alan Modra Australia Development Lab, IBM