aboutsummaryrefslogtreecommitdiff
path: root/gold/layout.h
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2009-03-17 20:36:30 +0000
committerPaul Pluzhnikov <ppluzhnikov@google.com>2009-03-17 20:36:30 +0000
commitef4ab7a8185e12b2a2e76982a9fe82c8d0f10a38 (patch)
tree2d2e5e57ad4523880f8a2baa678c40989cbec5b2 /gold/layout.h
parent54a0b537b8b8ebf14fe9cb3fc82e1ae090d5d6bb (diff)
downloadgdb-ef4ab7a8185e12b2a2e76982a9fe82c8d0f10a38.zip
gdb-ef4ab7a8185e12b2a2e76982a9fe82c8d0f10a38.tar.gz
gdb-ef4ab7a8185e12b2a2e76982a9fe82c8d0f10a38.tar.bz2
2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
* layout.h (Layout::create_note): Add section_name parameter. * layout.cc (Layout::create_note): Likewise. (Layout::create_build_id, Layout::create_gold_note): Fix callers.
Diffstat (limited to 'gold/layout.h')
-rw-r--r--gold/layout.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gold/layout.h b/gold/layout.h
index ca0f89a..010ab2e 100644
--- a/gold/layout.h
+++ b/gold/layout.h
@@ -456,12 +456,12 @@ class Layout
};
typedef std::vector<Group_signature> Group_signatures;
- // Create a .note section, filling in the header.
+ // Create a note section, filling in the header.
Output_section*
- create_note(const char* name, int note_type, size_t descsz,
- bool allocate, size_t* trailing_padding);
+ create_note(const char* name, int note_type, const char *section_name,
+ size_t descsz, bool allocate, size_t* trailing_padding);
- // Create a .note section for gold.
+ // Create a note section for gold version.
void
create_gold_note();