diff options
author | Nick Clifton <nickc@redhat.com> | 2010-08-25 08:36:54 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2010-08-25 08:36:54 +0000 |
commit | ca09d69af126b596bf21c9d3f7639cae5cd32533 (patch) | |
tree | 8f00e4524bcf6ead8f612b858cf2aa9f4241a663 /gold/symtab.cc | |
parent | 8f7c79edf3b88a0eb9f11782add6ee61947afbb4 (diff) | |
download | binutils-ca09d69af126b596bf21c9d3f7639cae5cd32533.zip binutils-ca09d69af126b596bf21c9d3f7639cae5cd32533.tar.gz binutils-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/symtab.cc')
-rw-r--r-- | gold/symtab.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gold/symtab.cc b/gold/symtab.cc index 5a59f4c..d8cda2d 100644 --- a/gold/symtab.cc +++ b/gold/symtab.cc @@ -539,7 +539,7 @@ Symbol_table::gc_mark_undef_symbols(Layout* layout) { const char* name = p->c_str(); Symbol* sym = this->lookup(name); - gold_assert (sym != NULL); + gold_assert(sym != NULL); if (sym->source() == Symbol::FROM_OBJECT && !sym->object()->is_dynamic()) { @@ -602,7 +602,7 @@ Symbol_table::gc_mark_dyn_syms(Symbol* sym) if (sym->in_dyn() && sym->source() == Symbol::FROM_OBJECT && !sym->object()->is_dynamic()) { - Relobj *obj = static_cast<Relobj*>(sym->object()); + Relobj* obj = static_cast<Relobj*>(sym->object()); bool is_ordinary; unsigned int shndx = sym->shndx(&is_ordinary); if (is_ordinary && shndx != elfcpp::SHN_UNDEF) @@ -863,9 +863,9 @@ Symbol_table::define_default_version(Sized_symbol<size>* sym, template<int size, bool big_endian> Sized_symbol<size>* Symbol_table::add_from_object(Object* object, - const char *name, + const char* name, Stringpool::Key name_key, - const char *version, + const char* version, Stringpool::Key version_key, bool is_default_version, const elfcpp::Sym<size, big_endian>& sym, @@ -1053,7 +1053,7 @@ Symbol_table::add_from_relobj( const char* sym_names, size_t sym_name_size, typename Sized_relobj<size, big_endian>::Symbols* sympointers, - size_t *defined) + size_t* defined) { *defined = 0; @@ -1581,7 +1581,7 @@ Sized_symbol<size>* Symbol_table::define_special_symbol(const char** pname, const char** pversion, bool only_if_ref, Sized_symbol<size>** poldsym, - bool *resolve_oldsym) + bool* resolve_oldsym) { *resolve_oldsym = false; @@ -2324,7 +2324,7 @@ Symbol_table::set_dynsym_indexes(unsigned int index, off_t Symbol_table::finalize(off_t off, off_t dynoff, size_t dyn_global_index, size_t dyncount, Stringpool* pool, - unsigned int *plocal_symcount) + unsigned int* plocal_symcount) { off_t ret; @@ -2927,7 +2927,7 @@ Symbol_table::warn_about_undefined_dynobj_symbol(Symbol* sym) const // Write out a section symbol. Return the update offset. void -Symbol_table::write_section_symbol(const Output_section *os, +Symbol_table::write_section_symbol(const Output_section* os, Output_symtab_xindex* symtab_xindex, Output_file* of, off_t offset) const |