aboutsummaryrefslogtreecommitdiff
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
commit4f211c8bffeed1574606aeb4a3018611f3db3a21 (patch)
tree4ac241124efbbd1ce75b32a2f33169c8680f6599 /gold/layout.h
parent304fe2552d6e0821e8fdb7575f8e7ba6607a076d (diff)
downloadfsf-binutils-gdb-4f211c8bffeed1574606aeb4a3018611f3db3a21.zip
fsf-binutils-gdb-4f211c8bffeed1574606aeb4a3018611f3db3a21.tar.gz
fsf-binutils-gdb-4f211c8bffeed1574606aeb4a3018611f3db3a21.tar.bz2
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 3e09d62..90cc22b 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*