From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) by sourceware.org (Postfix) with ESMTPS id DA10C3858D33 for ; Mon, 16 Jan 2023 12:56:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DA10C3858D33 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-x42e.google.com with SMTP id 20so15457845pfu.13 for ; Mon, 16 Jan 2023 04:56:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-disposition:mime-version:message-id:subject:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=M+iqTqUXQda6zbtDJBb3723/RMDYNGRXHLdBcCjwpKY=; b=a8VVjGsNg09ZC4mJ5qmZnW/ZfKwDX81+2DkJdlloh053clm4qIHMRVqIEjbUQDVnuj 4x0OVti1fz4e/dmEXhu4Tp2vPvsoBQER1m4vo7kHNW+C/R8oYsz5UFrp3Nyc5kFD7Fi4 0m47oLwyHYOy+WezZQGcx4t5efzzEck+Sp9xZutreQTK8s7URvapAuBbgeeTsUWZBbpW 8Lm+qob0uSDOzYKbjfaQ9blOG9+p8EMUW5I5KC/gso94QZJ0gBc0KlDEUvs4AqE6v9aN kN0XWY2P1rAD2d5j0yDTNXgdgRq2f0QQ2GwSY4GI8KzdQuvxTwTvGotptc6+zcZ30187 6ZrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-disposition:mime-version:message-id:subject:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=M+iqTqUXQda6zbtDJBb3723/RMDYNGRXHLdBcCjwpKY=; b=1ynID6+B/xFCJR+2z3hPi7hn2DoF2W+YCL3BzQ+Xy9iReiqxyK+teqQjfWVssIvp9a Esu6QxVXSHIZZn7BX4kmlWL0rkbnNuwqf1tdcEq9OUKF7up1kVgvlYEy3wkmw4qeiB/i RxbQM4Hs0IEnxalC/71/9GOLUvz54729dMW5c+9kwCIaUQD/vHaJt9ilZpZTwoM1b98r pVC451fc0Vtv1lmfwbcBiWaDqQGaW3w3G7E2DZ2BZDiNbvXY0/YCTGgwpJkvw2s/DK9v zABg1pQBSg55vy/5nFQKgihq7c9tFtI1Nt0SmpqYsW8wGXy+tEh9HMnKjPuKQRjPV1NC /JmA== X-Gm-Message-State: AFqh2kr99PUSJCMmEPlBBd8zQrEYT7i8jtnuhT617Ly66pq01+TCl1Mo JkmDTS7EQng1DXAfp9bOhztwM0Pp1ZM= X-Google-Smtp-Source: AMrXdXsG6G1scXeCYqf/6yYxdCtzkHRjrNS9qoBtuewAvWdUOzYbBtZgh4vcZOGcRDiyLL3E/FBGVw== X-Received: by 2002:a05:6a00:2281:b0:581:a8dc:8f95 with SMTP id f1-20020a056a00228100b00581a8dc8f95mr80893723pfe.12.1673873782853; Mon, 16 Jan 2023 04:56:22 -0800 (PST) Received: from squeak.grove.modra.org (158.106.96.58.static.exetel.com.au. [58.96.106.158]) by smtp.gmail.com with ESMTPSA id x1-20020aa78f01000000b005882b189a44sm14709904pfr.104.2023.01.16.04.56.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Jan 2023 04:56:22 -0800 (PST) Received: by squeak.grove.modra.org (Postfix, from userid 1000) id 6DF9A1142F1B; Mon, 16 Jan 2023 23:26:20 +1030 (ACDT) Date: Mon, 16 Jan 2023 23:26:20 +1030 From: Alan Modra To: binutils@sourceware.org Subject: Leftover hack from i960-coff Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-3035.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,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 List-Id: * reloc.c (bfd_perform_relocation, bfd_install_relocation): Remove i960-coff target hack. diff --git a/bfd/reloc.c b/bfd/reloc.c index db4f30d36d0..c543097b4d7 100644 --- a/bfd/reloc.c +++ b/bfd/reloc.c @@ -801,9 +801,7 @@ bfd_perform_relocation (bfd *abfd, reloc_entry->address += input_section->output_offset; /* WTF?? */ - if (abfd->xvec->flavour == bfd_target_coff_flavour - && strcmp (abfd->xvec->name, "coff-Intel-little") != 0 - && strcmp (abfd->xvec->name, "coff-Intel-big") != 0) + if (abfd->xvec->flavour == bfd_target_coff_flavour) { /* For m68k-coff, the addend was being subtracted twice during relocation with -r. Removing the line below this comment @@ -1134,9 +1132,7 @@ bfd_install_relocation (bfd *abfd, reloc_entry->address += input_section->output_offset; /* WTF?? */ - if (abfd->xvec->flavour == bfd_target_coff_flavour - && strcmp (abfd->xvec->name, "coff-Intel-little") != 0 - && strcmp (abfd->xvec->name, "coff-Intel-big") != 0) + if (abfd->xvec->flavour == bfd_target_coff_flavour) { /* For m68k-coff, the addend was being subtracted twice during -- Alan Modra Australia Development Lab, IBM