aboutsummaryrefslogtreecommitdiff
path: root/gold
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
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')
-rw-r--r--gold/ChangeLog5
-rw-r--r--gold/defstd.cc2
2 files changed, 6 insertions, 1 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 4afda97..8474f20 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,8 @@
+2009-11-06 Ian Lance Taylor <iant@google.com>
+
+ PR 10876
+ * defstd.cc (in_segment): Set only_if_ref true for "end".
+
2009-11-06 Doug Kwan <dougkwan@google.com>
* arm.cc (class Reloc_stub): Correct a comment.
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
}
};