aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-02-28 22:43:35 +0000
committerIan Lance Taylor <ian@airs.com>1997-02-28 22:43:35 +0000
commit22f9f902d993f3a964db69dae1f814698454fca9 (patch)
tree12a3b900337c8b526c12cb9f7d842c354618b319 /ld
parent73769e1f0169f5c55faaeeff923602025682cce3 (diff)
downloadgdb-22f9f902d993f3a964db69dae1f814698454fca9.zip
gdb-22f9f902d993f3a964db69dae1f814698454fca9.tar.gz
gdb-22f9f902d993f3a964db69dae1f814698454fca9.tar.bz2
* ldmain.c (main): Call bfd_set_default_target.
* Makefile.in (ldmain.o): Define TARGET when compiling.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/Makefile.in2
2 files changed, 6 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 24201ff..90fd0ab 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+Fri Feb 28 17:42:27 1997 Ian Lance Taylor <ian@cygnus.com>
+
+ * ldmain.c (main): Call bfd_set_default_target.
+ * Makefile.in (ldmain.o): Define TARGET when compiling.
+
Thu Feb 27 11:41:03 1997 Ian Lance Taylor <ian@cygnus.com>
* ldmain.c (main): Don't initialize link_info.lprefix or
diff --git a/ld/Makefile.in b/ld/Makefile.in
index 0f84f70..5ee80a9 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -321,7 +321,7 @@ ldgram.c: ldgram.y
ldgram.h: ldgram.c
ldmain.o: ldmain.c config.status
- $(CC) -c -DDEFAULT_EMULATION='"$(EMUL)"' -DSCRIPTDIR='"$(scriptdir)"' $(ALL_CFLAGS) $<
+ $(CC) -c -DDEFAULT_EMULATION='"$(EMUL)"' -DSCRIPTDIR='"$(scriptdir)"' -DTARGET='"@target@"' $(ALL_CFLAGS) $<
ldemul-list.h: Makefile
(echo "/* This file is automatically generated. DO NOT EDIT! */";\