PR 10876
authorIan Lance Taylor <ian@airs.com>
Sat, 7 Nov 2009 02:02:29 +0000 (02:02 +0000)
committerIan Lance Taylor <ian@airs.com>
Sat, 7 Nov 2009 02:02:29 +0000 (02:02 +0000)
* defstd.cc (in_segment): Set only_if_ref true for "end".

gold/ChangeLog
gold/defstd.cc

index 4afda97069f0fbacec34dc263fba5f3179d86a6f..8474f208636aa9497e1e6c9f9b62d99c04829cdf 100644 (file)
@@ -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.
index 97afda81836898f2a273acbdf39897310d4fda84..e09d8142ba74e9b574b6d3885f12a50b3ae0f73d 100644 (file)
@@ -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
   }
 };