[PATCH] kvx: fix 32-bit build and validation

Paul Iannetta piannetta@kalrayinc.com
Wed Aug 23 14:40:10 GMT 2023


On Wed, Aug 23, 2023 at 09:44:12PM +0930, Alan Modra wrote:
> On Wed, Aug 23, 2023 at 09:44:25AM +0200, Paul Iannetta wrote:
> > On Wed, Aug 23, 2023 at 09:57:26AM +0930, Alan Modra wrote:
> > > ..I don't see kvx_elf64_linux_vec defined anywhere.  Delete it?
> > 
> > Indeed, it somehow got missing from bfd/targets.c, it is mostly
> > similar to kvx_elf64_vec, and only exists to match what is done in the
> > linker with the emulation elf64kvx_linux.
> 
> Unless you really need it, don't add it.  If you have two target
> vectors that match kvx objects then people will run into "file format
> is ambiguous" errors when attempting to use any of objdump, objcopy,
> nm etc. on a kvx object.  You won't see that if you've built binutils
> with one of the kvx targets as the default, but will if you've built
> say --target=x86_64-linux-gnu --enable-targets=all.

I'll get rid of it then.  Thanks.






More information about the Binutils mailing list