PR gold/12804
authorCary Coutant <ccoutant@google.com>
Thu, 9 Jun 2011 00:51:39 +0000 (00:51 +0000)
committerCary Coutant <ccoutant@google.com>
Thu, 9 Jun 2011 00:51:39 +0000 (00:51 +0000)
* testsuite/two_file_test_2_v1.cc: Change initialization of
v2 to keep it in .data.

gold/ChangeLog
gold/testsuite/two_file_test_2_v1.cc

index 9056d6b..15b0b0b 100644 (file)
@@ -1,3 +1,9 @@
+2011-06-08  Cary Coutant  <ccoutant@google.com>
+
+       PR gold/12804
+       * testsuite/two_file_test_2_v1.cc: Change initialization of
+       v2 to keep it in .data.
+
 2011-06-07  Cary Coutant  <ccoutant@google.com>
 
        * common.cc (Symbol_table::do_allocate_commons_list): Call
index b97a677..ea26c66 100644 (file)
@@ -46,7 +46,7 @@ t1a()
 
 // 2  Code in file 1 refers to global data in file 2.
 
-int v2 = 0;
+int v2 = 1;
 
 // 3 Code in file 1 referes to common symbol in file 2.  This is
 // initialized at runtime to 789.