PR ld/10515
[binutils-gdb.git] / gold / layout.cc
index eb8aac75a5d13d62be901f7f9c1bd0f7e3880a47..6907295dc0a2af8943c0bd6fb253d8269f919a59 100644 (file)
@@ -2253,7 +2253,7 @@ Layout::create_symtab_sections(const Input_objects* input_objects,
        ++p)
     {
       unsigned int index = (*p)->finalize_local_symbols(local_symbol_index,
-                                                        off);
+                                                        off, symtab);
       off += (index - local_symbol_index) * symsize;
       local_symbol_index = index;
     }