[AArch64, ILP32] 2/6 Parametrize elfnn-aarch64.c and add basic support in ld
[deliverable/binutils-gdb.git] / bfd / Makefile.in
index d212ca565f64a624faf22012ac44bd041f940705..2ad992ff6ce72d0f1f313c16cde7c90eb21fcec3 100644 (file)
@@ -941,6 +941,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 \
@@ -1068,7 +1069,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)
@@ -1397,6 +1398,7 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf-strtab.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf-vxworks.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf32-aarch64.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf32-am33lin.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf32-arc.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf32-arm.Plo@am__quote@
@@ -1989,6 +1991,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
This page took 0.024541 seconds and 4 git commands to generate.