aboutsummaryrefslogtreecommitdiff
path: root/gold/fileread.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-01-18 23:26:48 +0000
committerIan Lance Taylor <iant@google.com>2008-01-18 23:26:48 +0000
commit14144f39e4581f4f39bcd44c2f8336fee28b0220 (patch)
tree27a91c439e1201a53adafe630f40cf9d38b50f30 /gold/fileread.h
parent6c0784b28fbb83da4507af0aca9db625363925da (diff)
downloadgdb-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/fileread.h')
-rw-r--r--gold/fileread.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/gold/fileread.h b/gold/fileread.h
index 428c2f0..d430876 100644
--- a/gold/fileread.h
+++ b/gold/fileread.h
@@ -29,12 +29,13 @@
#include <map>
#include <string>
-#include "options.h"
#include "token.h"
namespace gold
{
+class Position_dependent_options;
+class Input_file_argument;
class Dirsearch;
class File_view;
@@ -383,8 +384,7 @@ class Input_file
// Return the name given by the user. For -lc this will return "c".
const char*
- name() const
- { return this->input_argument_->name(); }
+ name() const;
// Return the file name. For -lc this will return something like
// "/usr/lib/libc.so".
@@ -401,8 +401,7 @@ class Input_file
// Return the position dependent options.
const Position_dependent_options&
- options() const
- { return this->input_argument_->options(); }
+ options() const;
// Return the file.
File_read&