mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 01:28:46 +00:00
* 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.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user