diff options
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. |