From 811971141320a4b6a6af86c9efc9a48418accaab Mon Sep 17 00:00:00 2001 From: Yufeng Zhang Date: Wed, 26 Jun 2013 10:37:46 +0000 Subject: [PATCH] [AArch64, ILP32] 1/6 Rename elf64-aarch64.c to elfnn-aarch64.c bfd/ * Makefile.am (BFD64_BACKENDS_CFILES): Remove elf64-aarch64.c. (BUILD_CFILES): Add elf64-aarch64.c. (elf64-aarch64.c): New rule for generating from elfnn-aarch64.c. * Makefile.in: Re-generated. * elf64-aarch64.c: Rename to ... * elfnn-aarch64.c: ... this. --- bfd/ChangeLog | 9 +++++++++ bfd/Makefile.am | 7 ++++++- bfd/Makefile.in | 7 ++++++- bfd/{elf64-aarch64.c => elfnn-aarch64.c} | 0 4 files changed, 21 insertions(+), 2 deletions(-) rename bfd/{elf64-aarch64.c => elfnn-aarch64.c} (100%) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 55370917383..e521553e03a 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,12 @@ +2013-06-26 Yufeng Zhang + + * Makefile.am (BFD64_BACKENDS_CFILES): Remove elf64-aarch64.c. + (BUILD_CFILES): Add elf64-aarch64.c. + (elf64-aarch64.c): New rule for generating from elfnn-aarch64.c. + * Makefile.in: Re-generated. + * elf64-aarch64.c: Rename to ... + * elfnn-aarch64.c: ... this. + 2013-06-25 Maciej W. Rozycki Paul Brook diff --git a/bfd/Makefile.am b/bfd/Makefile.am index cacf7a384a3..5ed9bc76e05 100644 --- a/bfd/Makefile.am +++ b/bfd/Makefile.am @@ -678,7 +678,6 @@ BFD64_BACKENDS = \ vms-alpha.lo BFD64_BACKENDS_CFILES = \ - elf64-aarch64.c \ aix5ppc-core.c \ aout64.c \ coff-alpha.c \ @@ -764,6 +763,7 @@ SOURCE_CFILES = \ $(OPTIONAL_BACKENDS_CFILES) BUILD_CFILES = \ + elf64-aarch64.c \ elf32-ia64.c elf64-ia64.c peigen.c pepigen.c pex64igen.c CFILES = $(SOURCE_CFILES) $(BUILD_CFILES) @@ -912,6 +912,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 +elf64-aarch64.c : elfnn-aarch64.c + rm -f elf64-aarch64.c + sed -e s/NN/64/g < $(srcdir)/elfnn-aarch64.c > elf64-aarch64.new + mv -f elf64-aarch64.new elf64-aarch64.c + elf32-ia64.c : elfnn-ia64.c rm -f elf32-ia64.c sed -e s/NN/32/g < $(srcdir)/elfnn-ia64.c > elf32-ia64.new diff --git a/bfd/Makefile.in b/bfd/Makefile.in index 0463db68c13..d212ca565f6 100644 --- a/bfd/Makefile.in +++ b/bfd/Makefile.in @@ -981,7 +981,6 @@ BFD64_BACKENDS = \ vms-alpha.lo BFD64_BACKENDS_CFILES = \ - elf64-aarch64.c \ aix5ppc-core.c \ aout64.c \ coff-alpha.c \ @@ -1069,6 +1068,7 @@ SOURCE_CFILES = \ $(OPTIONAL_BACKENDS_CFILES) BUILD_CFILES = \ + elf64-aarch64.c \ elf32-ia64.c elf64-ia64.c peigen.c pepigen.c pex64igen.c CFILES = $(SOURCE_CFILES) $(BUILD_CFILES) @@ -1989,6 +1989,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 +elf64-aarch64.c : elfnn-aarch64.c + rm -f elf64-aarch64.c + sed -e s/NN/64/g < $(srcdir)/elfnn-aarch64.c > elf64-aarch64.new + mv -f elf64-aarch64.new elf64-aarch64.c + elf32-ia64.c : elfnn-ia64.c rm -f elf32-ia64.c sed -e s/NN/32/g < $(srcdir)/elfnn-ia64.c > elf32-ia64.new diff --git a/bfd/elf64-aarch64.c b/bfd/elfnn-aarch64.c similarity index 100% rename from bfd/elf64-aarch64.c rename to bfd/elfnn-aarch64.c -- 2.30.2