Don't try to use __attribute__ ((section ..)) #if (sgi). It doesn't

seem to be supported.  This probably means that aclocal.m4 needs to be
fixed so that it doesn't define SYS_AUTOLOAD in this case.  No time
now.  Adam?


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@614 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1995-09-27 23:00:12 +00:00
parent 3f05c8ed68
commit ab2d5f8b0c

View file

@ -182,7 +182,7 @@ _gnu_process_args(int argc, char *argv[], char *env[])
that it automatically gets called before main with the argument and
environment pointers. FIXME: Would like to do something similar
for other formats besides ELF. */
#if defined(__ELF__) || defined(SYS_AUTOLOAD)
#if (defined(__ELF__) || defined(SYS_AUTOLOAD)) && !(sgi)
#ifdef linux
/* Under linux the functions in __libc_subinit are called before the