collect2.c (ldd_file_name): Bracket declaration with same manifests as use.

* collect2.c (ldd_file_name): Bracket declaration with same
        manifests as use.
        (full_real_ld_suffix): Deleted.  Variable was calloced and
        written into, but never read.

From-SVN: r18202
This commit is contained in:
Robert Lipe 1998-02-23 08:58:16 +00:00 committed by Robert Lipe
parent f7d98d58fb
commit 84bc3b4f02
2 changed files with 9 additions and 9 deletions

View File

@ -1,3 +1,10 @@
Mon Feb 23 10:47:39 1998 Robert Lipe <robertl@dgii.com>
* collect2.c (ldd_file_name): Bracket declaration with same
manifests as use.
(full_real_ld_suffix): Deleted. Variable was calloced and
written into, but never read.
1998-02-23 Mike Stump <mrs@wrs.com>
* configure.in: Add support for i386-wrs-vxworks configuration.

View File

@ -249,7 +249,9 @@ static char *import_file; /* <xxx>.p for AIX import list. */
char *ldout; /* File for ld errors. */
static char *output_file; /* Output file for ld. */
static char *nm_file_name; /* pathname of nm */
#ifdef LDD_SUFFIX
static char *ldd_file_name; /* pathname of ldd (or equivalent) */
#endif
static char *strip_file_name; /* pathname of strip */
char *c_file_name; /* pathname of gcc */
static char *initname, *fininame; /* names of init and fini funcs */
@ -960,9 +962,6 @@ main (argc, argv)
char *ld_suffix = "ld";
char *full_ld_suffix = ld_suffix;
char *real_ld_suffix = "real-ld";
#ifdef CROSS_COMPILE
char *full_real_ld_suffix = real_ld_suffix;
#endif
char *collect_ld_suffix = "collect-ld";
char *nm_suffix = "nm";
char *full_nm_suffix = nm_suffix;
@ -1108,12 +1107,6 @@ main (argc, argv)
strcat (full_ld_suffix, "-");
strcat (full_ld_suffix, ld_suffix);
full_real_ld_suffix
= xcalloc (strlen (real_ld_suffix) + strlen (target_machine) + 2, 1);
strcpy (full_real_ld_suffix, target_machine);
strcat (full_real_ld_suffix, "-");
strcat (full_real_ld_suffix, real_ld_suffix);
#if 0
full_gld_suffix
= xcalloc (strlen (gld_suffix) + strlen (target_machine) + 2, 1);