../include/dlfcn.h:14: warning: `regparm' attribute directive ignored

Andreas Jaeger aj@suse.de
Thu Jun 29 07:46:00 GMT 2000


Greg and Uli,

what do you think?  Is it ok to commit the appended patch?

Andreas

>>>>> Andreas Jaeger writes:

 > 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


More information about the Libc-hacker mailing list