From 809313cb61a90c5a18c9a4b553e0872f9a3c617d Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 27 Aug 2010 17:57:50 +0000 Subject: [PATCH] * testsuite/start_lib_test_3.c: Mark t3 as used. --- gold/ChangeLog | 4 ++++ gold/testsuite/start_lib_test_3.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gold/ChangeLog b/gold/ChangeLog index d71c9c0200f..e1d051d1ed1 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,7 @@ +2010-08-27 Ian Lance Taylor + + * testsuite/start_lib_test_3.c: Mark t3 as used. + 2010-08-27 Nick Clifton * 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 86444e00995..79b467b73c1 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"; -- 2.30.2