From 22f9f902d993f3a964db69dae1f814698454fca9 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 28 Feb 1997 22:43:35 +0000 Subject: [PATCH] * ldmain.c (main): Call bfd_set_default_target. * Makefile.in (ldmain.o): Define TARGET when compiling. --- ld/ChangeLog | 5 +++++ ld/Makefile.in | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 24201ff227f..90fd0ab1b70 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +Fri Feb 28 17:42:27 1997 Ian Lance Taylor + + * 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 * ldmain.c (main): Don't initialize link_info.lprefix or diff --git a/ld/Makefile.in b/ld/Makefile.in index 0f84f70e850..5ee80a9692e 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! */";\ -- 2.30.2