[AArch64, ILP32] 1/6 Rename elf64-aarch64.c to elfnn-aarch64.c
authorYufeng Zhang <yufeng.zhang@arm.com>
Wed, 26 Jun 2013 10:37:46 +0000 (10:37 +0000)
committerYufeng Zhang <yufeng.zhang@arm.com>
Wed, 26 Jun 2013 10:37:46 +0000 (10:37 +0000)
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
bfd/Makefile.am
bfd/Makefile.in
bfd/elfnn-aarch64.c [moved from bfd/elf64-aarch64.c with 100% similarity]

index 5537091..e521553 100644 (file)
@@ -1,3 +1,12 @@
+2013-06-26  Yufeng Zhang  <yufeng.zhang@arm.com>
+
+       * 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  <macro@codesourcery.com>
             Paul Brook  <paul@codesourcery.com>
 
index cacf7a3..5ed9bc7 100644 (file)
@@ -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
index 0463db6..d212ca5 100644 (file)
@@ -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
similarity index 100%
rename from bfd/elf64-aarch64.c
rename to bfd/elfnn-aarch64.c