daily update
[deliverable/binutils-gdb.git] / gold / layout.cc
index 26ac130d4793a0cf0647bc7842feb93e4741321f..7afb21f2c4d5c2f3d5db82b25a96da36135bf5ac 100644 (file)
@@ -4371,6 +4371,16 @@ Layout::make_output_segment(elfcpp::Elf_Word type, elfcpp::Elf_Word flags)
   return oseg;
 }
 
+// Return the file offset of the normal symbol table.
+
+off_t
+Layout::symtab_section_offset() const
+{
+  if (this->symtab_section_ != NULL)
+    return this->symtab_section_->offset();
+  return 0;
+}
+
 // Write out the Output_sections.  Most won't have anything to write,
 // since most of the data will come from input sections which are
 // handled elsewhere.  But some Output_sections do have Output_data.
This page took 0.02322 seconds and 4 git commands to generate.