aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2010-08-27 17:57:50 +0000
committerIan Lance Taylor <ian@airs.com>2010-08-27 17:57:50 +0000
commit809313cb61a90c5a18c9a4b553e0872f9a3c617d (patch)
treeed154108a9783c026b27ba50a993f41334ceccfc /gold
parent16be1145cbb1f197613787e689aa53479ba72afa (diff)
downloadgdb-809313cb61a90c5a18c9a4b553e0872f9a3c617d.zip
gdb-809313cb61a90c5a18c9a4b553e0872f9a3c617d.tar.gz
gdb-809313cb61a90c5a18c9a4b553e0872f9a3c617d.tar.bz2
* testsuite/start_lib_test_3.c: Mark t3 as used.
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog4
-rw-r--r--gold/testsuite/start_lib_test_3.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index d71c9c0..e1d051d 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -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
diff --git a/gold/testsuite/start_lib_test_3.c b/gold/testsuite/start_lib_test_3.c
index 86444e0..79b467b 100644
--- a/gold/testsuite/start_lib_test_3.c
+++ b/gold/testsuite/start_lib_test_3.c
@@ -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";