summaryrefslogtreecommitdiff
path: root/gold/testsuite/two_file_test_2_v1.cc
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2011-06-09 00:51:38 +0000
committerCary Coutant <ccoutant@google.com>2011-06-09 00:51:38 +0000
commit4a955212d6798b4bc9246a44f26b88404f6dc7c4 (patch)
treeda2971da04a2e377b826f1ff7a7b84617873ffc5 /gold/testsuite/two_file_test_2_v1.cc
parenta4fae93359608c7f4db70558cee561efaf51cc18 (diff)
downloadbinutils-redhat-4a955212d6798b4bc9246a44f26b88404f6dc7c4.tar.gz
PR gold/12804
* testsuite/two_file_test_2_v1.cc: Change initialization of v2 to keep it in .data.
Diffstat (limited to 'gold/testsuite/two_file_test_2_v1.cc')
-rw-r--r--gold/testsuite/two_file_test_2_v1.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/testsuite/two_file_test_2_v1.cc b/gold/testsuite/two_file_test_2_v1.cc
index b97a677db5..ea26c66f1d 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.