diff options
author | Ian Lance Taylor <iant@google.com> | 2007-10-09 21:37:55 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-10-09 21:37:55 +0000 |
commit | 4f211c8bffeed1574606aeb4a3018611f3db3a21 (patch) | |
tree | 4ac241124efbbd1ce75b32a2f33169c8680f6599 /gold/layout.h | |
parent | 304fe2552d6e0821e8fdb7575f8e7ba6607a076d (diff) | |
download | gdb-4f211c8bffeed1574606aeb4a3018611f3db3a21.zip gdb-4f211c8bffeed1574606aeb4a3018611f3db3a21.tar.gz gdb-4f211c8bffeed1574606aeb4a3018611f3db3a21.tar.bz2 |
Create a note section with the version of gold.
Diffstat (limited to 'gold/layout.h')
-rw-r--r-- | gold/layout.h | 4 |
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* |