summaryrefslogtreecommitdiffstats
path: root/ld
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2008-01-23 16:05:45 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2008-01-23 16:05:45 +0000
commitf9dd0b02e897f9e362bbd853ee2f2777a5404ab5 (patch)
treeba02d7fbf1ccc92551701aa39b6d3e9db44fc12c /ld
parent2cb4f3d5a91ac608dd477d016dc9f695be516af0 (diff)
downloadppe42-binutils-f9dd0b02e897f9e362bbd853ee2f2777a5404ab5.tar.gz
ppe42-binutils-f9dd0b02e897f9e362bbd853ee2f2777a5404ab5.zip
* ld-gc/gc.c: Make sure used_func is not inlined.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog4
-rw-r--r--ld/testsuite/ld-gc/gc.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index ec2971ae73..f55e310a6a 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2008-01-23 Andreas Schwab <schwab@suse.de>
+
+ * ld-gc/gc.c: Make sure used_func is not inlined.
+
2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
* ld-gc/gc.exp: Use [which $CC] != 0.
diff --git a/ld/testsuite/ld-gc/gc.c b/ld/testsuite/ld-gc/gc.c
index c662f72f8b..6b356ad0aa 100644
--- a/ld/testsuite/ld-gc/gc.c
+++ b/ld/testsuite/ld-gc/gc.c
@@ -8,6 +8,7 @@ unused_func (int v)
}
int
+__attribute__((noinline))
used_func (int v)
{
return 2 * used_var;
OpenPOWER on IntegriCloud