Skip to content

Commit 27ba92a

Browse files
ld: rename ldirname to stat_ldirname
It conflicts with the ldirname function that will be added in the next libiberty sync. ld/: * ldlang.c (stat_ldirname): Rename from ldirname, all uses changed.
1 parent a22a215 commit 27ba92a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ld/ldlang.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ spec_match (const struct wildcard_spec *spec, const char *name)
322322
}
323323

324324
static char *
325-
ldirname (const char *name)
325+
stat_ldirname (const char *name)
326326
{
327327
const char *base = lbasename (name);
328328

@@ -1266,7 +1266,7 @@ new_afile (const char *name,
12661266
/* If name is a relative path, search the directory of the current linker
12671267
script first. */
12681268
if (from_filename && !IS_ABSOLUTE_PATH (name))
1269-
p->extra_search_path = ldirname (from_filename);
1269+
p->extra_search_path = stat_ldirname (from_filename);
12701270
p->flags.real = true;
12711271
p->flags.search_dirs = true;
12721272
break;

0 commit comments

Comments
 (0)