summaryrefslogtreecommitdiff
path: root/gold/layout.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-10-09 21:37:55 +0000
committerIan Lance Taylor <iant@google.com>2007-10-09 21:37:55 +0000
commit556258cea7dddb9633c8dea2e632536ef0d5fb89 (patch)
treebbd9743cd71a392b1a0e99504f929efa8a5f703d /gold/layout.h
parent385e5e47df0334cebd8e756602f8be301bd55f81 (diff)
downloadbinutils-redhat-556258cea7dddb9633c8dea2e632536ef0d5fb89.tar.gz
Create a note section with the version of gold.
Diffstat (limited to 'gold/layout.h')
-rw-r--r--gold/layout.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/layout.h b/gold/layout.h
index 3e09d62ca3..90cc22bb20 100644
--- a/gold/layout.h
+++ b/gold/layout.h
@@ -213,6 +213,10 @@ class Layout
const elfcpp::Shdr<size, big_endian>&,
Output_section*, off_t*);
+ // Create a .note section for gold.
+ void
+ create_note_section();
+
// Find the first read-only PT_LOAD segment, creating one if
// necessary.
Output_segment*