[PATCH] Don't define ARCH_cris for BFD64
Alan Modra
amodra@gmail.com
Wed May 4 08:39:58 GMT 2022
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
More information about the Binutils
mailing list