aboutsummaryrefslogtreecommitdiff
path: root/gold/gold.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/gold.cc')
-rw-r--r--gold/gold.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/gold/gold.cc b/gold/gold.cc
index ae4b8b8..c65ba29 100644
--- a/gold/gold.cc
+++ b/gold/gold.cc
@@ -386,6 +386,9 @@ queue_middle_tasks(const General_options& options,
// TODO: if this is too slow, do this as a task, rather than inline.
symtab->detect_odr_violations(task, options.output_file_name());
+ // Create any automatic note sections.
+ layout->create_notes();
+
// Create any output sections required by any linker script.
layout->create_script_sections();