This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
I tried to use Greg's current bounded pointer patches and failed (I
know it's not ready!). But I've noticed lots of these warnings:
../include/dlfcn.h:14: warning: `regparm' attribute directive ignored
The appended patch should fix this. Is it ok to commit?
Andreas
2000-06-23 Andreas Jaeger <aj@suse.de>
* config.h.in: Don't use regparm with bounded pointers.
============================================================
Index: config.h.in
--- config.h.in 2000/06/14 16:10:25 1.25
+++ config.h.in 2000/06/23 15:33:30
@@ -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
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |