aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2008-08-03 03:26:03 +0000
committerAlan Modra <amodra@gmail.com>2008-08-03 03:26:03 +0000
commitcc9b841ce6bfdd8383a76f0f9f4eaf2cf4b2d421 (patch)
tree7b618351d2dde9f2df4f50eb67c544f5fc948458 /ld
parent245f377a1ee1ae39f98c4f157e70699d5ecf59b8 (diff)
downloadgdb-cc9b841ce6bfdd8383a76f0f9f4eaf2cf4b2d421.zip
gdb-cc9b841ce6bfdd8383a76f0f9f4eaf2cf4b2d421.tar.gz
gdb-cc9b841ce6bfdd8383a76f0f9f4eaf2cf4b2d421.tar.bz2
* Makefile.am (spu_ovl.o): Merge rule into..
(spu_ovl.o_c): ..this one. Only run cpp for spu target. * Makefile.in: Regenerate.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/Makefile.am9
-rw-r--r--ld/Makefile.in9
3 files changed, 14 insertions, 10 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index a1fc001..7ed7e09 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,9 @@
+2008-08-03 Alan Modra <amodra@bigpond.net.au>
+
+ * Makefile.am (spu_ovl.o): Merge rule into..
+ (spu_ovl.o_c): ..this one. Only run cpp for spu target.
+ * Makefile.in: Regenerate.
+
2008-08-02 Jan Kratochvil <jan.kratochvil@redhat.com>
Include the spu_ovl ASCII form in the repository files.
diff --git a/ld/Makefile.am b/ld/Makefile.am
index 0e6cf62..5c212d7 100644
--- a/ld/Makefile.am
+++ b/ld/Makefile.am
@@ -731,13 +731,12 @@ eelf32_spu.c: $(srcdir)/emulparams/elf32_spu.sh $(srcdir)/emultempl/spuelf.em \
ldemul-list.h \
$(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
${GENSCRIPTS} elf32_spu "$(tdir_elf32_spu)"
-$(srcdir)/emultempl/spu_ovl.o_c: @MAINT@ spu_ovl.o
- ../binutils/bin2c <spu_ovl.o >$@
-spu_ovl.o: @MAINT@ $(srcdir)/emultempl/spu_ovl.S
- cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_ovl.S spu_ovl.s
+$(srcdir)/emultempl/spu_ovl.o_c: @MAINT@ $(srcdir)/emultempl/spu_ovl.S
if ../gas/as-new --version \
| grep 'target.*spu' >/dev/null 2>/dev/null; then \
- ../gas/as-new -o $@ spu_ovl.s; \
+ cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_ovl.S spu_ovl.s
+ ../gas/as-new -o spu_ovl.o spu_ovl.s; \
+ ../binutils/bin2c <spu_ovl.o >$@
fi
eelf32_i860.c: $(srcdir)/emulparams/elf32_i860.sh \
$(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
diff --git a/ld/Makefile.in b/ld/Makefile.in
index 08b8252..185d440 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -1560,13 +1560,12 @@ eelf32_spu.c: $(srcdir)/emulparams/elf32_spu.sh $(srcdir)/emultempl/spuelf.em \
ldemul-list.h \
$(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
${GENSCRIPTS} elf32_spu "$(tdir_elf32_spu)"
-$(srcdir)/emultempl/spu_ovl.o_c: @MAINT@ spu_ovl.o
- ../binutils/bin2c <spu_ovl.o >$@
-spu_ovl.o: @MAINT@ $(srcdir)/emultempl/spu_ovl.S
- cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_ovl.S spu_ovl.s
+$(srcdir)/emultempl/spu_ovl.o_c: @MAINT@ $(srcdir)/emultempl/spu_ovl.S
if ../gas/as-new --version \
| grep 'target.*spu' >/dev/null 2>/dev/null; then \
- ../gas/as-new -o $@ spu_ovl.s; \
+ cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_ovl.S spu_ovl.s
+ ../gas/as-new -o spu_ovl.o spu_ovl.s; \
+ ../binutils/bin2c <spu_ovl.o >$@
fi
eelf32_i860.c: $(srcdir)/emulparams/elf32_i860.sh \
$(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}