aboutsummaryrefslogtreecommitdiff
path: root/gold/testsuite
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 /gold/testsuite
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.
Diffstat (limited to 'gold/testsuite')
-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 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.