summaryrefslogtreecommitdiff
path: root/gold/script.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-02-04 22:54:31 +0000
committerIan Lance Taylor <iant@google.com>2008-02-04 22:54:31 +0000
commit1c4f3631bde4d056e02555d72009693de26da4bf (patch)
treef2ecece1db200a3681dfd01d6f6f429fc00789a2 /gold/script.h
parent15893b88b0e64f14a08e952a07d3e517c7926c8e (diff)
downloadbinutils-gdb-1c4f3631bde4d056e02555d72009693de26da4bf.tar.gz
Implement PHDRS.
Diffstat (limited to 'gold/script.h')
-rw-r--r--gold/script.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gold/script.h b/gold/script.h
index 257b479dcd1..09f104f66c2 100644
--- a/gold/script.h
+++ b/gold/script.h
@@ -331,6 +331,11 @@ class Script_options
saw_sections_clause() const
{ return this->script_sections_.saw_sections_clause(); }
+ // Whether we saw a PHDRS clause.
+ bool
+ saw_phdrs_clause() const
+ { return this->script_sections_.saw_phdrs_clause(); }
+
// Set section addresses using a SECTIONS clause. Return the
// segment which should hold the file header and segment headers;
// this may return NULL, in which case the headers are not in a