OSDN Git Service

PR 10876
authorian <ian>
Sat, 7 Nov 2009 11:02:28 +0000 (11:02 +0000)
committerian <ian>
Sat, 7 Nov 2009 11:02:28 +0000 (11:02 +0000)
* defstd.cc (in_segment): Set only_if_ref true for "end".

gold/ChangeLog
gold/defstd.cc

index 4afda97..8474f20 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 97afda8..e09d814 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
   }
 };