Remove spurious test of exp_name

This commit is contained in:
Nick Clifton 1999-10-26 10:10:51 +00:00
parent e514a9d642
commit 96925346de
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,7 @@
1999-10-26 Nick Clifton <nickc@cygnus.com>
* dlltool.c (assemble_file): Remove spurious test of exp_name.
1999-10-22 Nick Clifton <nickc@cygnus.com>
* dlltool.c (struct mac): Add new field 'how_default_as_switches'.

View File

@ -1740,8 +1740,7 @@ assemble_file (source, dest)
char * cmd;
cmd = (char *) alloca (strlen (ASM_SWITCHES) + strlen (as_flags)
+ strlen (exp_name) + strlen (source)
+ strlen (dest) + 50);
+ strlen (source) + strlen (dest) + 50);
sprintf (cmd, "%s %s -o %s %s", ASM_SWITCHES, as_flags, dest, source);