From: Cary Coutant Date: Thu, 9 Jun 2011 00:51:39 +0000 (+0000) Subject: PR gold/12804 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=61220854262b44474cf3e95f7594d69a73fbb63a;p=binutils-gdb.git PR gold/12804 * testsuite/two_file_test_2_v1.cc: Change initialization of v2 to keep it in .data. --- diff --git a/gold/ChangeLog b/gold/ChangeLog index 9056d6b0309..15b0b0b273f 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,9 @@ +2011-06-08 Cary Coutant + + PR gold/12804 + * testsuite/two_file_test_2_v1.cc: Change initialization of + v2 to keep it in .data. + 2011-06-07 Cary Coutant * 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 b97a677db55..ea26c66f1d5 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.