diff options
author | Paul Iannetta <piannetta@kalrayinc.com> | 2023-08-17 16:08:29 +0200 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2023-08-23 12:38:58 +0930 |
commit | 835f16daa77952015d1a97ae6eab48cc2ea14fb8 (patch) | |
tree | 96b9ef4e05a77b9bd2b5b594fd1bb429bef12b9a /bfd/Makefile.am | |
parent | 36a52ab3bf46183e89c5ab01bb446fc6f94ce67d (diff) | |
download | fsf-binutils-gdb-835f16daa77952015d1a97ae6eab48cc2ea14fb8.zip fsf-binutils-gdb-835f16daa77952015d1a97ae6eab48cc2ea14fb8.tar.gz fsf-binutils-gdb-835f16daa77952015d1a97ae6eab48cc2ea14fb8.tar.bz2 |
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.
Diffstat (limited to 'bfd/Makefile.am')
-rw-r--r-- | bfd/Makefile.am | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bfd/Makefile.am b/bfd/Makefile.am index 8b0761d..378c131 100644 --- a/bfd/Makefile.am +++ b/bfd/Makefile.am @@ -318,7 +318,6 @@ BFD32_BACKENDS = \ elf32-i386.lo \ elf32-ip2k.lo \ elf32-iq2000.lo \ - elf32-kvx.lo \ elf32-lm32.lo \ elf32-m32c.lo \ elf32-m32r.lo \ @@ -359,7 +358,6 @@ BFD32_BACKENDS = \ elf32-z80.lo \ elf32.lo \ elflink.lo \ - elfxx-kvx.lo \ elfxx-sparc.lo \ elfxx-tilegx.lo \ elfxx-x86.lo \ @@ -495,7 +493,6 @@ BFD32_BACKENDS_CFILES = \ elf32-z80.c \ elf32.c \ elflink.c \ - elfxx-kvx.c \ elfxx-sparc.c \ elfxx-tilegx.c \ elfxx-x86.c \ @@ -549,6 +546,7 @@ BFD64_BACKENDS = \ coff64-rs6000.lo \ elf32-aarch64.lo \ elf32-ia64.lo \ + elf32-kvx.lo \ elf32-loongarch.lo \ elf32-mips.lo \ elf32-riscv.lo \ |