* gas/cris/rd-bcnst2-pic.d, gas/cris/rd-bcnst2.d,
[deliverable/binutils-gdb.git] / gold / defstd.cc
index 568ab4a7c09da29f62983c1ed01ca93d9aee71af..984f3e1b042e44f5b41892ab9fec849d36e0c18d 100644 (file)
@@ -23,6 +23,7 @@
 #include "gold.h"
 
 #include "symtab.h"
+#include "layout.h"
 #include "defstd.h"
 
 // This is a simple file which defines the standard symbols like
@@ -249,11 +250,13 @@ namespace gold
 {
 
 void
-define_standard_symbols(Symbol_table* symtab, const Layout* layout,
-                       Target* target)
+define_standard_symbols(Symbol_table* symtab, const Layout* layout)
 {
-  symtab->define_symbols(layout, target, in_section_count, in_section);
-  symtab->define_symbols(layout, target, in_segment_count, in_segment);
+  bool saw_sections_clause = layout->script_options()->saw_sections_clause();
+  symtab->define_symbols(layout, in_section_count, in_section,
+                        saw_sections_clause);
+  symtab->define_symbols(layout, in_segment_count, in_segment,
+                        saw_sections_clause);
 }
 
 } // End namespace gold.
This page took 0.022682 seconds and 4 git commands to generate.