aboutsummaryrefslogtreecommitdiff
path: root/gold/fileread.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-02-07 01:51:25 +0000
committerIan Lance Taylor <iant@google.com>2008-02-07 01:51:25 +0000
commit88dd47ac00ee5a932bca9abbd2245c429dfd8f5b (patch)
tree494b3493adc0f1449c5a33f48002692a9e74ab17 /gold/fileread.h
parent2e444beaa07a2428b6409225840ce12d437d7805 (diff)
downloadgdb-88dd47ac00ee5a932bca9abbd2245c429dfd8f5b.zip
gdb-88dd47ac00ee5a932bca9abbd2245c429dfd8f5b.tar.gz
gdb-88dd47ac00ee5a932bca9abbd2245c429dfd8f5b.tar.bz2
Implement --just-symbols, including -R FILE. Fix symbol values when
doing a relocatable link.
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 5d3674b..2a9e797 100644
--- a/gold/fileread.h
+++ b/gold/fileread.h
@@ -418,6 +418,10 @@ class Input_file
is_in_sysroot() const
{ return this->is_in_sysroot_; }
+ // Return whether this file is to be read only for its symbols.
+ bool
+ just_symbols() const;
+
private:
Input_file(const Input_file&);
Input_file& operator=(const Input_file&);