about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--config.h.in2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 01e9fea1b5..17f2831f14 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-06-23  Andreas Jaeger  <aj@suse.de>
+
+	* config.h.in: Don't use regparm with bounded pointers.
+
 2000-06-29  Ulrich Drepper  <drepper@redhat.com>
 
 	* stdlib/grouping.h: Correctly handle multibyte thousands
diff --git a/config.h.in b/config.h.in
index 20ac62532f..b28aa47548 100644
--- a/config.h.in
+++ b/config.h.in
@@ -76,7 +76,7 @@
 
 /* Defined to some form of __attribute__ ((...)) if the compiler supports
    a different, more efficient calling convention.  */
-#if defined USE_REGPARMS && !defined PROF
+#if defined USE_REGPARMS && !defined PROF && !defined __BOUNDED_POINTERS__
 # define internal_function __attribute__ ((regparm (3), stdcall))
 #endif