[GOLD] Pass -Wl,-z to gcc, not plain -z
[binutils-gdb.git] / gold / testsuite / copy_test_2.cc
index 8fd722a937f4f977c3ca8ec99ec6d5acd14da1ab..ff2847e7a541acca50a2579902f2a1f0a9f9f5db 100644 (file)
@@ -1,6 +1,6 @@
 // copy_test_2.cc -- test copy relocs variables for gold
 
-// Copyright (C) 2008-2014 Free Software Foundation, Inc.
+// Copyright (C) 2008-2016 Free Software Foundation, Inc.
 // Written by Ian Lance Taylor <iant@google.com>.
 
 // This file is part of gold.
@@ -21,3 +21,5 @@
 // MA 02110-1301, USA.
 
 long long l = 2;
+
+int ip __attribute__((visibility("protected"))) = 3;