From 7bddd8423141de4255c6a5e0746fb35f3305d473 Mon Sep 17 00:00:00 2001 From: drepper Date: Sun, 5 Oct 1997 23:49:19 +0000 Subject: [PATCH] Add USE_REGPARMS and define internal_function based on this. --- config.h.in | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 + /* */ -- 2.11.0