]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - bfd/Makefile.am
[AArch64, ILP32] 2/6 Parametrize elfnn-aarch64.c and add basic support in ld
[thirdparty/binutils-gdb.git] / bfd / Makefile.am
index 5ed9bc76e052f60436b19cc1cdefcacdac454a2b..58fb6d6cacee02807f780239771f5433358943e8 100644 (file)
@@ -638,6 +638,7 @@ BFD32_BACKENDS_CFILES = \
 # elf32-ia64.c requires a 64-bit bfd_vma, and hence can not be put in
 # BFD32_BACKENDS.
 BFD64_BACKENDS = \
+       elf32-aarch64.lo \
        elf64-aarch64.lo \
        aix5ppc-core.lo \
        aout64.lo \
@@ -763,7 +764,7 @@ SOURCE_CFILES = \
        $(OPTIONAL_BACKENDS_CFILES)
 
 BUILD_CFILES = \
-       elf64-aarch64.c \
+       elf32-aarch64.c elf64-aarch64.c \
        elf32-ia64.c elf64-ia64.c peigen.c pepigen.c pex64igen.c
 
 CFILES = $(SOURCE_CFILES) $(BUILD_CFILES)
@@ -912,6 +913,11 @@ elf64-target.h : elfxx-target.h
        sed -e s/NN/64/g < $(srcdir)/elfxx-target.h > elf64-target.new
        mv -f elf64-target.new elf64-target.h
 
+elf32-aarch64.c : elfnn-aarch64.c
+       rm -f elf32-aarch64.c
+       sed -e s/NN/32/g < $(srcdir)/elfnn-aarch64.c > elf32-aarch64.new
+       mv -f elf32-aarch64.new elf32-aarch64.c
+
 elf64-aarch64.c : elfnn-aarch64.c
        rm -f elf64-aarch64.c
        sed -e s/NN/64/g < $(srcdir)/elfnn-aarch64.c > elf64-aarch64.new