]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
kvx: fix 32-bit build
authorPaul Iannetta <piannetta@kalrayinc.com>
Thu, 17 Aug 2023 14:08:29 +0000 (16:08 +0200)
committerAlan Modra <amodra@gmail.com>
Wed, 23 Aug 2023 03:08:58 +0000 (12:38 +0930)
commit835f16daa77952015d1a97ae6eab48cc2ea14fb8
tree96b9ef4e05a77b9bd2b5b594fd1bb429bef12b9a
parent36a52ab3bf46183e89c5ab01bb446fc6f94ce67d
kvx: fix 32-bit build

bfd/
* Makefile.am: Move elf32-kvx.lo from BFD32_BACKENDS to
BFD64_BACKENDS.  Remove elfxx-kvx.lo from BFD32_BACKENDS.
Remove elfxx-kvx.c from BFD32_BACKENDS_CFILES.
* Makefile.in: Regenerate.
* config.bfd: Adjust targ_defvec and targ_selvecs and gate them
behind BFD64.
* configure.ac: Add target_size=64 to kvx_elf64_*vec.
* configure: Regenerate.
* elfnn-kvx.c (elfNN_kvx_stub_name): Cast rel->r_addend to
uint64_t to match format string.
(elfNN_kvx_relocate_section): Similarly for r_offset, and
use PRIx64 in format string.
* targets.c (_bfd_target_vector <kvx_elf32_vec>): Move inside
#ifdef BFD64.
ld/
* Makefile.am: Move eelf32kvx.c from ALL_EMULATION_SOURCES to
ALL_64_EMULATION_SOURCES.
* Makefile.in: Regenerate.
bfd/Makefile.am
bfd/Makefile.in
bfd/config.bfd
bfd/configure
bfd/configure.ac
bfd/elfnn-kvx.c
bfd/targets.c
ld/Makefile.am
ld/Makefile.in