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.
This commit is contained in:
Paul Pluzhnikov
2009-03-17 20:36:30 +00:00
parent 54a0b537b8
commit ef4ab7a818
3 changed files with 17 additions and 8 deletions

View File

@@ -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();