OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains4x.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
elfcpp/:
[pf3gnuchains/pf3gnuchains4x.git]
/
gold
/
options.cc
diff --git
a/gold/options.cc
b/gold/options.cc
index
da30a6d
..
03686e0
100644
(file)
--- a/
gold/options.cc
+++ b/
gold/options.cc
@@
-640,11
+640,13
@@
void
General_options::finalize()
{
// Normalize the strip modifiers. They have a total order:
General_options::finalize()
{
// Normalize the strip modifiers. They have a total order:
- // strip_all > strip_debug > strip_
debug_gdb. If one is true, set
- // all beneath it to true as well.
+ // strip_all > strip_debug > strip_
non_line > strip_debug_gdb.
+ //
If one is true, set
all beneath it to true as well.
if (this->strip_all())
this->set_strip_debug(true);
if (this->strip_debug())
if (this->strip_all())
this->set_strip_debug(true);
if (this->strip_debug())
+ this->set_strip_debug_non_line(true);
+ if (this->strip_debug_non_line())
this->set_strip_debug_gdb(true);
// If the user specifies both -s and -r, convert the -s to -S.
this->set_strip_debug_gdb(true);
// If the user specifies both -s and -r, convert the -s to -S.