aboutsummaryrefslogtreecommitdiff
path: root/gold/output.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/output.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/output.h')
-rw-r--r--gold/output.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/gold/output.h b/gold/output.h
index 1670704..40d8d3f 100644
--- a/gold/output.h
+++ b/gold/output.h
@@ -632,7 +632,7 @@ class Output_section_data : public Output_data
bool
output_offset(const Relobj* object, unsigned int shndx,
section_offset_type offset,
- section_offset_type *poutput) const
+ section_offset_type* poutput) const
{ return this->do_output_offset(object, shndx, offset, poutput); }
// Return whether this is the merge section for the input section
@@ -1373,7 +1373,7 @@ class Output_data_reloc_base : public Output_data_reloc_generic
// Set the entry size and the link.
void
- do_adjust_output_section(Output_section *os);
+ do_adjust_output_section(Output_section* os);
// Write to a map file.
void
@@ -1387,7 +1387,7 @@ class Output_data_reloc_base : public Output_data_reloc_generic
// Add a relocation entry.
void
- add(Output_data *od, const Output_reloc_type& reloc)
+ add(Output_data* od, const Output_reloc_type& reloc)
{
this->relocs_.push_back(reloc);
this->set_current_data_size(this->relocs_.size() * reloc_size);
@@ -2534,7 +2534,7 @@ class Output_section : public Output_data
template<int size, bool big_endian>
off_t
add_input_section(Layout* layout, Sized_relobj<size, big_endian>* object,
- unsigned int shndx, const char *name,
+ unsigned int shndx, const char* name,
const elfcpp::Shdr<size, big_endian>& shdr,
unsigned int reloc_shndx, bool have_sections_script);
@@ -2985,7 +2985,7 @@ class Output_section : public Output_data
}
// For a relaxed input section.
- Input_section(Output_relaxed_input_section *psection)
+ Input_section(Output_relaxed_input_section* psection)
: shndx_(RELAXED_INPUT_SECTION_CODE), p2align_(0),
section_order_index_(0)
{
@@ -3117,7 +3117,7 @@ class Output_section : public Output_data
set_output_section(Output_section* os)
{
gold_assert(!this->is_input_section());
- Output_section_data *posd =
+ Output_section_data* posd =
this->is_relaxed_input_section() ? this->u2_.poris : this->u2_.posd;
posd->set_output_section(os);
}
@@ -3156,7 +3156,7 @@ class Output_section : public Output_data
bool
output_offset(const Relobj* object, unsigned int shndx,
section_offset_type offset,
- section_offset_type *poutput) const;
+ section_offset_type* poutput) const;
// Return whether this is the merge section for the input section
// SHNDX in OBJECT.