aboutsummaryrefslogtreecommitdiff
path: root/gold/layout.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2010-08-25 08:36:54 +0000
committerNick Clifton <nickc@redhat.com>2010-08-25 08:36:54 +0000
commitca09d69af126b596bf21c9d3f7639cae5cd32533 (patch)
tree8f00e4524bcf6ead8f612b858cf2aa9f4241a663 /gold/layout.h
parent8f7c79edf3b88a0eb9f11782add6ee61947afbb4 (diff)
downloadgdb-ca09d69af126b596bf21c9d3f7639cae5cd32533.zip
gdb-ca09d69af126b596bf21c9d3f7639cae5cd32533.tar.gz
gdb-ca09d69af126b596bf21c9d3f7639cae5cd32533.tar.bz2
* archive.cc: Formatting fixes: Remove whitespace between
typename and following asterisk. Remove whitespace between function name and opening parenthesis. * archive.h: Likewise. * arm.cc: Likewise. * attributes.cc: Likewise. * attributes.h: Likewise. * common.cc: Likewise. * copy-relocs.cc: Likewise. * dirsearch.h: Likewise. * dynobj.cc: Likewise. * ehframe.cc: Likewise. * ehframe.h: Likewise. * expression.cc: Likewise. * fileread.cc: Likewise. * fileread.h: Likewise. * gc.h: Likewise. * gold-threads.cc: Likewise. * gold.cc: Likewise. * i386.cc: Likewise. * icf.h: Likewise. * incremental-dump.cc: Likewise. * incremental.cc: Likewise. * layout.cc: Likewise. * layout.h: Likewise. * main.cc: Likewise. * merge.cc: Likewise. * merge.h: Likewise. * object.cc: Likewise. * object.h: Likewise. * options.cc: Likewise. * options.h: Likewise. * output.cc: Likewise. * output.h: Likewise. * plugin.cc: Likewise. * plugin.h: Likewise. * powerpc.cc: Likewise. * reloc.cc: Likewise. * script-c.h: Likewise. * script-sections.cc: Likewise. * script.cc: Likewise. * stringpool.cc: Likewise. * symtab.cc: Likewise. * symtab.h: Likewise. * target.cc: Likewise. * timer.cc: Likewise. * timer.h: Likewise. * version.cc: Likewise. * x86_64.cc: Likewise.
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 87ee09e..6e817ca 100644
--- a/gold/layout.h
+++ b/gold/layout.h
@@ -215,8 +215,8 @@ class Kept_section
// Look for a section name in the group list, and return whether it
// was found. If found, returns the section index and size.
bool
- find_comdat_section(const std::string& name, unsigned int *pshndx,
- uint64_t *psize) const
+ find_comdat_section(const std::string& name, unsigned int* pshndx,
+ uint64_t* psize) const
{
gold_assert(this->is_comdat_);
Comdat_group::const_iterator p = this->u_.group_sections->find(name);
@@ -230,7 +230,7 @@ class Kept_section
// If there is only one section in the group list, return true, and
// return the section index and size.
bool
- find_single_comdat_section(unsigned int *pshndx, uint64_t *psize) const
+ find_single_comdat_section(unsigned int* pshndx, uint64_t* psize) const
{
gold_assert(this->is_comdat_);
if (this->u_.group_sections->size() != 1)
@@ -779,7 +779,7 @@ class Layout
// Create a note section, filling in the header.
Output_section*
- create_note(const char* name, int note_type, const char *section_name,
+ 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 version.