projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix possible bug when no args have been provided to the executable
[deliverable/binutils-gdb.git]
/
gold
/
reduced_debug_output.h
diff --git
a/gold/reduced_debug_output.h
b/gold/reduced_debug_output.h
index bd8da2237c2f74f197000bac1619cfaaca1817d9..7e43ac46082ab2f8fefd66ecad7b6d876eb315e6 100644
(file)
--- a/
gold/reduced_debug_output.h
+++ b/
gold/reduced_debug_output.h
@@
-1,6
+1,6
@@
// reduced_debug_output.h -- reduce debugging information -*- C++ -*-
// reduced_debug_output.h -- reduce debugging information -*- C++ -*-
-// Copyright
2008
Free Software Foundation, Inc.
+// Copyright
(C) 2008-2017
Free Software Foundation, Inc.
// Written by Caleb Howe <cshowe@google.com>.
// This file is part of gold.
// Written by Caleb Howe <cshowe@google.com>.
// This file is part of gold.
@@
-64,7
+64,7
@@
class Output_reduced_debug_abbrev_section : public Output_section
void
failed(std::string reason)
{
void
failed(std::string reason)
{
- gold_warning(reason.c_str());
+ gold_warning(
"%s",
reason.c_str());
failed_ = true;
}
failed_ = true;
}
@@
-110,7
+110,7
@@
class Output_reduced_debug_info_section : public Output_section
void
failed(std::string reason)
{
void
failed(std::string reason)
{
- gold_warning(reason.c_str());
+ gold_warning(
"%s",
reason.c_str());
this->failed_ = true;
}
this->failed_ = true;
}
This page took
0.023015 seconds
and
4
git commands to generate.