aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2011-06-09 00:51:39 +0000
committerCary Coutant <ccoutant@google.com>2011-06-09 00:51:39 +0000
commit61220854262b44474cf3e95f7594d69a73fbb63a (patch)
treeabbcf150e598e570efa35a8e0cd2070381c4a7c1
parentd49f7f803e1d4f53d11ae3348ba0155b4044f846 (diff)
downloadgdb-61220854262b44474cf3e95f7594d69a73fbb63a.zip
gdb-61220854262b44474cf3e95f7594d69a73fbb63a.tar.gz
gdb-61220854262b44474cf3e95f7594d69a73fbb63a.tar.bz2
PR gold/12804
* testsuite/two_file_test_2_v1.cc: Change initialization of v2 to keep it in .data.
-rw-r--r--gold/ChangeLog6
-rw-r--r--gold/testsuite/two_file_test_2_v1.cc2
2 files changed, 7 insertions, 1 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 9056d6b..15b0b0b 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -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
diff --git a/gold/testsuite/two_file_test_2_v1.cc b/gold/testsuite/two_file_test_2_v1.cc
index b97a677..ea26c66 100644
--- a/gold/testsuite/two_file_test_2_v1.cc
+++ b/gold/testsuite/two_file_test_2_v1.cc
@@ -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.