[PATCH] Don't define ARCH_cris for BFD64

Luis Machado luis.machado@arm.com
Wed May 4 08:15:43 GMT 2022


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?


More information about the Binutils mailing list