From 7e1edb9089c4eec761d09d9bb0ce675eb0bcbc2b Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 21 Sep 2007 07:20:01 +0000 Subject: Add global parameters. --- gold/object.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'gold/object.h') diff --git a/gold/object.h b/gold/object.h index 2027f8e..a4b53da 100644 --- a/gold/object.h +++ b/gold/object.h @@ -171,9 +171,8 @@ class Object // Pass sections which should be included in the link to the Layout // object, and record where the sections go in the output file. void - layout(const General_options& options, Symbol_table* symtab, - Layout* layout, Read_symbols_data* sd) - { this->do_layout(options, symtab, layout, sd); } + layout(Symbol_table* symtab, Layout* layout, Read_symbols_data* sd) + { this->do_layout(symtab, layout, sd); } // Add symbol information to the global symbol table. void @@ -233,8 +232,7 @@ class Object // Lay out sections--implemented by child class. virtual void - do_layout(const General_options&, Symbol_table*, Layout*, - Read_symbols_data*) = 0; + do_layout(Symbol_table*, Layout*, Read_symbols_data*) = 0; // Add symbol information to the global symbol table--implemented by // child class. @@ -589,8 +587,7 @@ class Sized_relobj : public Relobj // Lay out the input sections. void - do_layout(const General_options&, Symbol_table*, Layout*, - Read_symbols_data*); + do_layout(Symbol_table*, Layout*, Read_symbols_data*); // Add the symbols to the symbol table. void -- cgit v1.1