This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Fix for dlltool
- To: binutils at sourceware dot cygnus dot com
- Subject: Fix for dlltool
- From: Nick Clifton <nickc at cygnus dot com>
- Date: Tue, 26 Oct 1999 11:13:40 +0100
- Reply-to: nickc at cygnus dot co dot uk
Hi Guys,
DJ just pointed out a bug in my previous patch to dlltool that
rationalises assembling files. I have checked in the patch below to
fix this.
Cheers
Nick
1999-10-26 Nick Clifton <nickc@cygnus.com>
* dlltool.c (assemble_file): Remove spurious test of exp_name.
Index: dlltool.c
===================================================================
RCS file: /cvs/binutils/binutils/binutils/dlltool.c,v
retrieving revision 1.13
diff -p -r1.13 dlltool.c
*** dlltool.c 1999/10/22 15:50:28 1.13
--- dlltool.c 1999/10/26 10:08:49
*************** assemble_file (source, dest)
*** 1740,1747 ****
char * cmd;
cmd = (char *) alloca (strlen (ASM_SWITCHES) + strlen (as_flags)
! + strlen (exp_name) + strlen (source)
! + strlen (dest) + 50);
sprintf (cmd, "%s %s -o %s %s", ASM_SWITCHES, as_flags, dest, source);
--- 1740,1746 ----
char * cmd;
cmd = (char *) alloca (strlen (ASM_SWITCHES) + strlen (as_flags)
! + strlen (source) + strlen (dest) + 50);
sprintf (cmd, "%s %s -o %s %s", ASM_SWITCHES, as_flags, dest, source);