From patchwork Wed Feb 1 22:45:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alan Modra X-Patchwork-Id: 51591 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp551095wrn; Wed, 1 Feb 2023 14:46:08 -0800 (PST) X-Google-Smtp-Source: AK7set/FsvFizfgeoav2okGDa537z9u5IEpL6P+0xhj5p8+u5spKXeBhsAj6k2Os7rFWXGdXKXYy X-Received: by 2002:a05:6402:500c:b0:49e:6bf1:5399 with SMTP id p12-20020a056402500c00b0049e6bf15399mr4157948eda.8.1675291568714; Wed, 01 Feb 2023 14:46:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675291568; cv=none; d=google.com; s=arc-20160816; b=mIKCBjnaJHiTWbY+YKC4J5p18UiqYU5lMF3MG+cdkVgghdRupYi2SPz+CSCmL5BnAY JcrH399uTOXW+uYV8vd1KfsrnCO5QI9NbaUzpuxoIy7cu/Eebd3ahEPHGjZzUODxRglh ILL5uRcHCVGg8S9CHWVkx4qq4Uhwid2GLcYzQzvtpxHhfMiyUGS8vfXlgewuw1hvhmdx 2baJOUE30rvaPDze5dbjsGrG1GKeDkzWxCLVhzlL+vkEUxr96Ag58wpyGMaqEB0YJ0fL MTMm87Vd0DiA40mJiLnWEhXen7oKqsWYCjL45JP0pzNwGvAs9ZFynbuqqZHv3EoG5zW6 pkKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-disposition:mime-version:message-id:subject:to:date :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=f2TI2JIXAkYDMyAa5D7j3ZuWLmY9VToiojcM8gE1QFI=; b=G1jJE4a6zyNYSAXbD/Jycfh9AIvRvbd6K62b/SWSvH8nlrEozaZP5os3CY+Psv5jXT bVzNSNrkzAMCwqfYmZKV2xbLmvG8jaxbXTDf2bbtP4yLttiR/5zRG5PcsPOE/Nu8of7T KbDZreACKl1iQnIggFQDNVmvsptESfsfG7NtDw3wrU3CdxXfetQwQ6mf5O8zz7XeaqQL eW0Kc+NCJUOXm2CFCbhB+IksBqlBWnnpYD9NDzjxwWwOhLsZ1OQ3SnIyZLpvefV0mJV3 kmTbHzN6yXx4qDCn8k6CZwnjoBYuqWsg+Iz4P565UGkiZhJZqLQcam3uWu0vPc+Bp3vh n7TQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=DhaS8jvb; spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id e18-20020a056402149200b004a2355a37c9si13065534edv.364.2023.02.01.14.46.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Feb 2023 14:46:08 -0800 (PST) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=DhaS8jvb; spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 995743858005 for ; Wed, 1 Feb 2023 22:46:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 995743858005 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1675291567; bh=f2TI2JIXAkYDMyAa5D7j3ZuWLmY9VToiojcM8gE1QFI=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=DhaS8jvbv+lVfMDooqFx8Y/wFYS3gIocXGNqp0buNXxyzrhY3oJueMmgwohhqiyu2 AuBAAcvHRFTKrgqnTQEk4ICgb/CucER2I7v0qW2hTMISzwLDKlg1z3ujPiNepMAJZc wvvQqB2gSwOprV7j5GtM7MzJAo9EqkxYTWHHU9QM= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) by sourceware.org (Postfix) with ESMTPS id 60E053858423 for ; Wed, 1 Feb 2023 22:45:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 60E053858423 Received: by mail-pj1-x1033.google.com with SMTP id rm7-20020a17090b3ec700b0022c05558d22so69904pjb.5 for ; Wed, 01 Feb 2023 14:45:58 -0800 (PST) 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=f2TI2JIXAkYDMyAa5D7j3ZuWLmY9VToiojcM8gE1QFI=; b=afxks335su9SB4ZdSAbP3fAK3xd4qKHgokJKZaXlKbkZNUaBOAvxk+sQmbShhyO29W kgLhBIAMK+NCMR8iCXgz9x6mMAZJf816S26W+l1KTLXFCbLzla2OaupRN3bDmg0N9zkj F1ZLyXMlveKPwNRU/IpSoUdt/9FHgXEEd9VvVEfJuh1gjLRUelzKHndIQnvw7Bi6Olh/ j9cmdWd0OlAWv8HbcuKFdVwF0v7u7PlJwAcmSRf37iuxYbj6fieP2x4WdUSP7JxwEvdl aJHYHXyvteEImt0r4jGnH5PwUwm/mcZZbZMPl9iJsgC0fgOq+S0TyZnQsUUNjZJQzuAE K9LQ== X-Gm-Message-State: AO0yUKVGE19G20rVR1WoRg7weTdpxlaBSoqYZ6HMfiC8mj0fsK/qgt0R v0myanXqK0doEXlqleTM3X5MXSy9oWU= X-Received: by 2002:a17:902:ec8c:b0:193:13fc:8840 with SMTP id x12-20020a170902ec8c00b0019313fc8840mr5635183plg.21.1675291557295; Wed, 01 Feb 2023 14:45:57 -0800 (PST) Received: from squeak.grove.modra.org ([2406:3400:51d:8cc0:35b4:d041:2beb:f8d7]) by smtp.gmail.com with ESMTPSA id j9-20020a170902758900b00174c1855cd9sm8829760pll.267.2023.02.01.14.45.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Feb 2023 14:45:57 -0800 (PST) Received: by squeak.grove.modra.org (Postfix, from userid 1000) id B81341142F65; Thu, 2 Feb 2023 09:15:54 +1030 (ACDT) Date: Thu, 2 Feb 2023 09:15:54 +1030 To: binutils@sourceware.org Subject: obj-elf.h BYTES_IN_WORD Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-3035.0 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 X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alan Modra via Binutils From: Alan Modra Reply-To: Alan Modra Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org Sender: "Binutils" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756670532128717570?= X-GMAIL-MSGID: =?utf-8?q?1756670532128717570?= Don't define this. It is defined just before elf-bfd.h is included, but doesn't have any relevance there. Instead is for aout64.h where the default is 4 anyway. diff --git a/gas/config/obj-elf.h b/gas/config/obj-elf.h index 727924ce234..e8fc3126bed 100644 --- a/gas/config/obj-elf.h +++ b/gas/config/obj-elf.h @@ -33,7 +33,6 @@ #define OUTPUT_FLAVOR bfd_target_elf_flavour #endif -#define BYTES_IN_WORD 4 /* for now */ #include "bfd/elf-bfd.h" #include "targ-cpu.h"