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/options.cc | |
parent | 8f7c79edf3b88a0eb9f11782add6ee61947afbb4 (diff) | |
download | gdb-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/options.cc')
-rw-r--r-- | gold/options.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gold/options.cc b/gold/options.cc index b209f85..eb26726 100644 --- a/gold/options.cc +++ b/gold/options.cc @@ -205,7 +205,7 @@ parse_int(const char* option_name, const char* arg, int* retval) } void -parse_uint64(const char* option_name, const char* arg, uint64_t *retval) +parse_uint64(const char* option_name, const char* arg, uint64_t* retval) { char* endptr; *retval = strtoull(arg, &endptr, 0); @@ -345,7 +345,7 @@ General_options::parse_library(const char*, const char* arg, Command_line* cmdline) { Input_file_argument::Input_file_type type; - const char *name; + const char* name; if (arg[0] == ':') { type = Input_file_argument::INPUT_FILE_TYPE_SEARCHED_FILE; @@ -522,7 +522,7 @@ void General_options::parse_exclude_libs(const char*, const char* arg, Command_line*) { - const char *p = arg; + const char* p = arg; while (*p != '\0') { @@ -542,7 +542,7 @@ General_options::parse_exclude_libs(const char*, const char* arg, // wild-card and matches any given name. bool -General_options::check_excluded_libs (const std::string &name) const +General_options::check_excluded_libs(const std::string &name) const { Unordered_set<std::string>::const_iterator p; @@ -556,7 +556,7 @@ General_options::check_excluded_libs (const std::string &name) const return true; // First strip off any directories in name. - const char *basename = lbasename(name.c_str()); + const char* basename = lbasename(name.c_str()); // Try finding an exact match. p = excluded_libs_.find(std::string(basename)); @@ -641,7 +641,7 @@ usage() } void -usage(const char* msg, const char *opt) +usage(const char* msg, const char* opt) { fprintf(stderr, _("%s: %s: %s\n"), @@ -1356,7 +1356,7 @@ Command_line::version_script() this->options_.finalize_dynamic_list(); Version_script_info* vsi = this->script_options_.version_script_info(); vsi->finalize(); - return *vsi; + return* vsi; } } // End namespace gold. |