This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Fix for dlltool


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);
  

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]