(main): Set full_real_ld_suffix right.
From-SVN: r3346
if (*name == '/')
{
- if (access (name, X_OK))
+ if (access (name, X_OK) == 0)
{
strcpy (temp, name);
return temp;
char *ld_suffix = "ld";
char *full_ld_suffix = ld_suffix;
char *real_ld_suffix = "real-ld";
- char *full_real_ld_suffix = ld_suffix;
+ char *full_real_ld_suffix = real_ld_suffix;
char *gld_suffix = "gld";
char *full_gld_suffix = gld_suffix;
char *nm_suffix = "nm";