aboutsummaryrefslogtreecommitdiff
path: root/gold/defstd.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2009-11-07 02:02:29 +0000
committerIan Lance Taylor <ian@airs.com>2009-11-07 02:02:29 +0000
commite53ad1b5b53e786aa3787d78da3be7b3b4e9bd30 (patch)
tree71acfab9a6b27df858787d8d401881c7265404ac /gold/defstd.cc
parent8aa5642e164489b0848dad76ad557d5388624ec5 (diff)
downloadgdb-e53ad1b5b53e786aa3787d78da3be7b3b4e9bd30.zip
gdb-e53ad1b5b53e786aa3787d78da3be7b3b4e9bd30.tar.gz
gdb-e53ad1b5b53e786aa3787d78da3be7b3b4e9bd30.tar.bz2
PR 10876
* defstd.cc (in_segment): Set only_if_ref true for "end".
Diffstat (limited to 'gold/defstd.cc')
-rw-r--r--gold/defstd.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/defstd.cc b/gold/defstd.cc
index 97afda8..e09d814 100644
--- a/gold/defstd.cc
+++ b/gold/defstd.cc
@@ -298,7 +298,7 @@ const Define_symbol_in_segment in_segment[] =
elfcpp::STV_DEFAULT, // visibility
0, // nonvis
Symbol::SEGMENT_END, // offset_from_base
- false // only_if_ref
+ true // only_if_ref
}
};