summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-04-20 06:33:11 +0000
committerEric Andersen <andersen@codepoet.org>2004-04-20 06:33:11 +0000
commitfbfde146ca8e9e2c830bbd659027a6ca69aa8c33 (patch)
treec330cdd430849f6ed133ec1856f60f5d076a916f /libc/sysdeps/linux/sh
parent44ea58d5387b030e80ca1a5c1ea8bbd8bfc0cd54 (diff)
Cope with gcc 3.4's more aggressive persuit of attribute unused
Diffstat (limited to 'libc/sysdeps/linux/sh')
-rw-r--r--libc/sysdeps/linux/sh/bits/machine-gmon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/sh/bits/machine-gmon.h b/libc/sysdeps/linux/sh/bits/machine-gmon.h
index 6497859ad..f2ef019c7 100644
--- a/libc/sysdeps/linux/sh/bits/machine-gmon.h
+++ b/libc/sysdeps/linux/sh/bits/machine-gmon.h
@@ -21,7 +21,7 @@
#define mcount_internal __mcount_internal
#define _MCOUNT_DECL(frompc, selfpc) \
-static void __attribute__((unused)) mcount_internal (u_long frompc, u_long selfpc)
+static void __attribute_used__ mcount_internal (u_long frompc, u_long selfpc)
/*
* This mcount implementation expect the 'frompc' return address on