From fbfde146ca8e9e2c830bbd659027a6ca69aa8c33 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 20 Apr 2004 06:33:11 +0000 Subject: Cope with gcc 3.4's more aggressive persuit of attribute unused --- libc/sysdeps/linux/sh/bits/machine-gmon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/sh') 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 -- cgit v1.2.3