aboutsummaryrefslogtreecommitdiff
path: root/gold/fileread.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/fileread.cc')
-rw-r--r--gold/fileread.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gold/fileread.cc b/gold/fileread.cc
index f626028..a16738a 100644
--- a/gold/fileread.cc
+++ b/gold/fileread.cc
@@ -963,6 +963,8 @@ Input_file::find_file(const Dirsearch& dirpath, int* pindex,
input_argument->name());
return false;
}
+ *found_name = input_argument->name();
+ *namep = name;
*pindex = index + 1;
return true;
}