aboutsummaryrefslogtreecommitdiff
path: root/gold/fileread.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-02-08 07:06:58 +0000
committerIan Lance Taylor <iant@google.com>2008-02-08 07:06:58 +0000
commitbc644c6cfca852cd34e486a018bfde7fd1ac55e8 (patch)
tree0a3f5a7539df0cebdaddc0accf07a156e5c5221c /gold/fileread.h
parent897b09ca9f17a38ab9c552ae6933eb595283aa4c (diff)
downloadgdb-bc644c6cfca852cd34e486a018bfde7fd1ac55e8.zip
gdb-bc644c6cfca852cd34e486a018bfde7fd1ac55e8.tar.gz
gdb-bc644c6cfca852cd34e486a018bfde7fd1ac55e8.tar.bz2
Add support for --format binary for input files.
Diffstat (limited to 'gold/fileread.h')
-rw-r--r--gold/fileread.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/fileread.h b/gold/fileread.h
index 2a9e797..33c1f09 100644
--- a/gold/fileread.h
+++ b/gold/fileread.h
@@ -426,6 +426,10 @@ class Input_file
Input_file(const Input_file&);
Input_file& operator=(const Input_file&);
+ // Open a binary file.
+ bool
+ open_binary(const Task* task, const std::string& name);
+
// The argument from the command line.
const Input_file_argument* input_argument_;
// The name under which we opened the file. This is like the name