From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) by sourceware.org (Postfix) with ESMTPS id 875453858C56 for ; Wed, 4 May 2022 08:40:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 875453858C56 Received: by mail-pl1-x62a.google.com with SMTP id j14so833097plx.3 for ; Wed, 04 May 2022 01:40:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=RrC7tla2srxFW8shoK3g6ogFHFUNkYekCOdIkmdr+j0=; b=ajAt2aMTHH+dhd1j50q+irDVPW4mVJUcwz2mGD0RqVXydH6ulUSnsdlGZszLeeporP 3x8EAnR7/cS12PTqQuLuzzXwjKSEgaeIo/t0oK0/xuDSk5eqaZFWRzeMEfV7nN3CCY6g X6A2e+AQN1rC3Le/dDBuWKBQDLH7tkzwyICd8V3w2UJ6mR/YJcQKR6HaHCzwFi/YuxgY Dhezwv3bztJt6HFwu3rbtF40ei1j2pox50RI9reTR7f8sRUe6fjbM28pIHs0PUmuKuZB Wk3zHAQQ4gL8OWsaGe4ElNwBzrkKrpomDbVfzVuMBsV2tYLRjywXbmRILBA+JaE6xFDC tObw== X-Gm-Message-State: AOAM531JxhFJTyU8lARXd8GcAAOhjnBJdW9EJYR55Hm7aqX8krtx8fSy JVVuOOeQZNrXtR6MaNTAaMZvZyjeM8U= X-Google-Smtp-Source: ABdhPJwNU2FiF51ToeqX1KTsSj5BlV8ZGVEM1ZLW80+rpNJrmR9Jztm/KtlAt5W107/lDTIxOBJC/g== X-Received: by 2002:a17:902:e812:b0:15e:a6cc:e015 with SMTP id u18-20020a170902e81200b0015ea6cce015mr13312691plg.93.1651653601669; Wed, 04 May 2022 01:40:01 -0700 (PDT) Received: from squeak.grove.modra.org ([2406:3400:51d:8cc0:c92:8165:d83d:86ae]) by smtp.gmail.com with ESMTPSA id c10-20020a170902724a00b0015e8d4eb2cdsm7797222pll.279.2022.05.04.01.40.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 May 2022 01:40:01 -0700 (PDT) Received: by squeak.grove.modra.org (Postfix, from userid 1000) id 29C461140F08; Wed, 4 May 2022 18:09:58 +0930 (ACST) Date: Wed, 4 May 2022 18:09:58 +0930 From: Alan Modra To: Luis Machado Cc: binutils@sourceware.org, hp@axis.com Subject: Re: [PATCH] Don't define ARCH_cris for BFD64 Message-ID: References: <20220504075628.81292-1-luis.machado@arm.com> <88ada15d-c371-df10-368e-f1c9fb91c289@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <88ada15d-c371-df10-368e-f1c9fb91c289@arm.com> X-Spam-Status: No, score=-3028.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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-List-Received-Date: Wed, 04 May 2022 08:40:04 -0000 On Wed, May 04, 2022 at 09:15:43AM +0100, Luis Machado wrote: > On 5/4/22 09:08, Alan Modra wrote: > > On Wed, May 04, 2022 at 08:56:28AM +0100, Luis Machado via Binutils wrote: > > > I believe it is a mistake to define ARCH_cris when BFD64 is defined. It is > > > a 32-bit architecture, so should be placed outside of the BFD64 block. > > > > No. cris may be 32-bit but the bfd support requires a 64-bit bfd. > > See config.bfd. > > > > Interesting, I missed that. So I suppose GDB will need to move these cris > files from ALL_TARGET_OBS to ALL_64_TARGET_OBS. > > I see opcodes/Makefile.am also puts the cris files into > TARGET32_LIBOPCODES_CFILES. Is that a mistake? Hmm, maybe config.bfd is wrong. I see cris files in bfd/Makefile.am BFD32_BACKENDS. Hans-Peter, do you know what is going on here? -- Alan Modra Australia Development Lab, IBM