diff options
-rw-r--r-- | ld/ldlang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c index 64a8f60..a0ff122 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -3400,7 +3400,7 @@ open_output (const char *name) f = f->next_real_file) if (f->flags.real) { - char *in = lrealpath (f->filename); + char *in = lrealpath (f->local_sym_name); if (filename_cmp (in, out) == 0) einfo (_("%F%P: input file '%s' is the same as output file\n"), f->filename); |