Fix for dlltool
Nick Clifton
nickc@cygnus.com
Tue Oct 26 03:13:00 GMT 1999
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);
More information about the Binutils
mailing list