diff options
author | Ian Lance Taylor <iant@google.com> | 2008-01-18 23:26:48 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2008-01-18 23:26:48 +0000 |
commit | 14144f39e4581f4f39bcd44c2f8336fee28b0220 (patch) | |
tree | 27a91c439e1201a53adafe630f40cf9d38b50f30 /gold/output.h | |
parent | 6c0784b28fbb83da4507af0aca9db625363925da (diff) | |
download | gdb-14144f39e4581f4f39bcd44c2f8336fee28b0220.zip gdb-14144f39e4581f4f39bcd44c2f8336fee28b0220.tar.gz gdb-14144f39e4581f4f39bcd44c2f8336fee28b0220.tar.bz2 |
Don't include options.h in fileread.h. Remove General_options
reference from Output_file class.
Diffstat (limited to 'gold/output.h')
-rw-r--r-- | gold/output.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/gold/output.h b/gold/output.h index f384c8c..96c0247 100644 --- a/gold/output.h +++ b/gold/output.h @@ -2297,12 +2297,7 @@ class Output_segment class Output_file { public: - Output_file(const General_options& options, Target*); - - // Get a pointer to the target. - Target* - target() const - { return this->target_; } + Output_file(const char* name); // Open the output file. FILE_SIZE is the final size of the file. void @@ -2372,11 +2367,6 @@ class Output_file void unmap(); - - // General options. - const General_options& options_; - // Target. - Target* target_; // File name. const char* name_; // File descriptor. |