From: Andreas Schwab Date: Fri, 23 Apr 2004 20:41:42 +0000 (+0000) Subject: Use __attribute_used__. X-Git-Tag: cvs/fedora-base~497 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d32b317640d593a4eafd88ebfe23753ec074fe0e;p=platform%2Fupstream%2Fglibc.git Use __attribute_used__. --- diff --git a/sysdeps/unix/sysv/linux/m68k/register-dump.h b/sysdeps/unix/sysv/linux/m68k/register-dump.h index bece6d5..a7ac3ca 100644 --- a/sysdeps/unix/sysv/linux/m68k/register-dump.h +++ b/sysdeps/unix/sysv/linux/m68k/register-dump.h @@ -1,5 +1,5 @@ /* Dump registers. - Copyright (C) 1998, 2002 Free Software Foundation, Inc. + Copyright (C) 1998, 2002, 2004 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Andreas Schwab . @@ -48,7 +48,7 @@ /* static */ void catch_segfault (int, int, struct sigcontext *); /* Dummy function so that we can use asm with arguments. */ -static void __attribute__ ((unused)) +static void __attribute_used__ __dummy__ (void) { asm ("\n\ @@ -64,7 +64,7 @@ catch_segfault:\n\ : : "n" (offsetof (struct sigcontext, sc_fpstate))); } #define catch_segfault(a,b) \ - __attribute__ ((unused)) real_catch_segfault(a,b) + __attribute_used__ real_catch_segfault(a,b) static void hexvalue (unsigned long int value, char *buf, size_t len)