PR gold/12695

* layout.cc (Layout::symtab_section_shndx): New function.
	* layout.h (class Layout): Declare symtab_section_shndx.
	* output.cc (Output_section::write_header): Call it.
This commit is contained in:
Ian Lance Taylor
2011-06-29 21:26:40 +00:00
parent a4e064680b
commit 886f533ada
4 changed files with 23 additions and 1 deletions

View File

@@ -701,6 +701,10 @@ class Layout
off_t
symtab_section_offset() const;
// Return the section index of the normal symbol tabl.e
unsigned int
symtab_section_shndx() const;
// Return the dynamic symbol table.
Output_section*
dynsym_section() const