From: drepper Date: Sun, 5 Oct 1997 23:49:19 +0000 (+0000) Subject: Add USE_REGPARMS and define internal_function based on this. X-Git-Tag: libc-ud-971011~285 X-Git-Url: http://git.csclub.uwaterloo.ca/?p=kopensolaris-gnu%2Fglibc.git;a=commitdiff_plain;h=7bddd8423141de4255c6a5e0746fb35f3305d473;hp=993c7b6e355f78d28024319135d55cb8543302af Add USE_REGPARMS and define internal_function based on this. --- diff --git a/config.h.in b/config.h.in index 1301d9ea68..f2fa9167d3 100644 --- a/config.h.in +++ b/config.h.in @@ -52,6 +52,17 @@ /* Define if gcc uses DWARF2 unwind information for exception support. */ #undef HAVE_DWARF2_UNWIND_INFO +/* Define is the regparm attribute shall be used for local functions + (gcc on ix86 only). */ +#undef USE_REGPARMS + + +/* Defined to some form of __attribute__ ((...)) if the compiler supports + a different, more efficient calling convention. */ +#ifdef USE_REGPARMS +# define internal_function __attribute__ ((regparm (3), stdcall)) +#endif + /* */