* testsuite/start_lib_test_3.c: Mark t3 as used.
authorIan Lance Taylor <ian@airs.com>
Fri, 27 Aug 2010 17:57:50 +0000 (17:57 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 27 Aug 2010 17:57:50 +0000 (17:57 +0000)
gold/ChangeLog
gold/testsuite/start_lib_test_3.c

index d71c9c0200f7292ac444e7b8db2fec4461e77c6f..e1d051d1ed1baf651668176885ebc0eb6d4a2e8c 100644 (file)
@@ -1,3 +1,7 @@
+2010-08-27  Ian Lance Taylor  <iant@google.com>
+
+       * testsuite/start_lib_test_3.c: Mark t3 as used.
+
 2010-08-27  Nick Clifton  <nickc@redhat.com>
 
        * options.cc (version_script): Fix small typo in previous
index 86444e00995e63d22e3ef6e0a699dcb312094a52..79b467b73c18ee9f4cfe5ded7aa53783a4c1e3d4 100644 (file)
@@ -22,4 +22,4 @@
 
    This is a test of the --start-lib and --end-lib options.  */
 
-static char t3[] = "t3";
+static char t3[] __attribute__ ((used)) = "t3";