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/object.cc | |
parent | 8f7c79edf3b88a0eb9f11782add6ee61947afbb4 (diff) | |
download | binutils-gdb-ca09d69af126b596bf21c9d3f7639cae5cd32533.tar.gz |
* 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/object.cc')
-rw-r--r-- | gold/object.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gold/object.cc b/gold/object.cc index 5250fa3c2c4..bdeb1414bd6 100644 --- a/gold/object.cc +++ b/gold/object.cc @@ -1493,7 +1493,7 @@ Sized_relobj<size, big_endian>::do_layout(Symbol_table* symtab, gold_assert(external_symbols_offset != 0); unsigned int i = *p; - const unsigned char *pshdr; + const unsigned char* pshdr; pshdr = section_headers_data + i * This::shdr_size; typename This::Shdr shdr(pshdr); @@ -1932,7 +1932,7 @@ Sized_relobj<size, big_endian>::do_finalize_local_symbols(unsigned int index, Address secoffset = out_offsets[shndx]; if (symtab->is_section_folded(this, shndx)) { - gold_assert (os == NULL && secoffset == invalid_address); + gold_assert(os == NULL && secoffset == invalid_address); // Get the os of the section it is folded onto. Section_id folded = symtab->icf()->get_folded_section(this, shndx); @@ -2095,7 +2095,7 @@ uint64_t Sized_relobj<size, big_endian>::do_section_entsize(unsigned int shndx) { Symbols_data* sd = this->get_symbols_data(); - gold_assert (sd != NULL); + gold_assert(sd != NULL); const unsigned char* pshdrs = sd->section_headers_data + This::shdr_size * shndx; @@ -2597,7 +2597,7 @@ namespace gold bool is_elf_object(Input_file* input_file, off_t offset, - const unsigned char** start, int *read_size) + const unsigned char** start, int* read_size) { off_t filesize = input_file->file().filesize(); int want = elfcpp::Elf_recognizer::max_header_size; |