diff options
author | Ian Lance Taylor <iant@google.com> | 2007-11-14 18:44:58 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-11-14 18:44:58 +0000 |
commit | 78f156961e3ba5ed89e28c0c82ca3c891cfdc017 (patch) | |
tree | 2200e6193feec909770ed91559c0f0749ce3d1ab /gold/gold.cc | |
parent | eb01e199fdf149d5e17945ebe6a413c07d278620 (diff) | |
download | gdb-78f156961e3ba5ed89e28c0c82ca3c891cfdc017.zip gdb-78f156961e3ba5ed89e28c0c82ca3c891cfdc017.tar.gz gdb-78f156961e3ba5ed89e28c0c82ca3c891cfdc017.tar.bz2 |
From Craig Silverstein: Report output file name with ODR violation
warning message.
Diffstat (limited to 'gold/gold.cc')
-rw-r--r-- | gold/gold.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/gold.cc b/gold/gold.cc index 2f17add..a4f145e 100644 --- a/gold/gold.cc +++ b/gold/gold.cc @@ -186,7 +186,7 @@ queue_middle_tasks(const General_options& options, // See if any of the input definitions violate the One Definition Rule. // TODO: if this is too slow, do this as a task, rather than inline. - symtab->detect_odr_violations(); + symtab->detect_odr_violations(options.output_file_name()); // Define some sections and symbols needed for a dynamic link. This // handles some cases we want to see before we read the relocs. |