diff --git a/gnu/lib/libg2c3/arch/mipseb/config.h b/gnu/lib/libg2c3/arch/mipseb/config.h new file mode 100644 index 000000000000..e459c52810dd --- /dev/null +++ b/gnu/lib/libg2c3/arch/mipseb/config.h @@ -0,0 +1,129 @@ +/* This file is automatically generated. DO NOT EDIT! */ +/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ + +/* config.h. Generated automatically by configure. */ +/* config.hin. Generated automatically from configure.in by autoheader. */ + +/* Define to empty if the keyword does not work. */ +/* #undef const */ + +/* Define if your struct stat has st_blksize. */ +#define HAVE_ST_BLKSIZE 1 + +/* Define if your struct stat has st_blocks. */ +#define HAVE_ST_BLOCKS 1 + +/* Define if your struct stat has st_rdev. */ +#define HAVE_ST_RDEV 1 + +/* Define to `int' if doesn't define. */ +/* #undef mode_t */ + +/* Define to `int' if doesn't define. */ +/* #undef pid_t */ + +/* Define to `unsigned' if doesn't define. */ +/* #undef size_t */ + +/* Define if you have the ANSI C header files. */ +/* #undef STDC_HEADERS */ + +/* Define if you can safely include both and . */ +#define TIME_WITH_SYS_TIME 1 + +/* Define if your declares struct tm. */ +/* #undef TM_IN_SYS_TIME */ + +/* Define as the path of the `chmod' program. */ +#define CHMOD_PATH "/bin/chmod" + +/* Define if your gettimeofday takes only one argument. */ +/* #undef GETTIMEOFDAY_ONE_ARGUMENT */ + +/* Define if your gettimeofday takes a time zome argument. */ +#define HAVE_TIMEZONE 1 + +/* Define if you have the alarm function. */ +#define HAVE_ALARM 1 + +/* Define if you have the clock function. */ +#define HAVE_CLOCK 1 + +/* Define if you have the getcwd function. */ +#define HAVE_GETCWD 1 + +/* Define if you have the getgid function. */ +#define HAVE_GETGID 1 + +/* Define if you have the gethostname function. */ +#define HAVE_GETHOSTNAME 1 + +/* Define if you have the getlogin function. */ +#define HAVE_GETLOGIN 1 + +/* Define if you have the getrusage function. */ +#define HAVE_GETRUSAGE 1 + +/* Define if you have the gettimeofday function. */ +#define HAVE_GETTIMEOFDAY 1 + +/* Define if you have the getuid function. */ +#define HAVE_GETUID 1 + +/* Define if you have the getwd function. */ +#define HAVE_GETWD 1 + +/* Define if you have the kill function. */ +#define HAVE_KILL 1 + +/* Define if you have the link function. */ +#define HAVE_LINK 1 + +/* Define if you have the lstat function. */ +#define HAVE_LSTAT 1 + +/* Define if you have the strerror function. */ +#define HAVE_STRERROR 1 + +/* Define if you have the symlink function. */ +#define HAVE_SYMLINK 1 + +/* Define if you have the times function. */ +#define HAVE_TIMES 1 + +/* Define if you have the ttyname function. */ +#define HAVE_TTYNAME 1 + +/* Define if you have the header file. */ +#define HAVE_LIMITS_H 1 + +/* Define if you have the header file. */ +#define HAVE_STDLIB_H 1 + +/* Define if you have the header file. */ +#define HAVE_STRING_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_PARAM_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_TIME_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_TIMES_H 1 + +/* Define if you have the header file. */ +#define HAVE_UNISTD_H 1 + +/* Get Single Unix Specification semantics */ +#define _XOPEN_SOURCE 600L + +/* Get Single Unix Specification semantics */ +#define _XOPEN_SOURCE_EXTENDED 1 + +/* Solaris extensions */ +#define __EXTENSIONS__ 1 + +/* Get 64-bit file size support */ +#define _FILE_OFFSET_BITS 64 + diff --git a/gnu/lib/libg2c3/arch/mipseb/defs.mk b/gnu/lib/libg2c3/arch/mipseb/defs.mk new file mode 100644 index 000000000000..12489a337d9f --- /dev/null +++ b/gnu/lib/libg2c3/arch/mipseb/defs.mk @@ -0,0 +1,10 @@ +# This file is automatically generated. DO NOT EDIT! +# Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp +# +G_F2CEXT=abort derf derfc ef1asc ef1cmc erf erfc exit getarg getenv iargc signal system flush ftell fseek access besj0 besj1 besjn besy0 besy1 besyn chdir chmod ctime dbesj0 dbesj1 dbesjn dbesy0 dbesy1 dbesyn dtime etime fdate fgetc fget flush1 fnum fputc fput fstat gerror getcwd getgid getlog getpid getuid gmtime hostnm idate ierrno irand isatty itime kill link lnblnk lstat ltime mclock perror rand rename secnds second sleep srand stat symlnk time ttynam umask unlink vxttim alarm date_y2kbuggy date_y2kbug vxtidt_y2kbuggy vxtidt_y2kbug +G_ALL_CFLAGS=-I. -I${GNUHOSTDIST}/libf2c/libF77 -I.. -I${GNUHOSTDIST}/libf2c/libF77/.. -DRETSIGTYPE=void -Donexit=atexit -DSkip_f2c_Undefs=1 -DIEEE_COMPLEX_DIVIDE=1 -O2 +G_OBJS=F77_aloc.lo VersionF.lo s_rnge.lo abort_.lo getarg_.lo iargc_.lo getenv_.lo signal_.lo s_stop.lo s_paus.lo system_.lo cabs.lo derf_.lo derfc_.lo erf_.lo erfc_.lo sig_die.lo exit_.lo setarg.lo setsig.lo pow_ci.lo pow_dd.lo pow_di.lo pow_hh.lo pow_ii.lo pow_ri.lo pow_zi.lo pow_zz.lo pow_qq.lo c_abs.lo c_cos.lo c_div.lo c_exp.lo c_log.lo c_sin.lo c_sqrt.lo z_abs.lo z_cos.lo z_div.lo z_exp.lo z_log.lo z_sin.lo z_sqrt.lo r_abs.lo r_acos.lo r_asin.lo r_atan.lo r_atn2.lo r_cnjg.lo r_cos.lo r_cosh.lo r_dim.lo r_exp.lo r_imag.lo r_int.lo r_lg10.lo r_log.lo r_mod.lo r_nint.lo r_sign.lo r_sin.lo r_sinh.lo r_sqrt.lo r_tan.lo r_tanh.lo d_abs.lo d_acos.lo d_asin.lo d_atan.lo d_atn2.lo d_cnjg.lo d_cos.lo d_cosh.lo d_dim.lo d_exp.lo d_imag.lo d_int.lo d_lg10.lo d_log.lo d_mod.lo d_nint.lo d_prod.lo d_sign.lo d_sin.lo d_sinh.lo d_sqrt.lo d_tan.lo d_tanh.lo i_abs.lo i_dim.lo i_dnnt.lo i_indx.lo i_len.lo i_mod.lo i_nint.lo i_sign.lo h_abs.lo h_dim.lo h_dnnt.lo h_indx.lo h_len.lo h_mod.lo h_nint.lo h_sign.lo l_ge.lo l_gt.lo l_le.lo l_lt.lo hl_ge.lo hl_gt.lo hl_le.lo hl_lt.lo ef1asc_.lo ef1cmc_.lo s_cat.lo s_cmp.lo s_copy.lo lbitbits.lo lbitshft.lo qbitbits.lo qbitshft.lo +G_ALL_CFLAGS+=-I. -I${GNUHOSTDIST}/libf2c/libI77 -I.. -I${GNUHOSTDIST}/libf2c/libI77/.. -DHAVE_CONFIG_H -O2 +G_OBJS+=VersionI.lo backspace.lo close.lo dfe.lo dolio.lo due.lo endfile.lo err.lo fmt.lo fmtlib.lo iio.lo ilnw.lo inquire.lo lread.lo lwrite.lo open.lo rdfmt.lo rewind.lo rsfe.lo rsli.lo rsne.lo sfe.lo sue.lo typesize.lo uio.lo util.lo wref.lo wrtfmt.lo wsfe.lo wsle.lo wsne.lo xwsne.lo ftell_.lo +G_ALL_CFLAGS+=-I. -I${GNUHOSTDIST}/libf2c/libU77 -I${GNUHOSTDIST}/libf2c/libU77/../libI77 -I.. -I${GNUHOSTDIST}/libf2c/libU77/.. -DHAVE_CONFIG_H -O2 +G_OBJS+=VersionU.lo gerror_.lo perror_.lo ierrno_.lo itime_.lo time_.lo unlink_.lo fnum_.lo getpid_.lo getuid_.lo getgid_.lo kill_.lo rand_.lo srand_.lo irand_.lo sleep_.lo idate_.lo ctime_.lo etime_.lo dtime_.lo isatty_.lo ltime_.lo fstat_.lo stat_.lo lstat_.lo access_.lo link_.lo getlog_.lo ttynam_.lo getcwd_.lo symlnk_.lo vxttime_.lo vxtidate_.lo gmtime_.lo fdate_.lo secnds_.lo bes.lo dbes.lo chdir_.lo chmod_.lo lnblnk_.lo hostnm_.lo rename_.lo fgetc_.lo fputc_.lo umask_.lo sys_clock_.lo date_.lo second_.lo flush1_.lo mclock_.lo alarm_.lo datetime_.lo diff --git a/gnu/lib/libg2c3/arch/mipseb/g2c.h b/gnu/lib/libg2c3/arch/mipseb/g2c.h new file mode 100644 index 000000000000..57b52b6f1320 --- /dev/null +++ b/gnu/lib/libg2c3/arch/mipseb/g2c.h @@ -0,0 +1,237 @@ +/* This file is automatically generated. DO NOT EDIT! */ +/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ + +/* g2c.h -- g77 version of f2c (Standard Fortran to C header file) */ + +/* This file is generated by the g77 libg2c configuration process from a + file named g2c.hin. This process sets up the appropriate types, + defines the appropriate macros, and so on. The resulting g2c.h file + is used to build g77's copy of libf2c, named libg2c, and also can + be used when compiling C code produced by f2c to link the resulting + object file(s) with those produced by the same version of g77 that + produced this file, allowing inter-operability of f2c-compiled and + g77-compiled code. */ + +/** barf [ba:rf] 2. "He suggested using FORTRAN, and everybody barfed." + + - From The Shogakukan DICTIONARY OF NEW ENGLISH (Second edition) */ + +#ifndef F2C_INCLUDE +#define F2C_INCLUDE + +/* F2C_INTEGER will normally be `int' but would be `long' on 16-bit systems */ +/* we assume short, float are OK */ +typedef __g77_integer integer; +typedef __g77_uinteger uinteger; +typedef char *address; +typedef short int shortint; +typedef float real; +typedef double doublereal; +typedef struct { real r, i; } complex; +typedef struct { doublereal r, i; } doublecomplex; +typedef __g77_integer logical; +typedef short int shortlogical; +typedef char logical1; +typedef char integer1; +typedef __g77_longint longint; /* system-dependent */ +typedef __g77_ulongint ulongint; /* system-dependent */ +#define qbit_clear(a,b) ((a) & ~((ulongint)1 << (b))) +#define qbit_set(a,b) ((a) | ((ulongint)1 << (b))) + +#define TRUE_ (1) +#define FALSE_ (0) + +/* Extern is for use with -E */ +#ifndef Extern +#define Extern extern +#endif + +/* I/O stuff */ + +#ifdef f2c_i2 +#error "f2c_i2 will not work with g77!!!!" +/* for -i2 */ +typedef short flag; +typedef short ftnlen; +typedef short ftnint; +#else +typedef __g77_integer flag; +typedef __g77_integer ftnlen; +typedef __g77_integer ftnint; +#endif + +/*external read, write*/ +typedef struct +{ flag cierr; + ftnint ciunit; + flag ciend; + char *cifmt; + ftnint cirec; +} cilist; + +/*internal read, write*/ +typedef struct +{ flag icierr; + char *iciunit; + flag iciend; + char *icifmt; + ftnint icirlen; + ftnint icirnum; +} icilist; + +/*open*/ +typedef struct +{ flag oerr; + ftnint ounit; + char *ofnm; + ftnlen ofnmlen; + char *osta; + char *oacc; + char *ofm; + ftnint orl; + char *oblnk; +} olist; + +/*close*/ +typedef struct +{ flag cerr; + ftnint cunit; + char *csta; +} cllist; + +/*rewind, backspace, endfile*/ +typedef struct +{ flag aerr; + ftnint aunit; +} alist; + +/* inquire */ +typedef struct +{ flag inerr; + ftnint inunit; + char *infile; + ftnlen infilen; + ftnint *inex; /*parameters in standard's order*/ + ftnint *inopen; + ftnint *innum; + ftnint *innamed; + char *inname; + ftnlen innamlen; + char *inacc; + ftnlen inacclen; + char *inseq; + ftnlen inseqlen; + char *indir; + ftnlen indirlen; + char *infmt; + ftnlen infmtlen; + char *inform; + ftnint informlen; + char *inunf; + ftnlen inunflen; + ftnint *inrecl; + ftnint *innrec; + char *inblank; + ftnlen inblanklen; +} inlist; + +union Multitype { /* for multiple entry points */ + integer1 g; + shortint h; + integer i; + /* longint j; */ + real r; + doublereal d; + complex c; + doublecomplex z; + }; + +typedef union Multitype Multitype; + +/*typedef long int Long;*/ /* No longer used; formerly in Namelist */ + +struct Vardesc { /* for Namelist */ + char *name; + char *addr; + ftnlen *dims; + int type; + }; +typedef struct Vardesc Vardesc; + +struct Namelist { + char *name; + Vardesc **vars; + int nvars; + }; +typedef struct Namelist Namelist; + +#define abs(x) ((x) >= 0 ? (x) : -(x)) +#define dabs(x) (doublereal)abs(x) +#define min(a,b) ((a) <= (b) ? (a) : (b)) +#define max(a,b) ((a) >= (b) ? (a) : (b)) +#define dmin(a,b) (doublereal)min(a,b) +#define dmax(a,b) (doublereal)max(a,b) +#define bit_test(a,b) ((a) >> (b) & 1) +#define bit_clear(a,b) ((a) & ~((uinteger)1 << (b))) +#define bit_set(a,b) ((a) | ((uinteger)1 << (b))) + +/* procedure parameter types for -A and -C++ */ + +#define F2C_proc_par_types 1 +#ifdef __cplusplus +typedef int /* Unknown procedure type */ (*U_fp)(...); +typedef shortint (*J_fp)(...); +typedef integer (*I_fp)(...); +typedef real (*R_fp)(...); +typedef doublereal (*D_fp)(...), (*E_fp)(...); +typedef /* Complex */ void (*C_fp)(...); +typedef /* Double Complex */ void (*Z_fp)(...); +typedef logical (*L_fp)(...); +typedef shortlogical (*K_fp)(...); +typedef /* Character */ void (*H_fp)(...); +typedef /* Subroutine */ int (*S_fp)(...); +#else +typedef int /* Unknown procedure type */ (*U_fp)(); +typedef shortint (*J_fp)(); +typedef integer (*I_fp)(); +typedef real (*R_fp)(); +typedef doublereal (*D_fp)(), (*E_fp)(); +typedef /* Complex */ void (*C_fp)(); +typedef /* Double Complex */ void (*Z_fp)(); +typedef logical (*L_fp)(); +typedef shortlogical (*K_fp)(); +typedef /* Character */ void (*H_fp)(); +typedef /* Subroutine */ int (*S_fp)(); +#endif +/* E_fp is for real functions when -R is not specified */ +typedef void C_f; /* complex function */ +typedef void H_f; /* character function */ +typedef void Z_f; /* double complex function */ +typedef doublereal E_f; /* real function with -R not specified */ + +/* undef any lower-case symbols that your C compiler predefines, e.g.: */ + +#ifndef Skip_f2c_Undefs +/* (No such symbols should be defined in a strict ANSI C compiler. + We can avoid trouble with f2c-translated code by using + gcc -ansi [-traditional].) */ +#undef cray +#undef gcos +#undef mc68010 +#undef mc68020 +#undef mips +#undef pdp11 +#undef sgi +#undef sparc +#undef sun +#undef sun2 +#undef sun3 +#undef sun4 +#undef u370 +#undef u3b +#undef u3b2 +#undef u3b5 +#undef unix +#undef vax +#endif +#endif diff --git a/gnu/lib/libg2c3/arch/mipsel/config.h b/gnu/lib/libg2c3/arch/mipsel/config.h new file mode 100644 index 000000000000..e459c52810dd --- /dev/null +++ b/gnu/lib/libg2c3/arch/mipsel/config.h @@ -0,0 +1,129 @@ +/* This file is automatically generated. DO NOT EDIT! */ +/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ + +/* config.h. Generated automatically by configure. */ +/* config.hin. Generated automatically from configure.in by autoheader. */ + +/* Define to empty if the keyword does not work. */ +/* #undef const */ + +/* Define if your struct stat has st_blksize. */ +#define HAVE_ST_BLKSIZE 1 + +/* Define if your struct stat has st_blocks. */ +#define HAVE_ST_BLOCKS 1 + +/* Define if your struct stat has st_rdev. */ +#define HAVE_ST_RDEV 1 + +/* Define to `int' if doesn't define. */ +/* #undef mode_t */ + +/* Define to `int' if doesn't define. */ +/* #undef pid_t */ + +/* Define to `unsigned' if doesn't define. */ +/* #undef size_t */ + +/* Define if you have the ANSI C header files. */ +/* #undef STDC_HEADERS */ + +/* Define if you can safely include both and . */ +#define TIME_WITH_SYS_TIME 1 + +/* Define if your declares struct tm. */ +/* #undef TM_IN_SYS_TIME */ + +/* Define as the path of the `chmod' program. */ +#define CHMOD_PATH "/bin/chmod" + +/* Define if your gettimeofday takes only one argument. */ +/* #undef GETTIMEOFDAY_ONE_ARGUMENT */ + +/* Define if your gettimeofday takes a time zome argument. */ +#define HAVE_TIMEZONE 1 + +/* Define if you have the alarm function. */ +#define HAVE_ALARM 1 + +/* Define if you have the clock function. */ +#define HAVE_CLOCK 1 + +/* Define if you have the getcwd function. */ +#define HAVE_GETCWD 1 + +/* Define if you have the getgid function. */ +#define HAVE_GETGID 1 + +/* Define if you have the gethostname function. */ +#define HAVE_GETHOSTNAME 1 + +/* Define if you have the getlogin function. */ +#define HAVE_GETLOGIN 1 + +/* Define if you have the getrusage function. */ +#define HAVE_GETRUSAGE 1 + +/* Define if you have the gettimeofday function. */ +#define HAVE_GETTIMEOFDAY 1 + +/* Define if you have the getuid function. */ +#define HAVE_GETUID 1 + +/* Define if you have the getwd function. */ +#define HAVE_GETWD 1 + +/* Define if you have the kill function. */ +#define HAVE_KILL 1 + +/* Define if you have the link function. */ +#define HAVE_LINK 1 + +/* Define if you have the lstat function. */ +#define HAVE_LSTAT 1 + +/* Define if you have the strerror function. */ +#define HAVE_STRERROR 1 + +/* Define if you have the symlink function. */ +#define HAVE_SYMLINK 1 + +/* Define if you have the times function. */ +#define HAVE_TIMES 1 + +/* Define if you have the ttyname function. */ +#define HAVE_TTYNAME 1 + +/* Define if you have the header file. */ +#define HAVE_LIMITS_H 1 + +/* Define if you have the header file. */ +#define HAVE_STDLIB_H 1 + +/* Define if you have the header file. */ +#define HAVE_STRING_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_PARAM_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_TIME_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_TIMES_H 1 + +/* Define if you have the header file. */ +#define HAVE_UNISTD_H 1 + +/* Get Single Unix Specification semantics */ +#define _XOPEN_SOURCE 600L + +/* Get Single Unix Specification semantics */ +#define _XOPEN_SOURCE_EXTENDED 1 + +/* Solaris extensions */ +#define __EXTENSIONS__ 1 + +/* Get 64-bit file size support */ +#define _FILE_OFFSET_BITS 64 + diff --git a/gnu/lib/libg2c3/arch/mipsel/defs.mk b/gnu/lib/libg2c3/arch/mipsel/defs.mk new file mode 100644 index 000000000000..12489a337d9f --- /dev/null +++ b/gnu/lib/libg2c3/arch/mipsel/defs.mk @@ -0,0 +1,10 @@ +# This file is automatically generated. DO NOT EDIT! +# Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp +# +G_F2CEXT=abort derf derfc ef1asc ef1cmc erf erfc exit getarg getenv iargc signal system flush ftell fseek access besj0 besj1 besjn besy0 besy1 besyn chdir chmod ctime dbesj0 dbesj1 dbesjn dbesy0 dbesy1 dbesyn dtime etime fdate fgetc fget flush1 fnum fputc fput fstat gerror getcwd getgid getlog getpid getuid gmtime hostnm idate ierrno irand isatty itime kill link lnblnk lstat ltime mclock perror rand rename secnds second sleep srand stat symlnk time ttynam umask unlink vxttim alarm date_y2kbuggy date_y2kbug vxtidt_y2kbuggy vxtidt_y2kbug +G_ALL_CFLAGS=-I. -I${GNUHOSTDIST}/libf2c/libF77 -I.. -I${GNUHOSTDIST}/libf2c/libF77/.. -DRETSIGTYPE=void -Donexit=atexit -DSkip_f2c_Undefs=1 -DIEEE_COMPLEX_DIVIDE=1 -O2 +G_OBJS=F77_aloc.lo VersionF.lo s_rnge.lo abort_.lo getarg_.lo iargc_.lo getenv_.lo signal_.lo s_stop.lo s_paus.lo system_.lo cabs.lo derf_.lo derfc_.lo erf_.lo erfc_.lo sig_die.lo exit_.lo setarg.lo setsig.lo pow_ci.lo pow_dd.lo pow_di.lo pow_hh.lo pow_ii.lo pow_ri.lo pow_zi.lo pow_zz.lo pow_qq.lo c_abs.lo c_cos.lo c_div.lo c_exp.lo c_log.lo c_sin.lo c_sqrt.lo z_abs.lo z_cos.lo z_div.lo z_exp.lo z_log.lo z_sin.lo z_sqrt.lo r_abs.lo r_acos.lo r_asin.lo r_atan.lo r_atn2.lo r_cnjg.lo r_cos.lo r_cosh.lo r_dim.lo r_exp.lo r_imag.lo r_int.lo r_lg10.lo r_log.lo r_mod.lo r_nint.lo r_sign.lo r_sin.lo r_sinh.lo r_sqrt.lo r_tan.lo r_tanh.lo d_abs.lo d_acos.lo d_asin.lo d_atan.lo d_atn2.lo d_cnjg.lo d_cos.lo d_cosh.lo d_dim.lo d_exp.lo d_imag.lo d_int.lo d_lg10.lo d_log.lo d_mod.lo d_nint.lo d_prod.lo d_sign.lo d_sin.lo d_sinh.lo d_sqrt.lo d_tan.lo d_tanh.lo i_abs.lo i_dim.lo i_dnnt.lo i_indx.lo i_len.lo i_mod.lo i_nint.lo i_sign.lo h_abs.lo h_dim.lo h_dnnt.lo h_indx.lo h_len.lo h_mod.lo h_nint.lo h_sign.lo l_ge.lo l_gt.lo l_le.lo l_lt.lo hl_ge.lo hl_gt.lo hl_le.lo hl_lt.lo ef1asc_.lo ef1cmc_.lo s_cat.lo s_cmp.lo s_copy.lo lbitbits.lo lbitshft.lo qbitbits.lo qbitshft.lo +G_ALL_CFLAGS+=-I. -I${GNUHOSTDIST}/libf2c/libI77 -I.. -I${GNUHOSTDIST}/libf2c/libI77/.. -DHAVE_CONFIG_H -O2 +G_OBJS+=VersionI.lo backspace.lo close.lo dfe.lo dolio.lo due.lo endfile.lo err.lo fmt.lo fmtlib.lo iio.lo ilnw.lo inquire.lo lread.lo lwrite.lo open.lo rdfmt.lo rewind.lo rsfe.lo rsli.lo rsne.lo sfe.lo sue.lo typesize.lo uio.lo util.lo wref.lo wrtfmt.lo wsfe.lo wsle.lo wsne.lo xwsne.lo ftell_.lo +G_ALL_CFLAGS+=-I. -I${GNUHOSTDIST}/libf2c/libU77 -I${GNUHOSTDIST}/libf2c/libU77/../libI77 -I.. -I${GNUHOSTDIST}/libf2c/libU77/.. -DHAVE_CONFIG_H -O2 +G_OBJS+=VersionU.lo gerror_.lo perror_.lo ierrno_.lo itime_.lo time_.lo unlink_.lo fnum_.lo getpid_.lo getuid_.lo getgid_.lo kill_.lo rand_.lo srand_.lo irand_.lo sleep_.lo idate_.lo ctime_.lo etime_.lo dtime_.lo isatty_.lo ltime_.lo fstat_.lo stat_.lo lstat_.lo access_.lo link_.lo getlog_.lo ttynam_.lo getcwd_.lo symlnk_.lo vxttime_.lo vxtidate_.lo gmtime_.lo fdate_.lo secnds_.lo bes.lo dbes.lo chdir_.lo chmod_.lo lnblnk_.lo hostnm_.lo rename_.lo fgetc_.lo fputc_.lo umask_.lo sys_clock_.lo date_.lo second_.lo flush1_.lo mclock_.lo alarm_.lo datetime_.lo diff --git a/gnu/lib/libg2c3/arch/mipsel/g2c.h b/gnu/lib/libg2c3/arch/mipsel/g2c.h new file mode 100644 index 000000000000..57b52b6f1320 --- /dev/null +++ b/gnu/lib/libg2c3/arch/mipsel/g2c.h @@ -0,0 +1,237 @@ +/* This file is automatically generated. DO NOT EDIT! */ +/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ + +/* g2c.h -- g77 version of f2c (Standard Fortran to C header file) */ + +/* This file is generated by the g77 libg2c configuration process from a + file named g2c.hin. This process sets up the appropriate types, + defines the appropriate macros, and so on. The resulting g2c.h file + is used to build g77's copy of libf2c, named libg2c, and also can + be used when compiling C code produced by f2c to link the resulting + object file(s) with those produced by the same version of g77 that + produced this file, allowing inter-operability of f2c-compiled and + g77-compiled code. */ + +/** barf [ba:rf] 2. "He suggested using FORTRAN, and everybody barfed." + + - From The Shogakukan DICTIONARY OF NEW ENGLISH (Second edition) */ + +#ifndef F2C_INCLUDE +#define F2C_INCLUDE + +/* F2C_INTEGER will normally be `int' but would be `long' on 16-bit systems */ +/* we assume short, float are OK */ +typedef __g77_integer integer; +typedef __g77_uinteger uinteger; +typedef char *address; +typedef short int shortint; +typedef float real; +typedef double doublereal; +typedef struct { real r, i; } complex; +typedef struct { doublereal r, i; } doublecomplex; +typedef __g77_integer logical; +typedef short int shortlogical; +typedef char logical1; +typedef char integer1; +typedef __g77_longint longint; /* system-dependent */ +typedef __g77_ulongint ulongint; /* system-dependent */ +#define qbit_clear(a,b) ((a) & ~((ulongint)1 << (b))) +#define qbit_set(a,b) ((a) | ((ulongint)1 << (b))) + +#define TRUE_ (1) +#define FALSE_ (0) + +/* Extern is for use with -E */ +#ifndef Extern +#define Extern extern +#endif + +/* I/O stuff */ + +#ifdef f2c_i2 +#error "f2c_i2 will not work with g77!!!!" +/* for -i2 */ +typedef short flag; +typedef short ftnlen; +typedef short ftnint; +#else +typedef __g77_integer flag; +typedef __g77_integer ftnlen; +typedef __g77_integer ftnint; +#endif + +/*external read, write*/ +typedef struct +{ flag cierr; + ftnint ciunit; + flag ciend; + char *cifmt; + ftnint cirec; +} cilist; + +/*internal read, write*/ +typedef struct +{ flag icierr; + char *iciunit; + flag iciend; + char *icifmt; + ftnint icirlen; + ftnint icirnum; +} icilist; + +/*open*/ +typedef struct +{ flag oerr; + ftnint ounit; + char *ofnm; + ftnlen ofnmlen; + char *osta; + char *oacc; + char *ofm; + ftnint orl; + char *oblnk; +} olist; + +/*close*/ +typedef struct +{ flag cerr; + ftnint cunit; + char *csta; +} cllist; + +/*rewind, backspace, endfile*/ +typedef struct +{ flag aerr; + ftnint aunit; +} alist; + +/* inquire */ +typedef struct +{ flag inerr; + ftnint inunit; + char *infile; + ftnlen infilen; + ftnint *inex; /*parameters in standard's order*/ + ftnint *inopen; + ftnint *innum; + ftnint *innamed; + char *inname; + ftnlen innamlen; + char *inacc; + ftnlen inacclen; + char *inseq; + ftnlen inseqlen; + char *indir; + ftnlen indirlen; + char *infmt; + ftnlen infmtlen; + char *inform; + ftnint informlen; + char *inunf; + ftnlen inunflen; + ftnint *inrecl; + ftnint *innrec; + char *inblank; + ftnlen inblanklen; +} inlist; + +union Multitype { /* for multiple entry points */ + integer1 g; + shortint h; + integer i; + /* longint j; */ + real r; + doublereal d; + complex c; + doublecomplex z; + }; + +typedef union Multitype Multitype; + +/*typedef long int Long;*/ /* No longer used; formerly in Namelist */ + +struct Vardesc { /* for Namelist */ + char *name; + char *addr; + ftnlen *dims; + int type; + }; +typedef struct Vardesc Vardesc; + +struct Namelist { + char *name; + Vardesc **vars; + int nvars; + }; +typedef struct Namelist Namelist; + +#define abs(x) ((x) >= 0 ? (x) : -(x)) +#define dabs(x) (doublereal)abs(x) +#define min(a,b) ((a) <= (b) ? (a) : (b)) +#define max(a,b) ((a) >= (b) ? (a) : (b)) +#define dmin(a,b) (doublereal)min(a,b) +#define dmax(a,b) (doublereal)max(a,b) +#define bit_test(a,b) ((a) >> (b) & 1) +#define bit_clear(a,b) ((a) & ~((uinteger)1 << (b))) +#define bit_set(a,b) ((a) | ((uinteger)1 << (b))) + +/* procedure parameter types for -A and -C++ */ + +#define F2C_proc_par_types 1 +#ifdef __cplusplus +typedef int /* Unknown procedure type */ (*U_fp)(...); +typedef shortint (*J_fp)(...); +typedef integer (*I_fp)(...); +typedef real (*R_fp)(...); +typedef doublereal (*D_fp)(...), (*E_fp)(...); +typedef /* Complex */ void (*C_fp)(...); +typedef /* Double Complex */ void (*Z_fp)(...); +typedef logical (*L_fp)(...); +typedef shortlogical (*K_fp)(...); +typedef /* Character */ void (*H_fp)(...); +typedef /* Subroutine */ int (*S_fp)(...); +#else +typedef int /* Unknown procedure type */ (*U_fp)(); +typedef shortint (*J_fp)(); +typedef integer (*I_fp)(); +typedef real (*R_fp)(); +typedef doublereal (*D_fp)(), (*E_fp)(); +typedef /* Complex */ void (*C_fp)(); +typedef /* Double Complex */ void (*Z_fp)(); +typedef logical (*L_fp)(); +typedef shortlogical (*K_fp)(); +typedef /* Character */ void (*H_fp)(); +typedef /* Subroutine */ int (*S_fp)(); +#endif +/* E_fp is for real functions when -R is not specified */ +typedef void C_f; /* complex function */ +typedef void H_f; /* character function */ +typedef void Z_f; /* double complex function */ +typedef doublereal E_f; /* real function with -R not specified */ + +/* undef any lower-case symbols that your C compiler predefines, e.g.: */ + +#ifndef Skip_f2c_Undefs +/* (No such symbols should be defined in a strict ANSI C compiler. + We can avoid trouble with f2c-translated code by using + gcc -ansi [-traditional].) */ +#undef cray +#undef gcos +#undef mc68010 +#undef mc68020 +#undef mips +#undef pdp11 +#undef sgi +#undef sparc +#undef sun +#undef sun2 +#undef sun3 +#undef sun4 +#undef u370 +#undef u3b +#undef u3b2 +#undef u3b5 +#undef unix +#undef vax +#endif +#endif diff --git a/gnu/lib/libgcc3/mipseb.mk b/gnu/lib/libgcc3/mipseb.mk new file mode 100644 index 000000000000..740864bef09a --- /dev/null +++ b/gnu/lib/libgcc3/mipseb.mk @@ -0,0 +1,18 @@ +# This file is automatically generated. DO NOT EDIT! +# Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp +# +G_CXX_EXTRA_HEADERS= +G_CXX_LIB2FUNCS= +G_CXX_LIB2SRCS= +G_INCLUDES=-I. -I. -I${GNUHOSTDIST}/gcc -I${GNUHOSTDIST}/gcc/. -I${GNUHOSTDIST}/gcc/config -I${GNUHOSTDIST}/gcc/../include +G_LIB2ADD= +G_LIB2ADDEH=${GNUHOSTDIST}/gcc/unwind-dw2.c ${GNUHOSTDIST}/gcc/unwind-dw2-fde.c ${GNUHOSTDIST}/gcc/unwind-sjlj.c ${GNUHOSTDIST}/gcc/unwind-c.c +G_LIB2FUNCS_1=_muldi3 _negdi2 _lshrdi3 _ashldi3 _ashrdi3 _ffsdi2 _clz _cmpdi2 _ucmpdi2 _floatdidf _floatdisf _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi _fixxfdi _fixunsxfdi +G_LIB2FUNCS_2=_floatdixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf _clear_cache _trampoline __main _exit _absvsi2 _absvdi2 _addvsi3 _addvdi3 _subvsi3 _subvdi3 _mulvsi3 _mulvdi3 _negvsi2 _negvdi2 _ctors +G_LIB2_DIVMOD_FUNCS=_divdi3 _moddi3 _udivdi3 _umoddi3 _udiv_w_sdiv _udivmoddi4 +G_LIB2FUNCS_ST=_eprintf _bb __gcc_bcmp +G_LIBGCC2_CFLAGS=-O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED +G_MAYBE_USE_COLLECT2= +G_tm_defines= +G_xm_file=ansidecl.h elfos.h mips/mips.h mips/netbsd.h defaults.h +G_xm_defines=POSIX diff --git a/gnu/lib/libgcc3/mipsel.mk b/gnu/lib/libgcc3/mipsel.mk new file mode 100644 index 000000000000..d620c7e6e07e --- /dev/null +++ b/gnu/lib/libgcc3/mipsel.mk @@ -0,0 +1,18 @@ +# This file is automatically generated. DO NOT EDIT! +# Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp +# +G_CXX_EXTRA_HEADERS= +G_CXX_LIB2FUNCS= +G_CXX_LIB2SRCS= +G_INCLUDES=-I. -I. -I${GNUHOSTDIST}/gcc -I${GNUHOSTDIST}/gcc/. -I${GNUHOSTDIST}/gcc/config -I${GNUHOSTDIST}/gcc/../include +G_LIB2ADD= +G_LIB2ADDEH=${GNUHOSTDIST}/gcc/unwind-dw2.c ${GNUHOSTDIST}/gcc/unwind-dw2-fde.c ${GNUHOSTDIST}/gcc/unwind-sjlj.c ${GNUHOSTDIST}/gcc/unwind-c.c +G_LIB2FUNCS_1=_muldi3 _negdi2 _lshrdi3 _ashldi3 _ashrdi3 _ffsdi2 _clz _cmpdi2 _ucmpdi2 _floatdidf _floatdisf _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi _fixxfdi _fixunsxfdi +G_LIB2FUNCS_2=_floatdixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf _clear_cache _trampoline __main _exit _absvsi2 _absvdi2 _addvsi3 _addvdi3 _subvsi3 _subvdi3 _mulvsi3 _mulvdi3 _negvsi2 _negvdi2 _ctors +G_LIB2_DIVMOD_FUNCS=_divdi3 _moddi3 _udivdi3 _umoddi3 _udiv_w_sdiv _udivmoddi4 +G_LIB2FUNCS_ST=_eprintf _bb __gcc_bcmp +G_LIBGCC2_CFLAGS=-O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED +G_MAYBE_USE_COLLECT2= +G_tm_defines=TARGET_ENDIAN_DEFAULT=0 +G_xm_file=ansidecl.h elfos.h mips/mips.h mips/netbsd.h defaults.h +G_xm_defines=POSIX diff --git a/gnu/lib/libstdc++-v3/arch/mipseb/c++config.h b/gnu/lib/libstdc++-v3/arch/mipseb/c++config.h new file mode 100644 index 000000000000..ce7276697c62 --- /dev/null +++ b/gnu/lib/libstdc++-v3/arch/mipseb/c++config.h @@ -0,0 +1,1228 @@ +/* This file is automatically generated. DO NOT EDIT! */ +/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ + +// Predefined symbols and macros -*- C++ -*- + +// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 +// Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +#ifndef _CPP_CPPCONFIG +#define _CPP_CPPCONFIG 1 + +// Pick up any OS-specific definitions. +#include + +// The current version of the C++ library in compressed ISO date format. +#define __GLIBCPP__ 20030720 + +// This is necessary until GCC supports separate template compilation. +#define _GLIBCPP_NO_TEMPLATE_EXPORT 1 + +// This is a hack around not having either pre-compiled headers or +// export compilation. If defined, the io, string, and valarray +// headers will include all the necessary bits. If not defined, the +// implementation optimizes the headers for the most commonly-used +// types. For the io library, this means that larger, out-of-line +// member functions are only declared, and definitions are not parsed +// by the compiler, but instead instantiated into the library binary. +#define _GLIBCPP_FULLY_COMPLIANT_HEADERS 1 + +// Allow use of the GNU syntax extension, "extern template." This +// extension is fully documented in the g++ manual, but in a nutshell, +// it inhibits all implicit instantiations and is used throughout the +// library to avoid multiple weak definitions for required types that +// are already explicitly instantiated in the library binary. This +// substantially reduces the binary size of resulting executables. +#ifndef _GLIBCPP_EXTERN_TEMPLATE +#define _GLIBCPP_EXTERN_TEMPLATE 1 +#endif + +// To enable older, ARM-style iostreams and other anachronisms use this. +//#define _GLIBCPP_DEPRECATED 1 + +// Use corrected code from the committee library group's issues list. +#define _GLIBCPP_RESOLVE_LIB_DEFECTS 1 + +// Hopefully temporary workaround to autoconf/m4 issue with quoting '@'. +#define _GLIBCPP_AT_AT "@@" + +// In those parts of the standard C++ library that use a mutex instead +// of a spin-lock, we now unconditionally use GCC's gthr.h mutex +// abstraction layer. All support to directly map to various +// threading models has been removed. Note: gthr.h may well map to +// gthr-single.h which is a correct way to express no threads support +// in gcc. Support for the undocumented _NOTHREADS has been removed. + +// Default to the typically high-speed, pool-based allocator (as +// libstdc++-v2) instead of the malloc-based allocator (libstdc++-v3 +// snapshots). See libstdc++-v3/docs/html/17_intro/howto.html for +// details on why you don't want to override this setting. Ensure +// that threads are properly configured on your platform before +// assigning blame to the STL container-memory allocator. After doing +// so, please report any possible issues to libstdc++@gcc.gnu.org . +// Do not define __USE_MALLOC on the command line. Enforce it here: +#ifdef __USE_MALLOC +#error __USE_MALLOC should never be defined. Read the release notes. +#endif + +// Create a boolean flag to be used to determine if --fast-math is set. +#ifdef __FAST_MATH__ +#define _GLIBCPP_FAST_MATH 1 +#else +#define _GLIBCPP_FAST_MATH 0 +#endif + +// The remainder of the prewritten config is mostly automatic; all the +// user hooks are listed above. + +// End of prewritten config; the discovered settings follow. +/* config.h. Generated automatically by configure. */ +/* config.h.in. Generated automatically from configure.in by autoheader. */ + +/* Define if you have a working `mmap' system call. */ +#define _GLIBCPP_HAVE_MMAP 1 + +// Define if GCC supports weak symbols. +/* #undef _GLIBCPP_SUPPORTS_WEAK */ + +// Include I/O support for 'long long' and 'unsigned long long'. +/* #undef _GLIBCPP_USE_LONG_LONG */ + +// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. +/* #undef _GLIBCPP_USE_C99 */ + +// Define if code specialized for wchar_t should be used. +/* #undef _GLIBCPP_USE_WCHAR_T */ + +// Define if using setrlimit to limit memory usage during 'make check'. +/* #undef _GLIBCPP_MEM_LIMITS */ + +// Define to use concept checking code from the boost libraries. +/* #undef _GLIBCPP_CONCEPT_CHECKS */ + +// Define to use symbol versioning in the shared library. +/* #undef _GLIBCPP_SYMVER */ + +// Define symbol versioning in assember directives. If symbol +// versioning is beigng used, and the assembler supports this kind of +// thing, then use it. +// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. +#if _GLIBCPP_SYMVER + #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ + asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); +#else + #define _GLIBCPP_ASM_SYMVER(cur, old, version) +#endif + +// Define if gthr-default.h exists (meaning that threading support is enabled). +/* #undef _GLIBCPP_HAVE_GTHR_DEFAULT */ + +// Define if drand48 exists. +/* #undef _GLIBCPP_HAVE_DRAND48 */ + +// Define if getpagesize exists. +/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ + +// Define if setenv exists. +/* #undef _GLIBCPP_HAVE_SETENV */ + +// Define if sigsetjmp exists. +/* #undef _GLIBCPP_HAVE_SIGSETJMP */ + +// Define if mbstate_t exists in wchar.h. +#define _GLIBCPP_HAVE_MBSTATE_T 1 + +// Define if you have the modff function. +#define _GLIBCPP_HAVE_MODFF 1 + +// Define if you have the modfl function. +/* #undef _GLIBCPP_HAVE_MODFL */ + +// Define if you have the expf function. +#define _GLIBCPP_HAVE_EXPF 1 + +// Define if you have the expl function. +/* #undef _GLIBCPP_HAVE_EXPL */ + +// Define if you have the hypotf function. +#define _GLIBCPP_HAVE_HYPOTF 1 + +// Define if you have the hypotl function. +/* #undef _GLIBCPP_HAVE_HYPOTL */ + +// Define if the compiler/host combination has __builtin_abs +/* #undef _GLIBCPP_HAVE___BUILTIN_ABS */ + +// Define if the compiler/host combination has __builtin_labs +/* #undef _GLIBCPP_HAVE___BUILTIN_LABS */ + +// Define if the compiler/host combination has __builtin_cos +/* #undef _GLIBCPP_HAVE___BUILTIN_COS */ + +// Define if the compiler/host combination has __builtin_cosf +/* #undef _GLIBCPP_HAVE___BUILTIN_COSF */ + +// Define if the compiler/host combination has __builtin_cosl +/* #undef _GLIBCPP_HAVE___BUILTIN_COSL */ + +// Define if the compiler/host combination has __builtin_fabs +/* #undef _GLIBCPP_HAVE___BUILTIN_FABS */ + +// Define if the compiler/host combination has __builtin_fabsf +/* #undef _GLIBCPP_HAVE___BUILTIN_FABSF */ + +// Define if the compiler/host combination has __builtin_fabsl +/* #undef _GLIBCPP_HAVE___BUILTIN_FABSL */ + +// Define if the compiler/host combination has __builtin_sin +/* #undef _GLIBCPP_HAVE___BUILTIN_SIN */ + +// Define if the compiler/host combination has __builtin_sinf +/* #undef _GLIBCPP_HAVE___BUILTIN_SINF */ + +// Define if the compiler/host combination has __builtin_sinl +/* #undef _GLIBCPP_HAVE___BUILTIN_SINL */ + +// Define if the compiler/host combination has __builtin_sqrt +/* #undef _GLIBCPP_HAVE___BUILTIN_SQRT */ + +// Define if the compiler/host combination has __builtin_sqrtf +/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTF */ + +// Define if the compiler/host combination has __builtin_sqrtl +/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTL */ + +// Define if poll is available in . +/* #undef _GLIBCPP_HAVE_POLL */ + +// Define if S_ISREG (Posix) is available in . +/* #undef _GLIBCPP_HAVE_S_ISREG */ + +// Define if S_IFREG is available in . +/* #undef _GLIBCPP_HAVE_S_IFREG */ + +// Define if LC_MESSAGES is available in . +/* #undef _GLIBCPP_HAVE_LC_MESSAGES */ + +/* Define if you have the __signbit function. */ +/* #undef _GLIBCPP_HAVE___SIGNBIT */ + +/* Define if you have the __signbitf function. */ +/* #undef _GLIBCPP_HAVE___SIGNBITF */ + +/* Define if you have the __signbitl function. */ +/* #undef _GLIBCPP_HAVE___SIGNBITL */ + +/* Define if you have the _acosf function. */ +/* #undef _GLIBCPP_HAVE__ACOSF */ + +/* Define if you have the _acosl function. */ +/* #undef _GLIBCPP_HAVE__ACOSL */ + +/* Define if you have the _asinf function. */ +/* #undef _GLIBCPP_HAVE__ASINF */ + +/* Define if you have the _asinl function. */ +/* #undef _GLIBCPP_HAVE__ASINL */ + +/* Define if you have the _atan2f function. */ +/* #undef _GLIBCPP_HAVE__ATAN2F */ + +/* Define if you have the _atan2l function. */ +/* #undef _GLIBCPP_HAVE__ATAN2L */ + +/* Define if you have the _atanf function. */ +/* #undef _GLIBCPP_HAVE__ATANF */ + +/* Define if you have the _atanl function. */ +/* #undef _GLIBCPP_HAVE__ATANL */ + +/* Define if you have the _ceilf function. */ +/* #undef _GLIBCPP_HAVE__CEILF */ + +/* Define if you have the _ceill function. */ +/* #undef _GLIBCPP_HAVE__CEILL */ + +/* Define if you have the _copysign function. */ +/* #undef _GLIBCPP_HAVE__COPYSIGN */ + +/* Define if you have the _copysignl function. */ +/* #undef _GLIBCPP_HAVE__COPYSIGNL */ + +/* Define if you have the _cosf function. */ +/* #undef _GLIBCPP_HAVE__COSF */ + +/* Define if you have the _coshf function. */ +/* #undef _GLIBCPP_HAVE__COSHF */ + +/* Define if you have the _coshl function. */ +/* #undef _GLIBCPP_HAVE__COSHL */ + +/* Define if you have the _cosl function. */ +/* #undef _GLIBCPP_HAVE__COSL */ + +/* Define if you have the _expf function. */ +/* #undef _GLIBCPP_HAVE__EXPF */ + +/* Define if you have the _expl function. */ +/* #undef _GLIBCPP_HAVE__EXPL */ + +/* Define if you have the _fabsf function. */ +/* #undef _GLIBCPP_HAVE__FABSF */ + +/* Define if you have the _fabsl function. */ +/* #undef _GLIBCPP_HAVE__FABSL */ + +/* Define if you have the _finite function. */ +/* #undef _GLIBCPP_HAVE__FINITE */ + +/* Define if you have the _finitef function. */ +/* #undef _GLIBCPP_HAVE__FINITEF */ + +/* Define if you have the _finitel function. */ +/* #undef _GLIBCPP_HAVE__FINITEL */ + +/* Define if you have the _floorf function. */ +/* #undef _GLIBCPP_HAVE__FLOORF */ + +/* Define if you have the _floorl function. */ +/* #undef _GLIBCPP_HAVE__FLOORL */ + +/* Define if you have the _fmodf function. */ +/* #undef _GLIBCPP_HAVE__FMODF */ + +/* Define if you have the _fmodl function. */ +/* #undef _GLIBCPP_HAVE__FMODL */ + +/* Define if you have the _fpclass function. */ +/* #undef _GLIBCPP_HAVE__FPCLASS */ + +/* Define if you have the _frexpf function. */ +/* #undef _GLIBCPP_HAVE__FREXPF */ + +/* Define if you have the _frexpl function. */ +/* #undef _GLIBCPP_HAVE__FREXPL */ + +/* Define if you have the _hypot function. */ +/* #undef _GLIBCPP_HAVE__HYPOT */ + +/* Define if you have the _hypotf function. */ +/* #undef _GLIBCPP_HAVE__HYPOTF */ + +/* Define if you have the _hypotl function. */ +/* #undef _GLIBCPP_HAVE__HYPOTL */ + +/* Define if you have the _isinf function. */ +/* #undef _GLIBCPP_HAVE__ISINF */ + +/* Define if you have the _isinff function. */ +/* #undef _GLIBCPP_HAVE__ISINFF */ + +/* Define if you have the _isinfl function. */ +/* #undef _GLIBCPP_HAVE__ISINFL */ + +/* Define if you have the _isnan function. */ +/* #undef _GLIBCPP_HAVE__ISNAN */ + +/* Define if you have the _isnanf function. */ +/* #undef _GLIBCPP_HAVE__ISNANF */ + +/* Define if you have the _isnanl function. */ +/* #undef _GLIBCPP_HAVE__ISNANL */ + +/* Define if you have the _ldexpf function. */ +/* #undef _GLIBCPP_HAVE__LDEXPF */ + +/* Define if you have the _ldexpl function. */ +/* #undef _GLIBCPP_HAVE__LDEXPL */ + +/* Define if you have the _log10f function. */ +/* #undef _GLIBCPP_HAVE__LOG10F */ + +/* Define if you have the _log10l function. */ +/* #undef _GLIBCPP_HAVE__LOG10L */ + +/* Define if you have the _logf function. */ +/* #undef _GLIBCPP_HAVE__LOGF */ + +/* Define if you have the _logl function. */ +/* #undef _GLIBCPP_HAVE__LOGL */ + +/* Define if you have the _modff function. */ +/* #undef _GLIBCPP_HAVE__MODFF */ + +/* Define if you have the _modfl function. */ +/* #undef _GLIBCPP_HAVE__MODFL */ + +/* Define if you have the _powf function. */ +/* #undef _GLIBCPP_HAVE__POWF */ + +/* Define if you have the _powl function. */ +/* #undef _GLIBCPP_HAVE__POWL */ + +/* Define if you have the _qfpclass function. */ +/* #undef _GLIBCPP_HAVE__QFPCLASS */ + +/* Define if you have the _sincos function. */ +/* #undef _GLIBCPP_HAVE__SINCOS */ + +/* Define if you have the _sincosf function. */ +/* #undef _GLIBCPP_HAVE__SINCOSF */ + +/* Define if you have the _sincosl function. */ +/* #undef _GLIBCPP_HAVE__SINCOSL */ + +/* Define if you have the _sinf function. */ +/* #undef _GLIBCPP_HAVE__SINF */ + +/* Define if you have the _sinhf function. */ +/* #undef _GLIBCPP_HAVE__SINHF */ + +/* Define if you have the _sinhl function. */ +/* #undef _GLIBCPP_HAVE__SINHL */ + +/* Define if you have the _sinl function. */ +/* #undef _GLIBCPP_HAVE__SINL */ + +/* Define if you have the _sqrtf function. */ +/* #undef _GLIBCPP_HAVE__SQRTF */ + +/* Define if you have the _sqrtl function. */ +/* #undef _GLIBCPP_HAVE__SQRTL */ + +/* Define if you have the _tanf function. */ +/* #undef _GLIBCPP_HAVE__TANF */ + +/* Define if you have the _tanhf function. */ +/* #undef _GLIBCPP_HAVE__TANHF */ + +/* Define if you have the _tanhl function. */ +/* #undef _GLIBCPP_HAVE__TANHL */ + +/* Define if you have the _tanl function. */ +/* #undef _GLIBCPP_HAVE__TANL */ + +/* Define if you have the acosf function. */ +#define _GLIBCPP_HAVE_ACOSF 1 + +/* Define if you have the acosl function. */ +/* #undef _GLIBCPP_HAVE_ACOSL */ + +/* Define if you have the asinf function. */ +#define _GLIBCPP_HAVE_ASINF 1 + +/* Define if you have the asinl function. */ +/* #undef _GLIBCPP_HAVE_ASINL */ + +/* Define if you have the atan2f function. */ +#define _GLIBCPP_HAVE_ATAN2F 1 + +/* Define if you have the atan2l function. */ +/* #undef _GLIBCPP_HAVE_ATAN2L */ + +/* Define if you have the atanf function. */ +#define _GLIBCPP_HAVE_ATANF 1 + +/* Define if you have the atanl function. */ +/* #undef _GLIBCPP_HAVE_ATANL */ + +/* Define if you have the btowc function. */ +#define _GLIBCPP_HAVE_BTOWC 1 + +/* Define if you have the ceilf function. */ +#define _GLIBCPP_HAVE_CEILF 1 + +/* Define if you have the ceill function. */ +/* #undef _GLIBCPP_HAVE_CEILL */ + +/* Define if you have the copysign function. */ +#define _GLIBCPP_HAVE_COPYSIGN 1 + +/* Define if you have the copysignf function. */ +#define _GLIBCPP_HAVE_COPYSIGNF 1 + +/* Define if you have the copysignl function. */ +/* #undef _GLIBCPP_HAVE_COPYSIGNL */ + +/* Define if you have the cosf function. */ +#define _GLIBCPP_HAVE_COSF 1 + +/* Define if you have the coshf function. */ +#define _GLIBCPP_HAVE_COSHF 1 + +/* Define if you have the coshl function. */ +/* #undef _GLIBCPP_HAVE_COSHL */ + +/* Define if you have the cosl function. */ +/* #undef _GLIBCPP_HAVE_COSL */ + +/* Define if you have the drand48 function. */ +/* #undef _GLIBCPP_HAVE_DRAND48 */ + +/* Define if you have the expf function. */ +#define _GLIBCPP_HAVE_EXPF 1 + +/* Define if you have the expl function. */ +/* #undef _GLIBCPP_HAVE_EXPL */ + +/* Define if you have the fabsf function. */ +#define _GLIBCPP_HAVE_FABSF 1 + +/* Define if you have the fabsl function. */ +/* #undef _GLIBCPP_HAVE_FABSL */ + +/* Define if you have the fgetwc function. */ +#define _GLIBCPP_HAVE_FGETWC 1 + +/* Define if you have the fgetws function. */ +#define _GLIBCPP_HAVE_FGETWS 1 + +/* Define if you have the finite function. */ +#define _GLIBCPP_HAVE_FINITE 1 + +/* Define if you have the finitef function. */ +#define _GLIBCPP_HAVE_FINITEF 1 + +/* Define if you have the finitel function. */ +/* #undef _GLIBCPP_HAVE_FINITEL */ + +/* Define if you have the floorf function. */ +#define _GLIBCPP_HAVE_FLOORF 1 + +/* Define if you have the floorl function. */ +/* #undef _GLIBCPP_HAVE_FLOORL */ + +/* Define if you have the fmodf function. */ +#define _GLIBCPP_HAVE_FMODF 1 + +/* Define if you have the fmodl function. */ +/* #undef _GLIBCPP_HAVE_FMODL */ + +/* Define if you have the fpclass function. */ +/* #undef _GLIBCPP_HAVE_FPCLASS */ + +/* Define if you have the fputwc function. */ +#define _GLIBCPP_HAVE_FPUTWC 1 + +/* Define if you have the fputws function. */ +#define _GLIBCPP_HAVE_FPUTWS 1 + +/* Define if you have the frexpf function. */ +#define _GLIBCPP_HAVE_FREXPF 1 + +/* Define if you have the frexpl function. */ +/* #undef _GLIBCPP_HAVE_FREXPL */ + +/* Define if you have the fwide function. */ +#define _GLIBCPP_HAVE_FWIDE 1 + +/* Define if you have the fwprintf function. */ +/* #undef _GLIBCPP_HAVE_FWPRINTF */ + +/* Define if you have the fwscanf function. */ +/* #undef _GLIBCPP_HAVE_FWSCANF */ + +/* Define if you have the getpagesize function. */ +/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ + +/* Define if you have the getwc function. */ +#define _GLIBCPP_HAVE_GETWC 1 + +/* Define if you have the getwchar function. */ +#define _GLIBCPP_HAVE_GETWCHAR 1 + +/* Define if you have the hypot function. */ +/* #undef _GLIBCPP_HAVE_HYPOT */ + +/* Define if you have the hypotf function. */ +#define _GLIBCPP_HAVE_HYPOTF 1 + +/* Define if you have the hypotl function. */ +/* #undef _GLIBCPP_HAVE_HYPOTL */ + +/* Define if you have the iconv function. */ +#define _GLIBCPP_HAVE_ICONV 1 + +/* Define if you have the iconv_close function. */ +#define _GLIBCPP_HAVE_ICONV_CLOSE 1 + +/* Define if you have the iconv_open function. */ +#define _GLIBCPP_HAVE_ICONV_OPEN 1 + +/* Define if you have the isatty function. */ +/* #undef _GLIBCPP_HAVE_ISATTY */ + +/* Define if you have the isinf function. */ +#define _GLIBCPP_HAVE_ISINF 1 + +/* Define if you have the isinff function. */ +#define _GLIBCPP_HAVE_ISINFF 1 + +/* Define if you have the isinfl function. */ +/* #undef _GLIBCPP_HAVE_ISINFL */ + +/* Define if you have the isnan function. */ +#define _GLIBCPP_HAVE_ISNAN 1 + +/* Define if you have the isnanf function. */ +#define _GLIBCPP_HAVE_ISNANF 1 + +/* Define if you have the isnanl function. */ +/* #undef _GLIBCPP_HAVE_ISNANL */ + +/* Define if you have the ldexpf function. */ +#define _GLIBCPP_HAVE_LDEXPF 1 + +/* Define if you have the ldexpl function. */ +/* #undef _GLIBCPP_HAVE_LDEXPL */ + +/* Define if you have the log10f function. */ +#define _GLIBCPP_HAVE_LOG10F 1 + +/* Define if you have the log10l function. */ +/* #undef _GLIBCPP_HAVE_LOG10L */ + +/* Define if you have the logf function. */ +#define _GLIBCPP_HAVE_LOGF 1 + +/* Define if you have the logl function. */ +/* #undef _GLIBCPP_HAVE_LOGL */ + +/* Define if you have the mbrlen function. */ +#define _GLIBCPP_HAVE_MBRLEN 1 + +/* Define if you have the mbrtowc function. */ +#define _GLIBCPP_HAVE_MBRTOWC 1 + +/* Define if you have the mbsinit function. */ +#define _GLIBCPP_HAVE_MBSINIT 1 + +/* Define if you have the mbsrtowcs function. */ +#define _GLIBCPP_HAVE_MBSRTOWCS 1 + +/* Define if you have the modff function. */ +#define _GLIBCPP_HAVE_MODFF 1 + +/* Define if you have the modfl function. */ +/* #undef _GLIBCPP_HAVE_MODFL */ + +/* Define if you have the nan function. */ +/* #undef _GLIBCPP_HAVE_NAN */ + +/* Define if you have the nl_langinfo function. */ +#define _GLIBCPP_HAVE_NL_LANGINFO 1 + +/* Define if you have the powf function. */ +#define _GLIBCPP_HAVE_POWF 1 + +/* Define if you have the powl function. */ +/* #undef _GLIBCPP_HAVE_POWL */ + +/* Define if you have the putwc function. */ +#define _GLIBCPP_HAVE_PUTWC 1 + +/* Define if you have the putwchar function. */ +#define _GLIBCPP_HAVE_PUTWCHAR 1 + +/* Define if you have the qfpclass function. */ +/* #undef _GLIBCPP_HAVE_QFPCLASS */ + +/* Define if you have the setenv function. */ +/* #undef _GLIBCPP_HAVE_SETENV */ + +/* Define if you have the sincos function. */ +/* #undef _GLIBCPP_HAVE_SINCOS */ + +/* Define if you have the sincosf function. */ +/* #undef _GLIBCPP_HAVE_SINCOSF */ + +/* Define if you have the sincosl function. */ +/* #undef _GLIBCPP_HAVE_SINCOSL */ + +/* Define if you have the sinf function. */ +#define _GLIBCPP_HAVE_SINF 1 + +/* Define if you have the sinhf function. */ +#define _GLIBCPP_HAVE_SINHF 1 + +/* Define if you have the sinhl function. */ +/* #undef _GLIBCPP_HAVE_SINHL */ + +/* Define if you have the sinl function. */ +/* #undef _GLIBCPP_HAVE_SINL */ + +/* Define if you have the sqrtf function. */ +#define _GLIBCPP_HAVE_SQRTF 1 + +/* Define if you have the sqrtl function. */ +/* #undef _GLIBCPP_HAVE_SQRTL */ + +/* Define if you have the strtof function. */ +#define _GLIBCPP_HAVE_STRTOF 1 + +/* Define if you have the strtold function. */ +#define _GLIBCPP_HAVE_STRTOLD 1 + +/* Define if you have the swprintf function. */ +/* #undef _GLIBCPP_HAVE_SWPRINTF */ + +/* Define if you have the swscanf function. */ +/* #undef _GLIBCPP_HAVE_SWSCANF */ + +/* Define if you have the tanf function. */ +#define _GLIBCPP_HAVE_TANF 1 + +/* Define if you have the tanhf function. */ +#define _GLIBCPP_HAVE_TANHF 1 + +/* Define if you have the tanhl function. */ +/* #undef _GLIBCPP_HAVE_TANHL */ + +/* Define if you have the tanl function. */ +/* #undef _GLIBCPP_HAVE_TANL */ + +/* Define if you have the ungetwc function. */ +#define _GLIBCPP_HAVE_UNGETWC 1 + +/* Define if you have the vfwprintf function. */ +/* #undef _GLIBCPP_HAVE_VFWPRINTF */ + +/* Define if you have the vfwscanf function. */ +/* #undef _GLIBCPP_HAVE_VFWSCANF */ + +/* Define if you have the vswprintf function. */ +/* #undef _GLIBCPP_HAVE_VSWPRINTF */ + +/* Define if you have the vswscanf function. */ +/* #undef _GLIBCPP_HAVE_VSWSCANF */ + +/* Define if you have the vwprintf function. */ +/* #undef _GLIBCPP_HAVE_VWPRINTF */ + +/* Define if you have the vwscanf function. */ +/* #undef _GLIBCPP_HAVE_VWSCANF */ + +/* Define if you have the wcrtomb function. */ +#define _GLIBCPP_HAVE_WCRTOMB 1 + +/* Define if you have the wcscat function. */ +#define _GLIBCPP_HAVE_WCSCAT 1 + +/* Define if you have the wcschr function. */ +#define _GLIBCPP_HAVE_WCSCHR 1 + +/* Define if you have the wcscmp function. */ +#define _GLIBCPP_HAVE_WCSCMP 1 + +/* Define if you have the wcscoll function. */ +#define _GLIBCPP_HAVE_WCSCOLL 1 + +/* Define if you have the wcscpy function. */ +#define _GLIBCPP_HAVE_WCSCPY 1 + +/* Define if you have the wcscspn function. */ +#define _GLIBCPP_HAVE_WCSCSPN 1 + +/* Define if you have the wcsftime function. */ +/* #undef _GLIBCPP_HAVE_WCSFTIME */ + +/* Define if you have the wcslen function. */ +#define _GLIBCPP_HAVE_WCSLEN 1 + +/* Define if you have the wcsncat function. */ +#define _GLIBCPP_HAVE_WCSNCAT 1 + +/* Define if you have the wcsncmp function. */ +#define _GLIBCPP_HAVE_WCSNCMP 1 + +/* Define if you have the wcsncpy function. */ +#define _GLIBCPP_HAVE_WCSNCPY 1 + +/* Define if you have the wcspbrk function. */ +#define _GLIBCPP_HAVE_WCSPBRK 1 + +/* Define if you have the wcsrchr function. */ +#define _GLIBCPP_HAVE_WCSRCHR 1 + +/* Define if you have the wcsrtombs function. */ +#define _GLIBCPP_HAVE_WCSRTOMBS 1 + +/* Define if you have the wcsspn function. */ +#define _GLIBCPP_HAVE_WCSSPN 1 + +/* Define if you have the wcsstr function. */ +#define _GLIBCPP_HAVE_WCSSTR 1 + +/* Define if you have the wcstod function. */ +#define _GLIBCPP_HAVE_WCSTOD 1 + +/* Define if you have the wcstof function. */ +/* #undef _GLIBCPP_HAVE_WCSTOF */ + +/* Define if you have the wcstok function. */ +#define _GLIBCPP_HAVE_WCSTOK 1 + +/* Define if you have the wcstol function. */ +#define _GLIBCPP_HAVE_WCSTOL 1 + +/* Define if you have the wcstoul function. */ +#define _GLIBCPP_HAVE_WCSTOUL 1 + +/* Define if you have the wcsxfrm function. */ +#define _GLIBCPP_HAVE_WCSXFRM 1 + +/* Define if you have the wctob function. */ +#define _GLIBCPP_HAVE_WCTOB 1 + +/* Define if you have the wmemchr function. */ +#define _GLIBCPP_HAVE_WMEMCHR 1 + +/* Define if you have the wmemcmp function. */ +#define _GLIBCPP_HAVE_WMEMCMP 1 + +/* Define if you have the wmemcpy function. */ +#define _GLIBCPP_HAVE_WMEMCPY 1 + +/* Define if you have the wmemmove function. */ +#define _GLIBCPP_HAVE_WMEMMOVE 1 + +/* Define if you have the wmemset function. */ +#define _GLIBCPP_HAVE_WMEMSET 1 + +/* Define if you have the wprintf function. */ +/* #undef _GLIBCPP_HAVE_WPRINTF */ + +/* Define if you have the wscanf function. */ +/* #undef _GLIBCPP_HAVE_WSCANF */ + +/* Define if you have the header file. */ +/* #undef _GLIBCPP_HAVE_ENDIAN_H */ + +/* Define if you have the header file. */ +#define _GLIBCPP_HAVE_FLOAT_H 1 + +/* Define if you have the header file. */ +/* #undef _GLIBCPP_HAVE_FP_H */ + +/* Define if you have the header file. */ +/* #undef _GLIBCPP_HAVE_GCONV_H */ + +/* Define if you have the header file. */ +#define _GLIBCPP_HAVE_IEEEFP_H 1 + +/* Define if you have the header file. */ +#define _GLIBCPP_HAVE_INTTYPES_H 1 + +/* Define if you have the header file. */ +#define _GLIBCPP_HAVE_LOCALE_H 1 + +/* Define if you have the header file. */ +#define _GLIBCPP_HAVE_MACHINE_ENDIAN_H 1 + +/* Define if you have the header file. */ +#define _GLIBCPP_HAVE_MACHINE_PARAM_H 1 + +/* Define if you have the header file. */ +/* #undef _GLIBCPP_HAVE_NAN_H */ + +/* Define if you have the header file. */ +#define _GLIBCPP_HAVE_STDLIB_H 1 + +/* Define if you have the header file. */ +#define _GLIBCPP_HAVE_STRING_H 1 + +/* Define if you have the header file. */ +/* #undef _GLIBCPP_HAVE_SYS_FILIO_H */ + +/* Define if you have the header file. */ +/* #undef _GLIBCPP_HAVE_SYS_IOCTL_H */ + +/* Define if you have the header file. */ +/* #undef _GLIBCPP_HAVE_SYS_ISA_DEFS_H */ + +/* Define if you have the header file. */ +/* #undef _GLIBCPP_HAVE_SYS_MACHINE_H */ + +/* Define if you have the header file. */ +/* #undef _GLIBCPP_HAVE_SYS_RESOURCE_H */ + +/* Define if you have the header file. */ +/* #undef _GLIBCPP_HAVE_SYS_STAT_H */ + +/* Define if you have the header file. */ +/* #undef _GLIBCPP_HAVE_SYS_TIME_H */ + +/* Define if you have the header file. */ +#define _GLIBCPP_HAVE_SYS_TYPES_H 1 + +/* Define if you have the header file. */ +/* #undef _GLIBCPP_HAVE_UNISTD_H */ + +/* Define if you have the header file. */ +#define _GLIBCPP_HAVE_WCHAR_H 1 + +/* Define if you have the header file. */ +#define _GLIBCPP_HAVE_WCTYPE_H 1 + +/* Define if you have the m library (-lm). */ +/* #undef _GLIBCPP_HAVE_LIBM */ + +/* Name of package */ +#define _GLIBCPP_PACKAGE "libstdc++" + +/* Version number of package */ +#define _GLIBCPP_VERSION "3.3.1" + +/* Define if the compiler is configured for setjmp/longjmp exceptions. */ +/* #undef _GLIBCPP_SJLJ_EXCEPTIONS */ + +/* Define if sigsetjmp is available. */ +/* #undef _GLIBCPP_HAVE_SIGSETJMP */ + +/* Only used in build directory testsuite_hooks.h. */ +/* #undef _GLIBCPP_HAVE_MEMLIMIT_DATA */ + +/* Only used in build directory testsuite_hooks.h. */ +/* #undef _GLIBCPP_HAVE_MEMLIMIT_RSS */ + +/* Only used in build directory testsuite_hooks.h. */ +/* #undef _GLIBCPP_HAVE_MEMLIMIT_VMEM */ + +/* Only used in build directory testsuite_hooks.h. */ +/* #undef _GLIBCPP_HAVE_MEMLIMIT_AS */ + +// +// Systems that have certain non-standard functions prefixed with an +// underscore, we'll handle those here. Must come after config.h.in. +// +#if defined (_GLIBCPP_HAVE__ISNAN) && ! defined (_GLIBCPP_HAVE_ISNAN) +# define _GLIBCPP_HAVE_ISNAN 1 +# define isnan _isnan +#endif + +#if defined (_GLIBCPP_HAVE__ISNANF) && ! defined (_GLIBCPP_HAVE_ISNANF) +# define _GLIBCPP_HAVE_ISNANF 1 +# define isnanf _isnanf +#endif + +#if defined (_GLIBCPP_HAVE__ISNANL) && ! defined (_GLIBCPP_HAVE_ISNANL) +# define _GLIBCPP_HAVE_ISNANL 1 +# define isnanl _isnanl +#endif + +#if defined (_GLIBCPP_HAVE__ISINF) && ! defined (_GLIBCPP_HAVE_ISINF) +# define _GLIBCPP_HAVE_ISINF 1 +# define isinf _isinf +#endif + +#if defined (_GLIBCPP_HAVE__ISINFF) && ! defined (_GLIBCPP_HAVE_ISINFF) +# define _GLIBCPP_HAVE_ISINFF 1 +# define isinff _isinff +#endif + +#if defined (_GLIBCPP_HAVE__ISINFL) && ! defined (_GLIBCPP_HAVE_ISINFL) +# define _GLIBCPP_HAVE_ISINFL 1 +# define isinfl _isinfl +#endif + +#if defined (_GLIBCPP_HAVE__COPYSIGN) && ! defined (_GLIBCPP_HAVE_COPYSIGN) +# define _GLIBCPP_HAVE_COPYSIGN 1 +# define copysign _copysign +#endif + +#if defined (_GLIBCPP_HAVE__COPYSIGNL) && ! defined (_GLIBCPP_HAVE_COPYSIGNL) +# define _GLIBCPP_HAVE_COPYSIGNL 1 +# define copysignl _copysignl +#endif + +#if defined (_GLIBCPP_HAVE__COSF) && ! defined (_GLIBCPP_HAVE_COSF) +# define _GLIBCPP_HAVE_COSF 1 +# define cosf _cosf +#endif + +#if defined (_GLIBCPP_HAVE__ACOSF) && ! defined (_GLIBCPP_HAVE_ACOSF) +# define _GLIBCPP_HAVE_ACOSF 1 +# define acosf _acosf +#endif + +#if defined (_GLIBCPP_HAVE__ACOSL) && ! defined (_GLIBCPP_HAVE_ACOSL) +# define _GLIBCPP_HAVE_ACOSL 1 +# define acosl _acosl +#endif + +#if defined (_GLIBCPP_HAVE__ASINF) && ! defined (_GLIBCPP_HAVE_ASINF) +# define _GLIBCPP_HAVE_ASINF 1 +# define asinf _asinf +#endif + +#if defined (_GLIBCPP_HAVE__ASINL) && ! defined (_GLIBCPP_HAVE_ASINL) +# define _GLIBCPP_HAVE_ASINL 1 +# define asinl _asinl +#endif + +#if defined (_GLIBCPP_HAVE__ATANF) && ! defined (_GLIBCPP_HAVE_ATANF) +# define _GLIBCPP_HAVE_ATANF 1 +# define atanf _atanf +#endif + +#if defined (_GLIBCPP_HAVE__ATANL) && ! defined (_GLIBCPP_HAVE_ATANL) +# define _GLIBCPP_HAVE_ATANL 1 +# define atanl _atanl +#endif + +#if defined (_GLIBCPP_HAVE__CEILF) && ! defined (_GLIBCPP_HAVE_CEILF) +# define _GLIBCPP_HAVE_CEILF 1 +# define aceil _ceilf +#endif + +#if defined (_GLIBCPP_HAVE__CEILL) && ! defined (_GLIBCPP_HAVE_CEILL) +# define _GLIBCPP_HAVE_CEILL 1 +# define aceil _ceill +#endif + +#if defined (_GLIBCPP_HAVE__COSHF) && ! defined (_GLIBCPP_HAVE_COSHF) +# define _GLIBCPP_HAVE_COSHF 1 +# define coshf _coshf +#endif + +#if defined (_GLIBCPP_HAVE__COSL) && ! defined (_GLIBCPP_HAVE_COSL) +# define _GLIBCPP_HAVE_COSL 1 +# define cosl _cosl +#endif + +#if defined (_GLIBCPP_HAVE__LOGF) && ! defined (_GLIBCPP_HAVE_LOGF) +# define _GLIBCPP_HAVE_LOGF 1 +# define logf _logf +#endif + +#if defined (_GLIBCPP_HAVE__COSHL) && ! defined (_GLIBCPP_HAVE_COSHL) +# define _GLIBCPP_HAVE_COSHL 1 +# define coshl _coshl +#endif + +#if defined (_GLIBCPP_HAVE__EXPF) && ! defined (_GLIBCPP_HAVE_EXPF) +# define _GLIBCPP_HAVE_EXPF 1 +# define expf _expf +#endif + +#if defined (_GLIBCPP_HAVE__EXPL) && ! defined (_GLIBCPP_HAVE_EXPL) +# define _GLIBCPP_HAVE_EXPL 1 +# define expl _expl +#endif + +#if defined (_GLIBCPP_HAVE__FABSF) && ! defined (_GLIBCPP_HAVE_FABSF) +# define _GLIBCPP_HAVE_FABSF 1 +# define fabsf _fabsf +#endif + +#if defined (_GLIBCPP_HAVE__FABSL) && ! defined (_GLIBCPP_HAVE_FABSL) +# define _GLIBCPP_HAVE_FABSL 1 +# define fabsl _fabsl +#endif + +#if defined (_GLIBCPP_HAVE__FLOORF) && ! defined (_GLIBCPP_HAVE_FLOORF) +# define _GLIBCPP_HAVE_FLOORF 1 +# define floorf _floorf +#endif + +#if defined (_GLIBCPP_HAVE__FLOORL) && ! defined (_GLIBCPP_HAVE_FLOORL) +# define _GLIBCPP_HAVE_FLOORL 1 +# define floorl _floorl +#endif + +#if defined (_GLIBCPP_HAVE__FMODF) && ! defined (_GLIBCPP_HAVE_FMODF) +# define _GLIBCPP_HAVE_FMODF 1 +# define fmodf _fmodf +#endif + +#if defined (_GLIBCPP_HAVE__FMODL) && ! defined (_GLIBCPP_HAVE_FMODL) +# define _GLIBCPP_HAVE_FMODL 1 +# define fmodl _fmodl +#endif + +#if defined (_GLIBCPP_HAVE__FREXPF) && ! defined (_GLIBCPP_HAVE_FREXPF) +# define _GLIBCPP_HAVE_FREXPF 1 +# define frexpf _frexpf +#endif + +#if defined (_GLIBCPP_HAVE__FREXPL) && ! defined (_GLIBCPP_HAVE_FREXPL) +# define _GLIBCPP_HAVE_FREXPL 1 +# define frexpl _frexpl +#endif + +#if defined (_GLIBCPP_HAVE__LDEXPF) && ! defined (_GLIBCPP_HAVE_LDEXPF) +# define _GLIBCPP_HAVE_LDEXPF 1 +# define ldexpf _ldexpf +#endif + +#if defined (_GLIBCPP_HAVE__LDEXPL) && ! defined (_GLIBCPP_HAVE_LDEXPL) +# define _GLIBCPP_HAVE_LDEXPL 1 +# define ldexpl _ldexpl +#endif + +#if defined (_GLIBCPP_HAVE__LOG10F) && ! defined (_GLIBCPP_HAVE_LOG10F) +# define _GLIBCPP_HAVE_LOG10F 1 +# define log10f _log10f +#endif + +#if defined (_GLIBCPP_HAVE__LOGL) && ! defined (_GLIBCPP_HAVE_LOGL) +# define _GLIBCPP_HAVE_LOGL 1 +# define logl _logl +#endif + +#if defined (_GLIBCPP_HAVE__POWF) && ! defined (_GLIBCPP_HAVE_POWF) +# define _GLIBCPP_HAVE_POWF 1 +# define powf _powf +#endif + +#if defined (_GLIBCPP_HAVE__LOG10L) && ! defined (_GLIBCPP_HAVE_LOG10L) +# define _GLIBCPP_HAVE_LOG10L 1 +# define log10l _log10l +#endif + +#if defined (_GLIBCPP_HAVE__MODF) && ! defined (_GLIBCPP_HAVE_MODF) +# define _GLIBCPP_HAVE_MODF 1 +# define modf _modf +#endif + +#if defined (_GLIBCPP_HAVE__MODL) && ! defined (_GLIBCPP_HAVE_MODL) +# define _GLIBCPP_HAVE_MODL 1 +# define modl _modl +#endif + +#if defined (_GLIBCPP_HAVE__SINF) && ! defined (_GLIBCPP_HAVE_SINF) +# define _GLIBCPP_HAVE_SINF 1 +# define sinf _sinf +#endif + +#if defined (_GLIBCPP_HAVE__POWL) && ! defined (_GLIBCPP_HAVE_POWL) +# define _GLIBCPP_HAVE_POWL 1 +# define powl _powl +#endif + +#if defined (_GLIBCPP_HAVE__SINHF) && ! defined (_GLIBCPP_HAVE_SINHF) +# define _GLIBCPP_HAVE_SINHF 1 +# define sinhf _sinhf +#endif + +#if defined (_GLIBCPP_HAVE__SINL) && ! defined (_GLIBCPP_HAVE_SINL) +# define _GLIBCPP_HAVE_SINL 1 +# define sinl _sinl +#endif + +#if defined (_GLIBCPP_HAVE__SQRTF) && ! defined (_GLIBCPP_HAVE_SQRTF) +# define _GLIBCPP_HAVE_SQRTF 1 +# define sqrtf _sqrtf +#endif + +#if defined (_GLIBCPP_HAVE__SINHL) && ! defined (_GLIBCPP_HAVE_SINHL) +# define _GLIBCPP_HAVE_SINHL 1 +# define sinhl _sinhl +#endif + +#if defined (_GLIBCPP_HAVE__TANF) && ! defined (_GLIBCPP_HAVE_TANF) +# define _GLIBCPP_HAVE_TANF 1 +# define tanf _tanf +#endif + +#if defined (_GLIBCPP_HAVE__SQRTL) && ! defined (_GLIBCPP_HAVE_SQRTL) +# define _GLIBCPP_HAVE_SQRTL 1 +# define sqrtl _sqrtl +#endif + +#if defined (_GLIBCPP_HAVE__TANHF) && ! defined (_GLIBCPP_HAVE_TANHF) +# define _GLIBCPP_HAVE_TANHF 1 +# define tanhf _tanhf +#endif + +#if defined (_GLIBCPP_HAVE__TANL) && ! defined (_GLIBCPP_HAVE_TANL) +# define _GLIBCPP_HAVE_TANF 1 +# define tanf _tanf +#endif + +#if defined (_GLIBCPP_HAVE__STRTOF) && ! defined (_GLIBCPP_HAVE_STRTOF) +# define _GLIBCPP_HAVE_STRTOF 1 +# define strtof _strtof +#endif + +#if defined (_GLIBCPP_HAVE__TANHL) && ! defined (_GLIBCPP_HAVE_TANHL) +# define _GLIBCPP_HAVE_TANHL 1 +# define tanhl _tanhl +#endif + +#if defined (_GLIBCPP_HAVE__STRTOLD) && ! defined (_GLIBCPP_HAVE_STRTOLD) +# define _GLIBCPP_HAVE_STRTOLD 1 +# define strtold _strtold +#endif + +#if defined (_GLIBCPP_HAVE__SINCOS) && ! defined (_GLIBCPP_HAVE_SINCOS) +# define _GLIBCPP_HAVE_SINCOS 1 +# define sincos _sincos +#endif + +#if defined (_GLIBCPP_HAVE__SINCOSF) && ! defined (_GLIBCPP_HAVE_SINCOSF) +# define _GLIBCPP_HAVE_SINCOSF 1 +# define sincosf _sincosf +#endif + +#if defined (_GLIBCPP_HAVE__SINCOSL) && ! defined (_GLIBCPP_HAVE_SINCOSL) +# define _GLIBCPP_HAVE_SINCOSL 1 +# define sincosl _sincosl +#endif + +#if defined (_GLIBCPP_HAVE__FINITE) && ! defined (_GLIBCPP_HAVE_FINITE) +# define _GLIBCPP_HAVE_FINITE 1 +# define finite _finite +#endif + +#if defined (_GLIBCPP_HAVE__FINITEF) && ! defined (_GLIBCPP_HAVE_FINITEF) +# define _GLIBCPP_HAVE_FINITEF 1 +# define finitef _finitef +#endif + +#if defined (_GLIBCPP_HAVE__FINITEL) && ! defined (_GLIBCPP_HAVE_FINITEL) +# define _GLIBCPP_HAVE_FINITEL 1 +# define finitel _finitel +#endif + +#if defined (_GLIBCPP_HAVE__QFINITE) && ! defined (_GLIBCPP_HAVE_QFINITE) +# define _GLIBCPP_HAVE_QFINITE 1 +# define qfinite _qfinite +#endif + +#if defined (_GLIBCPP_HAVE__FPCLASS) && ! defined (_GLIBCPP_HAVE_FPCLASS) +# define _GLIBCPP_HAVE_FPCLASS 1 +# define fpclass _fpclass +#endif + +#if defined (_GLIBCPP_HAVE__QFPCLASS) && ! defined (_GLIBCPP_HAVE_QFPCLASS) +# define _GLIBCPP_HAVE_QFPCLASS 1 +# define qfpclass _qfpclass +#endif + +#endif // _CPP_CPPCONFIG_ diff --git a/gnu/lib/libstdc++-v3/arch/mipseb/defs.mk b/gnu/lib/libstdc++-v3/arch/mipseb/defs.mk new file mode 100644 index 000000000000..5dbddc912ff1 --- /dev/null +++ b/gnu/lib/libstdc++-v3/arch/mipseb/defs.mk @@ -0,0 +1,18 @@ +# This file is automatically generated. DO NOT EDIT! +# Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp +# +G_libmath_la_SOURCES=stubs.c +G_libmath_la_LIBADD=nan.lo copysignf.lo signbit.lo signbitf.lo +G_LIBSUPCXX_SOURCES=del_op.cc del_opnt.cc del_opv.cc del_opvnt.cc eh_alloc.cc eh_aux_runtime.cc eh_catch.cc eh_exception.cc eh_globals.cc eh_personality.cc eh_terminate.cc eh_throw.cc eh_type.cc guard.cc new_handler.cc new_op.cc new_opnt.cc new_opv.cc new_opvnt.cc pure.cc tinfo.cc tinfo2.cc vec.cc +G_LIBSUPCXX_C_SOURCES=cxa_demangle.c dyn-string.c +G_SRC_SOURCES=bitset.cc codecvt.cc complex_io.cc concept-inst.cc ctype.cc ext-inst.cc fstream.cc fstream-inst.cc functexcept.cc globals.cc io-inst.cc ios.cc istream-inst.cc limits.cc locale.cc locale-inst.cc localename.cc misc-inst.cc ostream-inst.cc sstream-inst.cc stdexcept.cc stl-inst.cc streambuf-inst.cc string-inst.cc strstream.cc valarray-inst.cc vterminate.cc wstring-inst.cc codecvt_members.cc collate_members.cc ctype_members.cc messages_members.cc monetary_members.cc numeric_members.cc time_members.cc basic_file.cc c++locale.cc +G_SECTION_FLAGS=-ffunction-sections -fdata-sections +G_c_base_headers_rename=cassert cctype cerrno cfloat ciso646 climits clocale cmath csetjmp csignal cstdarg cstddef cstdio cstdlib cstring ctime cwchar cwctype +G_std_headers_rename=algorithm bitset complex deque fstream functional iomanip ios iosfwd iostream istream iterator limits list locale map memory numeric ostream queue set sstream stack stdexcept streambuf string utility valarray vector +G_bits_headers=basic_ios.h basic_ios.tcc basic_string.h basic_string.tcc boost_concept_check.h char_traits.h codecvt.h concept_check.h cpp_type_traits.h deque.tcc fpos.h fstream.tcc functexcept.h gslice.h gslice_array.h indirect_array.h ios_base.h istream.tcc list.tcc locale_classes.h locale_facets.h locale_facets.tcc localefwd.h mask_array.h ostream.tcc pthread_allocimpl.h stream_iterator.h streambuf_iterator.h slice_array.h sstream.tcc stl_algo.h stl_algobase.h stl_alloc.h stl_bvector.h stl_construct.h stl_deque.h stl_function.h stl_heap.h stl_iterator.h stl_iterator_base_funcs.h stl_iterator_base_types.h stl_list.h stl_map.h stl_multimap.h stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h stl_queue.h stl_raw_storage_iter.h stl_relops.h stl_set.h stl_stack.h stl_tempbuf.h stl_threads.h stl_tree.h stl_uninitialized.h stl_vector.h streambuf.tcc stringfwd.h type_traits.h valarray_array.h valarray_array.tcc valarray_meta.h vector.tcc +G_backward_headers=complex.h iomanip.h istream.h ostream.h stream.h streambuf.h algo.h algobase.h alloc.h bvector.h defalloc.h deque.h function.h hash_map.h hash_set.h hashtable.h heap.h iostream.h iterator.h list.h map.h multimap.h new.h multiset.h pair.h queue.h rope.h set.h slist.h stack.h tempbuf.h tree.h vector.h fstream.h strstream backward_warning.h +G_ext_headers=algorithm enc_filebuf.h stdio_filebuf.h functional hash_map hash_set iterator memory numeric rb_tree rope ropeimpl.h slist stl_hash_fun.h stl_hashtable.h stl_rope.h +G_c_base_headers_extra=cmath.tcc +G_target_headers=ctype_base.h ctype_inline.h ctype_noninline.h os_defines.h atomicity.h +G_thread_target_headers=gthr.h gthr-single.h gthr-posix.h gthr-default.h +G_target_headers_extra=basic_file.h c++config.h c++io.h c++locale.h messages_members.h time_members.h codecvt_specializations.h diff --git a/gnu/lib/libstdc++-v3/arch/mipseb/gthr-default.h b/gnu/lib/libstdc++-v3/arch/mipseb/gthr-default.h new file mode 100644 index 000000000000..6fa2b1ed699a --- /dev/null +++ b/gnu/lib/libstdc++-v3/arch/mipseb/gthr-default.h @@ -0,0 +1,242 @@ +/* This file is automatically generated. DO NOT EDIT! */ +/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ + +/* Threads compatibility routines for libgcc2 and libobjc. */ +/* Compile this one with gcc. */ +/* Copyright (C) 1997, 1999, 2000 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2, or (at your option) any later +version. + +GCC is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with GCC; see the file COPYING. If not, write to the Free +Software Foundation, 59 Temple Place - Suite 330, Boston, MA +02111-1307, USA. */ + +/* As a special exception, if you link this library with other files, + some of which are compiled with GCC, to produce an executable, + this library does not by itself cause the resulting executable + to be covered by the GNU General Public License. + This exception does not however invalidate any other reasons why + the executable file might be covered by the GNU General Public License. */ + +#ifndef _GLIBCPP_GCC_GTHR_SINGLE_H +#define _GLIBCPP_GCC_GTHR_SINGLE_H + +/* Just provide compatibility for mutex handling. */ + +typedef int __gthread_mutex_t; + +#define __GTHREAD_MUTEX_INIT 0 + +#ifdef __cplusplus +#define _GLIBCPP_UNUSED(x) +#else +#define _GLIBCPP_UNUSED(x) x __attribute__((unused)) +#endif + +#ifdef _LIBOBJC + +/* Thread local storage for a single thread */ +static void *thread_local_storage = NULL; + +/* Backend initialization functions */ + +/* Initialize the threads subsystem. */ +static inline int +__gthread_objc_init_thread_system (void) +{ + /* No thread support available */ + return -1; +} + +/* Close the threads subsystem. */ +static inline int +__gthread_objc_close_thread_system (void) +{ + /* No thread support available */ + return -1; +} + +/* Backend thread functions */ + +/* Create a new thread of execution. */ +static inline objc_thread_t +__gthread_objc_thread_detach (void (* func)(void *), void * _GLIBCPP_UNUSED(arg)) +{ + /* No thread support available */ + return NULL; +} + +/* Set the current thread's priority. */ +static inline int +__gthread_objc_thread_set_priority (int _GLIBCPP_UNUSED(priority)) +{ + /* No thread support available */ + return -1; +} + +/* Return the current thread's priority. */ +static inline int +__gthread_objc_thread_get_priority (void) +{ + return OBJC_THREAD_INTERACTIVE_PRIORITY; +} + +/* Yield our process time to another thread. */ +static inline void +__gthread_objc_thread_yield (void) +{ + return; +} + +/* Terminate the current thread. */ +static inline int +__gthread_objc_thread_exit (void) +{ + /* No thread support available */ + /* Should we really exit the program */ + /* exit (&__objc_thread_exit_status); */ + return -1; +} + +/* Returns an integer value which uniquely describes a thread. */ +static inline objc_thread_t +__gthread_objc_thread_id (void) +{ + /* No thread support, use 1. */ + return (objc_thread_t) 1; +} + +/* Sets the thread's local storage pointer. */ +static inline int +__gthread_objc_thread_set_data (void *value) +{ + thread_local_storage = value; + return 0; +} + +/* Returns the thread's local storage pointer. */ +static inline void * +__gthread_objc_thread_get_data (void) +{ + return thread_local_storage; +} + +/* Backend mutex functions */ + +/* Allocate a mutex. */ +static inline int +__gthread_objc_mutex_allocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) +{ + return 0; +} + +/* Deallocate a mutex. */ +static inline int +__gthread_objc_mutex_deallocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) +{ + return 0; +} + +/* Grab a lock on a mutex. */ +static inline int +__gthread_objc_mutex_lock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) +{ + /* There can only be one thread, so we always get the lock */ + return 0; +} + +/* Try to grab a lock on a mutex. */ +static inline int +__gthread_objc_mutex_trylock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) +{ + /* There can only be one thread, so we always get the lock */ + return 0; +} + +/* Unlock the mutex */ +static inline int +__gthread_objc_mutex_unlock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) +{ + return 0; +} + +/* Backend condition mutex functions */ + +/* Allocate a condition. */ +static inline int +__gthread_objc_condition_allocate (objc_condition_t _GLIBCPP_UNUSED(condition)) +{ + return 0; +} + +/* Deallocate a condition. */ +static inline int +__gthread_objc_condition_deallocate (objc_condition_t _GLIBCPP_UNUSED(condition)) +{ + return 0; +} + +/* Wait on the condition */ +static inline int +__gthread_objc_condition_wait (objc_condition_t _GLIBCPP_UNUSED(condition), + objc_mutex_t _GLIBCPP_UNUSED(mutex)) +{ + return 0; +} + +/* Wake up all threads waiting on this condition. */ +static inline int +__gthread_objc_condition_broadcast (objc_condition_t _GLIBCPP_UNUSED(condition)) +{ + return 0; +} + +/* Wake up one thread waiting on this condition. */ +static inline int +__gthread_objc_condition_signal (objc_condition_t _GLIBCPP_UNUSED(condition)) +{ + return 0; +} + +#else /* _LIBOBJC */ + +static inline int +__gthread_active_p (void) +{ + return 0; +} + +static inline int +__gthread_mutex_lock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) +{ + return 0; +} + +static inline int +__gthread_mutex_trylock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) +{ + return 0; +} + +static inline int +__gthread_mutex_unlock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) +{ + return 0; +} + +#endif /* _LIBOBJC */ + +#undef _GLIBCPP_UNUSED + +#endif /* ! _GLIBCPP_GCC_GTHR_SINGLE_H */ diff --git a/gnu/lib/libstdc++-v3/arch/mipseb/gthr-posix.h b/gnu/lib/libstdc++-v3/arch/mipseb/gthr-posix.h new file mode 100644 index 000000000000..205fa9e2190e --- /dev/null +++ b/gnu/lib/libstdc++-v3/arch/mipseb/gthr-posix.h @@ -0,0 +1,524 @@ +/* This file is automatically generated. DO NOT EDIT! */ +/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ + +/* Threads compatibility routines for libgcc2 and libobjc. */ +/* Compile this one with gcc. */ +/* Copyright (C) 1997, 1999, 2000, 2001 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2, or (at your option) any later +version. + +GCC is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with GCC; see the file COPYING. If not, write to the Free +Software Foundation, 59 Temple Place - Suite 330, Boston, MA +02111-1307, USA. */ + +/* As a special exception, if you link this library with other files, + some of which are compiled with GCC, to produce an executable, + this library does not by itself cause the resulting executable + to be covered by the GNU General Public License. + This exception does not however invalidate any other reasons why + the executable file might be covered by the GNU General Public License. */ + +#ifndef _GLIBCPP_GCC_GTHR_POSIX_H +#define _GLIBCPP_GCC_GTHR_POSIX_H + +/* POSIX threads specific definitions. + Easy, since the interface is just one-to-one mapping. */ + +#define __GTHREADS 1 + +#include +#include + +typedef pthread_key_t __gthread_key_t; +typedef pthread_once_t __gthread_once_t; +typedef pthread_mutex_t __gthread_mutex_t; + +#define __GTHREAD_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER +#define __GTHREAD_ONCE_INIT PTHREAD_ONCE_INIT + +#if _GLIBCPP_SUPPORTS_WEAK && _GLIBCPP_GTHREAD_USE_WEAK + +#pragma weak pthread_once +#pragma weak pthread_key_create +#pragma weak pthread_key_delete +#pragma weak pthread_getspecific +#pragma weak pthread_setspecific +#pragma weak pthread_create + +#pragma weak pthread_mutex_lock +#pragma weak pthread_mutex_trylock +#pragma weak pthread_mutex_unlock + +#ifdef _LIBOBJC +/* Objective-C. */ +#pragma weak pthread_cond_broadcast +#pragma weak pthread_cond_destroy +#pragma weak pthread_cond_init +#pragma weak pthread_cond_signal +#pragma weak pthread_cond_wait +#pragma weak pthread_exit +#pragma weak pthread_mutex_init +#pragma weak pthread_mutex_destroy +#pragma weak pthread_self +/* These really should be protected by _POSIX_PRIORITY_SCHEDULING, but + we use them inside a _POSIX_THREAD_PRIORITY_SCHEDULING block. */ +#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING +#pragma weak sched_get_priority_max +#pragma weak sched_get_priority_min +#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ +#pragma weak sched_yield +#pragma weak pthread_attr_destroy +#pragma weak pthread_attr_init +#pragma weak pthread_attr_setdetachstate +#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING +#pragma weak pthread_getschedparam +#pragma weak pthread_setschedparam +#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ +#endif /* _LIBOBJC */ + +static inline int +__gthread_active_p (void) +{ + static void *const __gthread_active_ptr = (void *) &pthread_create; + return __gthread_active_ptr != 0; +} + +#else /* not _GLIBCPP_SUPPORTS_WEAK */ + +static inline int +__gthread_active_p (void) +{ + return 1; +} + +#endif /* _GLIBCPP_SUPPORTS_WEAK */ + +#ifdef _LIBOBJC + +/* This is the config.h file in libobjc/ */ +#include + +#ifdef HAVE_SCHED_H +# include +#endif + +/* Key structure for maintaining thread specific storage */ +static pthread_key_t _objc_thread_storage; +static pthread_attr_t _objc_thread_attribs; + +/* Thread local storage for a single thread */ +static void *thread_local_storage = NULL; + +/* Backend initialization functions */ + +/* Initialize the threads subsystem. */ +static inline int +__gthread_objc_init_thread_system (void) +{ + if (__gthread_active_p ()) + { + /* Initialize the thread storage key */ + if (pthread_key_create (&_objc_thread_storage, NULL) == 0) + { + /* The normal default detach state for threads is + * PTHREAD_CREATE_JOINABLE which causes threads to not die + * when you think they should. */ + if (pthread_attr_init (&_objc_thread_attribs) == 0 + && pthread_attr_setdetachstate (&_objc_thread_attribs, + PTHREAD_CREATE_DETACHED) == 0) + return 0; + } + } + + return -1; +} + +/* Close the threads subsystem. */ +static inline int +__gthread_objc_close_thread_system (void) +{ + if (__gthread_active_p () + && pthread_key_delete (_objc_thread_storage) == 0 + && pthread_attr_destroy (&_objc_thread_attribs) == 0) + return 0; + + return -1; +} + +/* Backend thread functions */ + +/* Create a new thread of execution. */ +static inline objc_thread_t +__gthread_objc_thread_detach (void (*func)(void *), void *arg) +{ + objc_thread_t thread_id; + pthread_t new_thread_handle; + + if (!__gthread_active_p ()) + return NULL; + + if (!(pthread_create (&new_thread_handle, NULL, (void *) func, arg))) + thread_id = (objc_thread_t) new_thread_handle; + else + thread_id = NULL; + + return thread_id; +} + +/* Set the current thread's priority. */ +static inline int +__gthread_objc_thread_set_priority (int priority) +{ + if (!__gthread_active_p ()) + return -1; + else + { +#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING + pthread_t thread_id = pthread_self (); + int policy; + struct sched_param params; + int priority_min, priority_max; + + if (pthread_getschedparam (thread_id, &policy, ¶ms) == 0) + { + if ((priority_max = sched_get_priority_max (policy)) == -1) + return -1; + + if ((priority_min = sched_get_priority_min (policy)) == -1) + return -1; + + if (priority > priority_max) + priority = priority_max; + else if (priority < priority_min) + priority = priority_min; + params.sched_priority = priority; + + /* + * The solaris 7 and several other man pages incorrectly state that + * this should be a pointer to policy but pthread.h is universally + * at odds with this. + */ + if (pthread_setschedparam (thread_id, policy, ¶ms) == 0) + return 0; + } +#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ + return -1; + } +} + +/* Return the current thread's priority. */ +static inline int +__gthread_objc_thread_get_priority (void) +{ +#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING + if (__gthread_active_p ()) + { + int policy; + struct sched_param params; + + if (pthread_getschedparam (pthread_self (), &policy, ¶ms) == 0) + return params.sched_priority; + else + return -1; + } + else +#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ + return OBJC_THREAD_INTERACTIVE_PRIORITY; +} + +/* Yield our process time to another thread. */ +static inline void +__gthread_objc_thread_yield (void) +{ + if (__gthread_active_p ()) + sched_yield (); +} + +/* Terminate the current thread. */ +static inline int +__gthread_objc_thread_exit (void) +{ + if (__gthread_active_p ()) + /* exit the thread */ + pthread_exit (&__objc_thread_exit_status); + + /* Failed if we reached here */ + return -1; +} + +/* Returns an integer value which uniquely describes a thread. */ +static inline objc_thread_t +__gthread_objc_thread_id (void) +{ + if (__gthread_active_p ()) + return (objc_thread_t) pthread_self (); + else + return (objc_thread_t) 1; +} + +/* Sets the thread's local storage pointer. */ +static inline int +__gthread_objc_thread_set_data (void *value) +{ + if (__gthread_active_p ()) + return pthread_setspecific (_objc_thread_storage, value); + else + { + thread_local_storage = value; + return 0; + } +} + +/* Returns the thread's local storage pointer. */ +static inline void * +__gthread_objc_thread_get_data (void) +{ + if (__gthread_active_p ()) + return pthread_getspecific (_objc_thread_storage); + else + return thread_local_storage; +} + +/* Backend mutex functions */ + +/* Allocate a mutex. */ +static inline int +__gthread_objc_mutex_allocate (objc_mutex_t mutex) +{ + if (__gthread_active_p ()) + { + mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); + + if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend, NULL)) + { + objc_free (mutex->backend); + mutex->backend = NULL; + return -1; + } + } + + return 0; +} + +/* Deallocate a mutex. */ +static inline int +__gthread_objc_mutex_deallocate (objc_mutex_t mutex) +{ + if (__gthread_active_p ()) + { + int count; + + /* + * Posix Threads specifically require that the thread be unlocked + * for pthread_mutex_destroy to work. + */ + + do + { + count = pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend); + if (count < 0) + return -1; + } + while (count); + + if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend)) + return -1; + + objc_free (mutex->backend); + mutex->backend = NULL; + } + return 0; +} + +/* Grab a lock on a mutex. */ +static inline int +__gthread_objc_mutex_lock (objc_mutex_t mutex) +{ + if (__gthread_active_p () + && pthread_mutex_lock ((pthread_mutex_t *) mutex->backend) != 0) + { + return -1; + } + + return 0; +} + +/* Try to grab a lock on a mutex. */ +static inline int +__gthread_objc_mutex_trylock (objc_mutex_t mutex) +{ + if (__gthread_active_p () + && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0) + { + return -1; + } + + return 0; +} + +/* Unlock the mutex */ +static inline int +__gthread_objc_mutex_unlock (objc_mutex_t mutex) +{ + if (__gthread_active_p () + && pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend) != 0) + { + return -1; + } + + return 0; +} + +/* Backend condition mutex functions */ + +/* Allocate a condition. */ +static inline int +__gthread_objc_condition_allocate (objc_condition_t condition) +{ + if (__gthread_active_p ()) + { + condition->backend = objc_malloc (sizeof (pthread_cond_t)); + + if (pthread_cond_init ((pthread_cond_t *) condition->backend, NULL)) + { + objc_free (condition->backend); + condition->backend = NULL; + return -1; + } + } + + return 0; +} + +/* Deallocate a condition. */ +static inline int +__gthread_objc_condition_deallocate (objc_condition_t condition) +{ + if (__gthread_active_p ()) + { + if (pthread_cond_destroy ((pthread_cond_t *) condition->backend)) + return -1; + + objc_free (condition->backend); + condition->backend = NULL; + } + return 0; +} + +/* Wait on the condition */ +static inline int +__gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) +{ + if (__gthread_active_p ()) + return pthread_cond_wait ((pthread_cond_t *) condition->backend, + (pthread_mutex_t *) mutex->backend); + else + return 0; +} + +/* Wake up all threads waiting on this condition. */ +static inline int +__gthread_objc_condition_broadcast (objc_condition_t condition) +{ + if (__gthread_active_p ()) + return pthread_cond_broadcast ((pthread_cond_t *) condition->backend); + else + return 0; +} + +/* Wake up one thread waiting on this condition. */ +static inline int +__gthread_objc_condition_signal (objc_condition_t condition) +{ + if (__gthread_active_p ()) + return pthread_cond_signal ((pthread_cond_t *) condition->backend); + else + return 0; +} + +#else /* _LIBOBJC */ + +static inline int +__gthread_once (__gthread_once_t *once, void (*func) (void)) +{ + if (__gthread_active_p ()) + return pthread_once (once, func); + else + return -1; +} + +static inline int +__gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) +{ + return pthread_key_create (key, dtor); +} + +static inline int +__gthread_key_dtor (__gthread_key_t key, void *ptr) +{ + /* Just reset the key value to zero. */ + if (ptr) + return pthread_setspecific (key, 0); + else + return 0; +} + +static inline int +__gthread_key_delete (__gthread_key_t key) +{ + return pthread_key_delete (key); +} + +static inline void * +__gthread_getspecific (__gthread_key_t key) +{ + return pthread_getspecific (key); +} + +static inline int +__gthread_setspecific (__gthread_key_t key, const void *ptr) +{ + return pthread_setspecific (key, ptr); +} + +static inline int +__gthread_mutex_lock (__gthread_mutex_t *mutex) +{ + if (__gthread_active_p ()) + return pthread_mutex_lock (mutex); + else + return 0; +} + +static inline int +__gthread_mutex_trylock (__gthread_mutex_t *mutex) +{ + if (__gthread_active_p ()) + return pthread_mutex_trylock (mutex); + else + return 0; +} + +static inline int +__gthread_mutex_unlock (__gthread_mutex_t *mutex) +{ + if (__gthread_active_p ()) + return pthread_mutex_unlock (mutex); + else + return 0; +} + +#endif /* _LIBOBJC */ + +#endif /* ! _GLIBCPP_GCC_GTHR_POSIX_H */ diff --git a/gnu/lib/libstdc++-v3/arch/mipseb/gthr-single.h b/gnu/lib/libstdc++-v3/arch/mipseb/gthr-single.h new file mode 100644 index 000000000000..6fa2b1ed699a --- /dev/null +++ b/gnu/lib/libstdc++-v3/arch/mipseb/gthr-single.h @@ -0,0 +1,242 @@ +/* This file is automatically generated. DO NOT EDIT! */ +/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ + +/* Threads compatibility routines for libgcc2 and libobjc. */ +/* Compile this one with gcc. */ +/* Copyright (C) 1997, 1999, 2000 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2, or (at your option) any later +version. + +GCC is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with GCC; see the file COPYING. If not, write to the Free +Software Foundation, 59 Temple Place - Suite 330, Boston, MA +02111-1307, USA. */ + +/* As a special exception, if you link this library with other files, + some of which are compiled with GCC, to produce an executable, + this library does not by itself cause the resulting executable + to be covered by the GNU General Public License. + This exception does not however invalidate any other reasons why + the executable file might be covered by the GNU General Public License. */ + +#ifndef _GLIBCPP_GCC_GTHR_SINGLE_H +#define _GLIBCPP_GCC_GTHR_SINGLE_H + +/* Just provide compatibility for mutex handling. */ + +typedef int __gthread_mutex_t; + +#define __GTHREAD_MUTEX_INIT 0 + +#ifdef __cplusplus +#define _GLIBCPP_UNUSED(x) +#else +#define _GLIBCPP_UNUSED(x) x __attribute__((unused)) +#endif + +#ifdef _LIBOBJC + +/* Thread local storage for a single thread */ +static void *thread_local_storage = NULL; + +/* Backend initialization functions */ + +/* Initialize the threads subsystem. */ +static inline int +__gthread_objc_init_thread_system (void) +{ + /* No thread support available */ + return -1; +} + +/* Close the threads subsystem. */ +static inline int +__gthread_objc_close_thread_system (void) +{ + /* No thread support available */ + return -1; +} + +/* Backend thread functions */ + +/* Create a new thread of execution. */ +static inline objc_thread_t +__gthread_objc_thread_detach (void (* func)(void *), void * _GLIBCPP_UNUSED(arg)) +{ + /* No thread support available */ + return NULL; +} + +/* Set the current thread's priority. */ +static inline int +__gthread_objc_thread_set_priority (int _GLIBCPP_UNUSED(priority)) +{ + /* No thread support available */ + return -1; +} + +/* Return the current thread's priority. */ +static inline int +__gthread_objc_thread_get_priority (void) +{ + return OBJC_THREAD_INTERACTIVE_PRIORITY; +} + +/* Yield our process time to another thread. */ +static inline void +__gthread_objc_thread_yield (void) +{ + return; +} + +/* Terminate the current thread. */ +static inline int +__gthread_objc_thread_exit (void) +{ + /* No thread support available */ + /* Should we really exit the program */ + /* exit (&__objc_thread_exit_status); */ + return -1; +} + +/* Returns an integer value which uniquely describes a thread. */ +static inline objc_thread_t +__gthread_objc_thread_id (void) +{ + /* No thread support, use 1. */ + return (objc_thread_t) 1; +} + +/* Sets the thread's local storage pointer. */ +static inline int +__gthread_objc_thread_set_data (void *value) +{ + thread_local_storage = value; + return 0; +} + +/* Returns the thread's local storage pointer. */ +static inline void * +__gthread_objc_thread_get_data (void) +{ + return thread_local_storage; +} + +/* Backend mutex functions */ + +/* Allocate a mutex. */ +static inline int +__gthread_objc_mutex_allocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) +{ + return 0; +} + +/* Deallocate a mutex. */ +static inline int +__gthread_objc_mutex_deallocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) +{ + return 0; +} + +/* Grab a lock on a mutex. */ +static inline int +__gthread_objc_mutex_lock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) +{ + /* There can only be one thread, so we always get the lock */ + return 0; +} + +/* Try to grab a lock on a mutex. */ +static inline int +__gthread_objc_mutex_trylock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) +{ + /* There can only be one thread, so we always get the lock */ + return 0; +} + +/* Unlock the mutex */ +static inline int +__gthread_objc_mutex_unlock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) +{ + return 0; +} + +/* Backend condition mutex functions */ + +/* Allocate a condition. */ +static inline int +__gthread_objc_condition_allocate (objc_condition_t _GLIBCPP_UNUSED(condition)) +{ + return 0; +} + +/* Deallocate a condition. */ +static inline int +__gthread_objc_condition_deallocate (objc_condition_t _GLIBCPP_UNUSED(condition)) +{ + return 0; +} + +/* Wait on the condition */ +static inline int +__gthread_objc_condition_wait (objc_condition_t _GLIBCPP_UNUSED(condition), + objc_mutex_t _GLIBCPP_UNUSED(mutex)) +{ + return 0; +} + +/* Wake up all threads waiting on this condition. */ +static inline int +__gthread_objc_condition_broadcast (objc_condition_t _GLIBCPP_UNUSED(condition)) +{ + return 0; +} + +/* Wake up one thread waiting on this condition. */ +static inline int +__gthread_objc_condition_signal (objc_condition_t _GLIBCPP_UNUSED(condition)) +{ + return 0; +} + +#else /* _LIBOBJC */ + +static inline int +__gthread_active_p (void) +{ + return 0; +} + +static inline int +__gthread_mutex_lock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) +{ + return 0; +} + +static inline int +__gthread_mutex_trylock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) +{ + return 0; +} + +static inline int +__gthread_mutex_unlock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) +{ + return 0; +} + +#endif /* _LIBOBJC */ + +#undef _GLIBCPP_UNUSED + +#endif /* ! _GLIBCPP_GCC_GTHR_SINGLE_H */ diff --git a/gnu/lib/libstdc++-v3/arch/mipseb/gthr.h b/gnu/lib/libstdc++-v3/arch/mipseb/gthr.h new file mode 100644 index 000000000000..d463cf98ec66 --- /dev/null +++ b/gnu/lib/libstdc++-v3/arch/mipseb/gthr.h @@ -0,0 +1,108 @@ +/* This file is automatically generated. DO NOT EDIT! */ +/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ + +/* Threads compatibility routines for libgcc2. */ +/* Compile this one with gcc. */ +/* Copyright (C) 1997, 1998 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2, or (at your option) any later +version. + +GCC is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with GCC; see the file COPYING. If not, write to the Free +Software Foundation, 59 Temple Place - Suite 330, Boston, MA +02111-1307, USA. */ + +/* As a special exception, if you link this library with other files, + some of which are compiled with GCC, to produce an executable, + this library does not by itself cause the resulting executable + to be covered by the GNU General Public License. + This exception does not however invalidate any other reasons why + the executable file might be covered by the GNU General Public License. */ + +#ifndef _GLIBCPP_GCC_GTHR_H +#define _GLIBCPP_GCC_GTHR_H + +/* If this file is compiled with threads support, it must + #define __GTHREADS 1 + to indicate that threads support is present. Also it has define + function + int __gthread_active_p () + that returns 1 if thread system is active, 0 if not. + + The threads interface must define the following types: + __gthread_key_t + __gthread_once_t + __gthread_mutex_t + + The threads interface must define the following macros: + + __GTHREAD_ONCE_INIT + to initialize __gthread_once_t + __GTHREAD_MUTEX_INIT + to initialize __gthread_mutex_t to get a fast + non-recursive mutex. + __GTHREAD_MUTEX_INIT_FUNCTION + some systems can't initialize a mutex without a + function call. On such systems, define this to a + function which looks like this: + void __GTHREAD_MUTEX_INIT_FUNCTION (__gthread_mutex_t *) + Don't define __GTHREAD_MUTEX_INIT in this case + + The threads interface must define the following static functions: + + int __gthread_once (__gthread_once_t *once, void (*func) ()) + + int __gthread_key_create (__gthread_key_t *keyp, void (*dtor) (void *)) + int __gthread_key_delete (__gthread_key_t key) + + int __gthread_key_dtor (__gthread_key_t key, void *ptr) + + void *__gthread_getspecific (__gthread_key_t key) + int __gthread_setspecific (__gthread_key_t key, const void *ptr) + + int __gthread_mutex_lock (__gthread_mutex_t *mutex); + int __gthread_mutex_trylock (__gthread_mutex_t *mutex); + int __gthread_mutex_unlock (__gthread_mutex_t *mutex); + + All functions returning int should return zero on success or the error + number. If the operation is not supported, -1 is returned. + + Currently supported threads packages are + POSIX threads with -D_PTHREADS + DCE threads with -D_DCE_THREADS + Solaris/UI threads with -D_SOLARIS_THREADS +*/ + +/* Check first for thread specific defines. */ +#if _GLIBCPP__PTHREADS +#include +#elif _GLIBCPP__DCE_THREADS +#include +#elif _GLIBCPP__SOLARIS_THREADS +#include + +/* Include GTHREAD_FILE if one is defined. */ +#elif defined(_GLIBCPP_HAVE_GTHR_DEFAULT) +#if _GLIBCPP_SUPPORTS_WEAK +#ifndef _GLIBCPP_GTHREAD_USE_WEAK +#define _GLIBCPP_GTHREAD_USE_WEAK 1 +#endif +#endif +#include + +/* Fallback to single thread definitions. */ +#else +#include +#endif + +#endif /* ! _GLIBCPP_GCC_GTHR_H */ diff --git a/gnu/lib/libstdc++-v3/arch/mipsel/c++config.h b/gnu/lib/libstdc++-v3/arch/mipsel/c++config.h new file mode 100644 index 000000000000..ce7276697c62 --- /dev/null +++ b/gnu/lib/libstdc++-v3/arch/mipsel/c++config.h @@ -0,0 +1,1228 @@ +/* This file is automatically generated. DO NOT EDIT! */ +/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ + +// Predefined symbols and macros -*- C++ -*- + +// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 +// Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +#ifndef _CPP_CPPCONFIG +#define _CPP_CPPCONFIG 1 + +// Pick up any OS-specific definitions. +#include + +// The current version of the C++ library in compressed ISO date format. +#define __GLIBCPP__ 20030720 + +// This is necessary until GCC supports separate template compilation. +#define _GLIBCPP_NO_TEMPLATE_EXPORT 1 + +// This is a hack around not having either pre-compiled headers or +// export compilation. If defined, the io, string, and valarray +// headers will include all the necessary bits. If not defined, the +// implementation optimizes the headers for the most commonly-used +// types. For the io library, this means that larger, out-of-line +// member functions are only declared, and definitions are not parsed +// by the compiler, but instead instantiated into the library binary. +#define _GLIBCPP_FULLY_COMPLIANT_HEADERS 1 + +// Allow use of the GNU syntax extension, "extern template." This +// extension is fully documented in the g++ manual, but in a nutshell, +// it inhibits all implicit instantiations and is used throughout the +// library to avoid multiple weak definitions for required types that +// are already explicitly instantiated in the library binary. This +// substantially reduces the binary size of resulting executables. +#ifndef _GLIBCPP_EXTERN_TEMPLATE +#define _GLIBCPP_EXTERN_TEMPLATE 1 +#endif + +// To enable older, ARM-style iostreams and other anachronisms use this. +//#define _GLIBCPP_DEPRECATED 1 + +// Use corrected code from the committee library group's issues list. +#define _GLIBCPP_RESOLVE_LIB_DEFECTS 1 + +// Hopefully temporary workaround to autoconf/m4 issue with quoting '@'. +#define _GLIBCPP_AT_AT "@@" + +// In those parts of the standard C++ library that use a mutex instead +// of a spin-lock, we now unconditionally use GCC's gthr.h mutex +// abstraction layer. All support to directly map to various +// threading models has been removed. Note: gthr.h may well map to +// gthr-single.h which is a correct way to express no threads support +// in gcc. Support for the undocumented _NOTHREADS has been removed. + +// Default to the typically high-speed, pool-based allocator (as +// libstdc++-v2) instead of the malloc-based allocator (libstdc++-v3 +// snapshots). See libstdc++-v3/docs/html/17_intro/howto.html for +// details on why you don't want to override this setting. Ensure +// that threads are properly configured on your platform before +// assigning blame to the STL container-memory allocator. After doing +// so, please report any possible issues to libstdc++@gcc.gnu.org . +// Do not define __USE_MALLOC on the command line. Enforce it here: +#ifdef __USE_MALLOC +#error __USE_MALLOC should never be defined. Read the release notes. +#endif + +// Create a boolean flag to be used to determine if --fast-math is set. +#ifdef __FAST_MATH__ +#define _GLIBCPP_FAST_MATH 1 +#else +#define _GLIBCPP_FAST_MATH 0 +#endif + +// The remainder of the prewritten config is mostly automatic; all the +// user hooks are listed above. + +// End of prewritten config; the discovered settings follow. +/* config.h. Generated automatically by configure. */ +/* config.h.in. Generated automatically from configure.in by autoheader. */ + +/* Define if you have a working `mmap' system call. */ +#define _GLIBCPP_HAVE_MMAP 1 + +// Define if GCC supports weak symbols. +/* #undef _GLIBCPP_SUPPORTS_WEAK */ + +// Include I/O support for 'long long' and 'unsigned long long'. +/* #undef _GLIBCPP_USE_LONG_LONG */ + +// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. +/* #undef _GLIBCPP_USE_C99 */ + +// Define if code specialized for wchar_t should be used. +/* #undef _GLIBCPP_USE_WCHAR_T */ + +// Define if using setrlimit to limit memory usage during 'make check'. +/* #undef _GLIBCPP_MEM_LIMITS */ + +// Define to use concept checking code from the boost libraries. +/* #undef _GLIBCPP_CONCEPT_CHECKS */ + +// Define to use symbol versioning in the shared library. +/* #undef _GLIBCPP_SYMVER */ + +// Define symbol versioning in assember directives. If symbol +// versioning is beigng used, and the assembler supports this kind of +// thing, then use it. +// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. +#if _GLIBCPP_SYMVER + #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ + asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); +#else + #define _GLIBCPP_ASM_SYMVER(cur, old, version) +#endif + +// Define if gthr-default.h exists (meaning that threading support is enabled). +/* #undef _GLIBCPP_HAVE_GTHR_DEFAULT */ + +// Define if drand48 exists. +/* #undef _GLIBCPP_HAVE_DRAND48 */ + +// Define if getpagesize exists. +/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ + +// Define if setenv exists. +/* #undef _GLIBCPP_HAVE_SETENV */ + +// Define if sigsetjmp exists. +/* #undef _GLIBCPP_HAVE_SIGSETJMP */ + +// Define if mbstate_t exists in wchar.h. +#define _GLIBCPP_HAVE_MBSTATE_T 1 + +// Define if you have the modff function. +#define _GLIBCPP_HAVE_MODFF 1 + +// Define if you have the modfl function. +/* #undef _GLIBCPP_HAVE_MODFL */ + +// Define if you have the expf function. +#define _GLIBCPP_HAVE_EXPF 1 + +// Define if you have the expl function. +/* #undef _GLIBCPP_HAVE_EXPL */ + +// Define if you have the hypotf function. +#define _GLIBCPP_HAVE_HYPOTF 1 + +// Define if you have the hypotl function. +/* #undef _GLIBCPP_HAVE_HYPOTL */ + +// Define if the compiler/host combination has __builtin_abs +/* #undef _GLIBCPP_HAVE___BUILTIN_ABS */ + +// Define if the compiler/host combination has __builtin_labs +/* #undef _GLIBCPP_HAVE___BUILTIN_LABS */ + +// Define if the compiler/host combination has __builtin_cos +/* #undef _GLIBCPP_HAVE___BUILTIN_COS */ + +// Define if the compiler/host combination has __builtin_cosf +/* #undef _GLIBCPP_HAVE___BUILTIN_COSF */ + +// Define if the compiler/host combination has __builtin_cosl +/* #undef _GLIBCPP_HAVE___BUILTIN_COSL */ + +// Define if the compiler/host combination has __builtin_fabs +/* #undef _GLIBCPP_HAVE___BUILTIN_FABS */ + +// Define if the compiler/host combination has __builtin_fabsf +/* #undef _GLIBCPP_HAVE___BUILTIN_FABSF */ + +// Define if the compiler/host combination has __builtin_fabsl +/* #undef _GLIBCPP_HAVE___BUILTIN_FABSL */ + +// Define if the compiler/host combination has __builtin_sin +/* #undef _GLIBCPP_HAVE___BUILTIN_SIN */ + +// Define if the compiler/host combination has __builtin_sinf +/* #undef _GLIBCPP_HAVE___BUILTIN_SINF */ + +// Define if the compiler/host combination has __builtin_sinl +/* #undef _GLIBCPP_HAVE___BUILTIN_SINL */ + +// Define if the compiler/host combination has __builtin_sqrt +/* #undef _GLIBCPP_HAVE___BUILTIN_SQRT */ + +// Define if the compiler/host combination has __builtin_sqrtf +/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTF */ + +// Define if the compiler/host combination has __builtin_sqrtl +/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTL */ + +// Define if poll is available in . +/* #undef _GLIBCPP_HAVE_POLL */ + +// Define if S_ISREG (Posix) is available in . +/* #undef _GLIBCPP_HAVE_S_ISREG */ + +// Define if S_IFREG is available in . +/* #undef _GLIBCPP_HAVE_S_IFREG */ + +// Define if LC_MESSAGES is available in . +/* #undef _GLIBCPP_HAVE_LC_MESSAGES */ + +/* Define if you have the __signbit function. */ +/* #undef _GLIBCPP_HAVE___SIGNBIT */ + +/* Define if you have the __signbitf function. */ +/* #undef _GLIBCPP_HAVE___SIGNBITF */ + +/* Define if you have the __signbitl function. */ +/* #undef _GLIBCPP_HAVE___SIGNBITL */ + +/* Define if you have the _acosf function. */ +/* #undef _GLIBCPP_HAVE__ACOSF */ + +/* Define if you have the _acosl function. */ +/* #undef _GLIBCPP_HAVE__ACOSL */ + +/* Define if you have the _asinf function. */ +/* #undef _GLIBCPP_HAVE__ASINF */ + +/* Define if you have the _asinl function. */ +/* #undef _GLIBCPP_HAVE__ASINL */ + +/* Define if you have the _atan2f function. */ +/* #undef _GLIBCPP_HAVE__ATAN2F */ + +/* Define if you have the _atan2l function. */ +/* #undef _GLIBCPP_HAVE__ATAN2L */ + +/* Define if you have the _atanf function. */ +/* #undef _GLIBCPP_HAVE__ATANF */ + +/* Define if you have the _atanl function. */ +/* #undef _GLIBCPP_HAVE__ATANL */ + +/* Define if you have the _ceilf function. */ +/* #undef _GLIBCPP_HAVE__CEILF */ + +/* Define if you have the _ceill function. */ +/* #undef _GLIBCPP_HAVE__CEILL */ + +/* Define if you have the _copysign function. */ +/* #undef _GLIBCPP_HAVE__COPYSIGN */ + +/* Define if you have the _copysignl function. */ +/* #undef _GLIBCPP_HAVE__COPYSIGNL */ + +/* Define if you have the _cosf function. */ +/* #undef _GLIBCPP_HAVE__COSF */ + +/* Define if you have the _coshf function. */ +/* #undef _GLIBCPP_HAVE__COSHF */ + +/* Define if you have the _coshl function. */ +/* #undef _GLIBCPP_HAVE__COSHL */ + +/* Define if you have the _cosl function. */ +/* #undef _GLIBCPP_HAVE__COSL */ + +/* Define if you have the _expf function. */ +/* #undef _GLIBCPP_HAVE__EXPF */ + +/* Define if you have the _expl function. */ +/* #undef _GLIBCPP_HAVE__EXPL */ + +/* Define if you have the _fabsf function. */ +/* #undef _GLIBCPP_HAVE__FABSF */ + +/* Define if you have the _fabsl function. */ +/* #undef _GLIBCPP_HAVE__FABSL */ + +/* Define if you have the _finite function. */ +/* #undef _GLIBCPP_HAVE__FINITE */ + +/* Define if you have the _finitef function. */ +/* #undef _GLIBCPP_HAVE__FINITEF */ + +/* Define if you have the _finitel function. */ +/* #undef _GLIBCPP_HAVE__FINITEL */ + +/* Define if you have the _floorf function. */ +/* #undef _GLIBCPP_HAVE__FLOORF */ + +/* Define if you have the _floorl function. */ +/* #undef _GLIBCPP_HAVE__FLOORL */ + +/* Define if you have the _fmodf function. */ +/* #undef _GLIBCPP_HAVE__FMODF */ + +/* Define if you have the _fmodl function. */ +/* #undef _GLIBCPP_HAVE__FMODL */ + +/* Define if you have the _fpclass function. */ +/* #undef _GLIBCPP_HAVE__FPCLASS */ + +/* Define if you have the _frexpf function. */ +/* #undef _GLIBCPP_HAVE__FREXPF */ + +/* Define if you have the _frexpl function. */ +/* #undef _GLIBCPP_HAVE__FREXPL */ + +/* Define if you have the _hypot function. */ +/* #undef _GLIBCPP_HAVE__HYPOT */ + +/* Define if you have the _hypotf function. */ +/* #undef _GLIBCPP_HAVE__HYPOTF */ + +/* Define if you have the _hypotl function. */ +/* #undef _GLIBCPP_HAVE__HYPOTL */ + +/* Define if you have the _isinf function. */ +/* #undef _GLIBCPP_HAVE__ISINF */ + +/* Define if you have the _isinff function. */ +/* #undef _GLIBCPP_HAVE__ISINFF */ + +/* Define if you have the _isinfl function. */ +/* #undef _GLIBCPP_HAVE__ISINFL */ + +/* Define if you have the _isnan function. */ +/* #undef _GLIBCPP_HAVE__ISNAN */ + +/* Define if you have the _isnanf function. */ +/* #undef _GLIBCPP_HAVE__ISNANF */ + +/* Define if you have the _isnanl function. */ +/* #undef _GLIBCPP_HAVE__ISNANL */ + +/* Define if you have the _ldexpf function. */ +/* #undef _GLIBCPP_HAVE__LDEXPF */ + +/* Define if you have the _ldexpl function. */ +/* #undef _GLIBCPP_HAVE__LDEXPL */ + +/* Define if you have the _log10f function. */ +/* #undef _GLIBCPP_HAVE__LOG10F */ + +/* Define if you have the _log10l function. */ +/* #undef _GLIBCPP_HAVE__LOG10L */ + +/* Define if you have the _logf function. */ +/* #undef _GLIBCPP_HAVE__LOGF */ + +/* Define if you have the _logl function. */ +/* #undef _GLIBCPP_HAVE__LOGL */ + +/* Define if you have the _modff function. */ +/* #undef _GLIBCPP_HAVE__MODFF */ + +/* Define if you have the _modfl function. */ +/* #undef _GLIBCPP_HAVE__MODFL */ + +/* Define if you have the _powf function. */ +/* #undef _GLIBCPP_HAVE__POWF */ + +/* Define if you have the _powl function. */ +/* #undef _GLIBCPP_HAVE__POWL */ + +/* Define if you have the _qfpclass function. */ +/* #undef _GLIBCPP_HAVE__QFPCLASS */ + +/* Define if you have the _sincos function. */ +/* #undef _GLIBCPP_HAVE__SINCOS */ + +/* Define if you have the _sincosf function. */ +/* #undef _GLIBCPP_HAVE__SINCOSF */ + +/* Define if you have the _sincosl function. */ +/* #undef _GLIBCPP_HAVE__SINCOSL */ + +/* Define if you have the _sinf function. */ +/* #undef _GLIBCPP_HAVE__SINF */ + +/* Define if you have the _sinhf function. */ +/* #undef _GLIBCPP_HAVE__SINHF */ + +/* Define if you have the _sinhl function. */ +/* #undef _GLIBCPP_HAVE__SINHL */ + +/* Define if you have the _sinl function. */ +/* #undef _GLIBCPP_HAVE__SINL */ + +/* Define if you have the _sqrtf function. */ +/* #undef _GLIBCPP_HAVE__SQRTF */ + +/* Define if you have the _sqrtl function. */ +/* #undef _GLIBCPP_HAVE__SQRTL */ + +/* Define if you have the _tanf function. */ +/* #undef _GLIBCPP_HAVE__TANF */ + +/* Define if you have the _tanhf function. */ +/* #undef _GLIBCPP_HAVE__TANHF */ + +/* Define if you have the _tanhl function. */ +/* #undef _GLIBCPP_HAVE__TANHL */ + +/* Define if you have the _tanl function. */ +/* #undef _GLIBCPP_HAVE__TANL */ + +/* Define if you have the acosf function. */ +#define _GLIBCPP_HAVE_ACOSF 1 + +/* Define if you have the acosl function. */ +/* #undef _GLIBCPP_HAVE_ACOSL */ + +/* Define if you have the asinf function. */ +#define _GLIBCPP_HAVE_ASINF 1 + +/* Define if you have the asinl function. */ +/* #undef _GLIBCPP_HAVE_ASINL */ + +/* Define if you have the atan2f function. */ +#define _GLIBCPP_HAVE_ATAN2F 1 + +/* Define if you have the atan2l function. */ +/* #undef _GLIBCPP_HAVE_ATAN2L */ + +/* Define if you have the atanf function. */ +#define _GLIBCPP_HAVE_ATANF 1 + +/* Define if you have the atanl function. */ +/* #undef _GLIBCPP_HAVE_ATANL */ + +/* Define if you have the btowc function. */ +#define _GLIBCPP_HAVE_BTOWC 1 + +/* Define if you have the ceilf function. */ +#define _GLIBCPP_HAVE_CEILF 1 + +/* Define if you have the ceill function. */ +/* #undef _GLIBCPP_HAVE_CEILL */ + +/* Define if you have the copysign function. */ +#define _GLIBCPP_HAVE_COPYSIGN 1 + +/* Define if you have the copysignf function. */ +#define _GLIBCPP_HAVE_COPYSIGNF 1 + +/* Define if you have the copysignl function. */ +/* #undef _GLIBCPP_HAVE_COPYSIGNL */ + +/* Define if you have the cosf function. */ +#define _GLIBCPP_HAVE_COSF 1 + +/* Define if you have the coshf function. */ +#define _GLIBCPP_HAVE_COSHF 1 + +/* Define if you have the coshl function. */ +/* #undef _GLIBCPP_HAVE_COSHL */ + +/* Define if you have the cosl function. */ +/* #undef _GLIBCPP_HAVE_COSL */ + +/* Define if you have the drand48 function. */ +/* #undef _GLIBCPP_HAVE_DRAND48 */ + +/* Define if you have the expf function. */ +#define _GLIBCPP_HAVE_EXPF 1 + +/* Define if you have the expl function. */ +/* #undef _GLIBCPP_HAVE_EXPL */ + +/* Define if you have the fabsf function. */ +#define _GLIBCPP_HAVE_FABSF 1 + +/* Define if you have the fabsl function. */ +/* #undef _GLIBCPP_HAVE_FABSL */ + +/* Define if you have the fgetwc function. */ +#define _GLIBCPP_HAVE_FGETWC 1 + +/* Define if you have the fgetws function. */ +#define _GLIBCPP_HAVE_FGETWS 1 + +/* Define if you have the finite function. */ +#define _GLIBCPP_HAVE_FINITE 1 + +/* Define if you have the finitef function. */ +#define _GLIBCPP_HAVE_FINITEF 1 + +/* Define if you have the finitel function. */ +/* #undef _GLIBCPP_HAVE_FINITEL */ + +/* Define if you have the floorf function. */ +#define _GLIBCPP_HAVE_FLOORF 1 + +/* Define if you have the floorl function. */ +/* #undef _GLIBCPP_HAVE_FLOORL */ + +/* Define if you have the fmodf function. */ +#define _GLIBCPP_HAVE_FMODF 1 + +/* Define if you have the fmodl function. */ +/* #undef _GLIBCPP_HAVE_FMODL */ + +/* Define if you have the fpclass function. */ +/* #undef _GLIBCPP_HAVE_FPCLASS */ + +/* Define if you have the fputwc function. */ +#define _GLIBCPP_HAVE_FPUTWC 1 + +/* Define if you have the fputws function. */ +#define _GLIBCPP_HAVE_FPUTWS 1 + +/* Define if you have the frexpf function. */ +#define _GLIBCPP_HAVE_FREXPF 1 + +/* Define if you have the frexpl function. */ +/* #undef _GLIBCPP_HAVE_FREXPL */ + +/* Define if you have the fwide function. */ +#define _GLIBCPP_HAVE_FWIDE 1 + +/* Define if you have the fwprintf function. */ +/* #undef _GLIBCPP_HAVE_FWPRINTF */ + +/* Define if you have the fwscanf function. */ +/* #undef _GLIBCPP_HAVE_FWSCANF */ + +/* Define if you have the getpagesize function. */ +/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ + +/* Define if you have the getwc function. */ +#define _GLIBCPP_HAVE_GETWC 1 + +/* Define if you have the getwchar function. */ +#define _GLIBCPP_HAVE_GETWCHAR 1 + +/* Define if you have the hypot function. */ +/* #undef _GLIBCPP_HAVE_HYPOT */ + +/* Define if you have the hypotf function. */ +#define _GLIBCPP_HAVE_HYPOTF 1 + +/* Define if you have the hypotl function. */ +/* #undef _GLIBCPP_HAVE_HYPOTL */ + +/* Define if you have the iconv function. */ +#define _GLIBCPP_HAVE_ICONV 1 + +/* Define if you have the iconv_close function. */ +#define _GLIBCPP_HAVE_ICONV_CLOSE 1 + +/* Define if you have the iconv_open function. */ +#define _GLIBCPP_HAVE_ICONV_OPEN 1 + +/* Define if you have the isatty function. */ +/* #undef _GLIBCPP_HAVE_ISATTY */ + +/* Define if you have the isinf function. */ +#define _GLIBCPP_HAVE_ISINF 1 + +/* Define if you have the isinff function. */ +#define _GLIBCPP_HAVE_ISINFF 1 + +/* Define if you have the isinfl function. */ +/* #undef _GLIBCPP_HAVE_ISINFL */ + +/* Define if you have the isnan function. */ +#define _GLIBCPP_HAVE_ISNAN 1 + +/* Define if you have the isnanf function. */ +#define _GLIBCPP_HAVE_ISNANF 1 + +/* Define if you have the isnanl function. */ +/* #undef _GLIBCPP_HAVE_ISNANL */ + +/* Define if you have the ldexpf function. */ +#define _GLIBCPP_HAVE_LDEXPF 1 + +/* Define if you have the ldexpl function. */ +/* #undef _GLIBCPP_HAVE_LDEXPL */ + +/* Define if you have the log10f function. */ +#define _GLIBCPP_HAVE_LOG10F 1 + +/* Define if you have the log10l function. */ +/* #undef _GLIBCPP_HAVE_LOG10L */ + +/* Define if you have the logf function. */ +#define _GLIBCPP_HAVE_LOGF 1 + +/* Define if you have the logl function. */ +/* #undef _GLIBCPP_HAVE_LOGL */ + +/* Define if you have the mbrlen function. */ +#define _GLIBCPP_HAVE_MBRLEN 1 + +/* Define if you have the mbrtowc function. */ +#define _GLIBCPP_HAVE_MBRTOWC 1 + +/* Define if you have the mbsinit function. */ +#define _GLIBCPP_HAVE_MBSINIT 1 + +/* Define if you have the mbsrtowcs function. */ +#define _GLIBCPP_HAVE_MBSRTOWCS 1 + +/* Define if you have the modff function. */ +#define _GLIBCPP_HAVE_MODFF 1 + +/* Define if you have the modfl function. */ +/* #undef _GLIBCPP_HAVE_MODFL */ + +/* Define if you have the nan function. */ +/* #undef _GLIBCPP_HAVE_NAN */ + +/* Define if you have the nl_langinfo function. */ +#define _GLIBCPP_HAVE_NL_LANGINFO 1 + +/* Define if you have the powf function. */ +#define _GLIBCPP_HAVE_POWF 1 + +/* Define if you have the powl function. */ +/* #undef _GLIBCPP_HAVE_POWL */ + +/* Define if you have the putwc function. */ +#define _GLIBCPP_HAVE_PUTWC 1 + +/* Define if you have the putwchar function. */ +#define _GLIBCPP_HAVE_PUTWCHAR 1 + +/* Define if you have the qfpclass function. */ +/* #undef _GLIBCPP_HAVE_QFPCLASS */ + +/* Define if you have the setenv function. */ +/* #undef _GLIBCPP_HAVE_SETENV */ + +/* Define if you have the sincos function. */ +/* #undef _GLIBCPP_HAVE_SINCOS */ + +/* Define if you have the sincosf function. */ +/* #undef _GLIBCPP_HAVE_SINCOSF */ + +/* Define if you have the sincosl function. */ +/* #undef _GLIBCPP_HAVE_SINCOSL */ + +/* Define if you have the sinf function. */ +#define _GLIBCPP_HAVE_SINF 1 + +/* Define if you have the sinhf function. */ +#define _GLIBCPP_HAVE_SINHF 1 + +/* Define if you have the sinhl function. */ +/* #undef _GLIBCPP_HAVE_SINHL */ + +/* Define if you have the sinl function. */ +/* #undef _GLIBCPP_HAVE_SINL */ + +/* Define if you have the sqrtf function. */ +#define _GLIBCPP_HAVE_SQRTF 1 + +/* Define if you have the sqrtl function. */ +/* #undef _GLIBCPP_HAVE_SQRTL */ + +/* Define if you have the strtof function. */ +#define _GLIBCPP_HAVE_STRTOF 1 + +/* Define if you have the strtold function. */ +#define _GLIBCPP_HAVE_STRTOLD 1 + +/* Define if you have the swprintf function. */ +/* #undef _GLIBCPP_HAVE_SWPRINTF */ + +/* Define if you have the swscanf function. */ +/* #undef _GLIBCPP_HAVE_SWSCANF */ + +/* Define if you have the tanf function. */ +#define _GLIBCPP_HAVE_TANF 1 + +/* Define if you have the tanhf function. */ +#define _GLIBCPP_HAVE_TANHF 1 + +/* Define if you have the tanhl function. */ +/* #undef _GLIBCPP_HAVE_TANHL */ + +/* Define if you have the tanl function. */ +/* #undef _GLIBCPP_HAVE_TANL */ + +/* Define if you have the ungetwc function. */ +#define _GLIBCPP_HAVE_UNGETWC 1 + +/* Define if you have the vfwprintf function. */ +/* #undef _GLIBCPP_HAVE_VFWPRINTF */ + +/* Define if you have the vfwscanf function. */ +/* #undef _GLIBCPP_HAVE_VFWSCANF */ + +/* Define if you have the vswprintf function. */ +/* #undef _GLIBCPP_HAVE_VSWPRINTF */ + +/* Define if you have the vswscanf function. */ +/* #undef _GLIBCPP_HAVE_VSWSCANF */ + +/* Define if you have the vwprintf function. */ +/* #undef _GLIBCPP_HAVE_VWPRINTF */ + +/* Define if you have the vwscanf function. */ +/* #undef _GLIBCPP_HAVE_VWSCANF */ + +/* Define if you have the wcrtomb function. */ +#define _GLIBCPP_HAVE_WCRTOMB 1 + +/* Define if you have the wcscat function. */ +#define _GLIBCPP_HAVE_WCSCAT 1 + +/* Define if you have the wcschr function. */ +#define _GLIBCPP_HAVE_WCSCHR 1 + +/* Define if you have the wcscmp function. */ +#define _GLIBCPP_HAVE_WCSCMP 1 + +/* Define if you have the wcscoll function. */ +#define _GLIBCPP_HAVE_WCSCOLL 1 + +/* Define if you have the wcscpy function. */ +#define _GLIBCPP_HAVE_WCSCPY 1 + +/* Define if you have the wcscspn function. */ +#define _GLIBCPP_HAVE_WCSCSPN 1 + +/* Define if you have the wcsftime function. */ +/* #undef _GLIBCPP_HAVE_WCSFTIME */ + +/* Define if you have the wcslen function. */ +#define _GLIBCPP_HAVE_WCSLEN 1 + +/* Define if you have the wcsncat function. */ +#define _GLIBCPP_HAVE_WCSNCAT 1 + +/* Define if you have the wcsncmp function. */ +#define _GLIBCPP_HAVE_WCSNCMP 1 + +/* Define if you have the wcsncpy function. */ +#define _GLIBCPP_HAVE_WCSNCPY 1 + +/* Define if you have the wcspbrk function. */ +#define _GLIBCPP_HAVE_WCSPBRK 1 + +/* Define if you have the wcsrchr function. */ +#define _GLIBCPP_HAVE_WCSRCHR 1 + +/* Define if you have the wcsrtombs function. */ +#define _GLIBCPP_HAVE_WCSRTOMBS 1 + +/* Define if you have the wcsspn function. */ +#define _GLIBCPP_HAVE_WCSSPN 1 + +/* Define if you have the wcsstr function. */ +#define _GLIBCPP_HAVE_WCSSTR 1 + +/* Define if you have the wcstod function. */ +#define _GLIBCPP_HAVE_WCSTOD 1 + +/* Define if you have the wcstof function. */ +/* #undef _GLIBCPP_HAVE_WCSTOF */ + +/* Define if you have the wcstok function. */ +#define _GLIBCPP_HAVE_WCSTOK 1 + +/* Define if you have the wcstol function. */ +#define _GLIBCPP_HAVE_WCSTOL 1 + +/* Define if you have the wcstoul function. */ +#define _GLIBCPP_HAVE_WCSTOUL 1 + +/* Define if you have the wcsxfrm function. */ +#define _GLIBCPP_HAVE_WCSXFRM 1 + +/* Define if you have the wctob function. */ +#define _GLIBCPP_HAVE_WCTOB 1 + +/* Define if you have the wmemchr function. */ +#define _GLIBCPP_HAVE_WMEMCHR 1 + +/* Define if you have the wmemcmp function. */ +#define _GLIBCPP_HAVE_WMEMCMP 1 + +/* Define if you have the wmemcpy function. */ +#define _GLIBCPP_HAVE_WMEMCPY 1 + +/* Define if you have the wmemmove function. */ +#define _GLIBCPP_HAVE_WMEMMOVE 1 + +/* Define if you have the wmemset function. */ +#define _GLIBCPP_HAVE_WMEMSET 1 + +/* Define if you have the wprintf function. */ +/* #undef _GLIBCPP_HAVE_WPRINTF */ + +/* Define if you have the wscanf function. */ +/* #undef _GLIBCPP_HAVE_WSCANF */ + +/* Define if you have the header file. */ +/* #undef _GLIBCPP_HAVE_ENDIAN_H */ + +/* Define if you have the header file. */ +#define _GLIBCPP_HAVE_FLOAT_H 1 + +/* Define if you have the header file. */ +/* #undef _GLIBCPP_HAVE_FP_H */ + +/* Define if you have the header file. */ +/* #undef _GLIBCPP_HAVE_GCONV_H */ + +/* Define if you have the header file. */ +#define _GLIBCPP_HAVE_IEEEFP_H 1 + +/* Define if you have the header file. */ +#define _GLIBCPP_HAVE_INTTYPES_H 1 + +/* Define if you have the header file. */ +#define _GLIBCPP_HAVE_LOCALE_H 1 + +/* Define if you have the header file. */ +#define _GLIBCPP_HAVE_MACHINE_ENDIAN_H 1 + +/* Define if you have the header file. */ +#define _GLIBCPP_HAVE_MACHINE_PARAM_H 1 + +/* Define if you have the header file. */ +/* #undef _GLIBCPP_HAVE_NAN_H */ + +/* Define if you have the header file. */ +#define _GLIBCPP_HAVE_STDLIB_H 1 + +/* Define if you have the header file. */ +#define _GLIBCPP_HAVE_STRING_H 1 + +/* Define if you have the header file. */ +/* #undef _GLIBCPP_HAVE_SYS_FILIO_H */ + +/* Define if you have the header file. */ +/* #undef _GLIBCPP_HAVE_SYS_IOCTL_H */ + +/* Define if you have the header file. */ +/* #undef _GLIBCPP_HAVE_SYS_ISA_DEFS_H */ + +/* Define if you have the header file. */ +/* #undef _GLIBCPP_HAVE_SYS_MACHINE_H */ + +/* Define if you have the header file. */ +/* #undef _GLIBCPP_HAVE_SYS_RESOURCE_H */ + +/* Define if you have the header file. */ +/* #undef _GLIBCPP_HAVE_SYS_STAT_H */ + +/* Define if you have the header file. */ +/* #undef _GLIBCPP_HAVE_SYS_TIME_H */ + +/* Define if you have the header file. */ +#define _GLIBCPP_HAVE_SYS_TYPES_H 1 + +/* Define if you have the header file. */ +/* #undef _GLIBCPP_HAVE_UNISTD_H */ + +/* Define if you have the header file. */ +#define _GLIBCPP_HAVE_WCHAR_H 1 + +/* Define if you have the header file. */ +#define _GLIBCPP_HAVE_WCTYPE_H 1 + +/* Define if you have the m library (-lm). */ +/* #undef _GLIBCPP_HAVE_LIBM */ + +/* Name of package */ +#define _GLIBCPP_PACKAGE "libstdc++" + +/* Version number of package */ +#define _GLIBCPP_VERSION "3.3.1" + +/* Define if the compiler is configured for setjmp/longjmp exceptions. */ +/* #undef _GLIBCPP_SJLJ_EXCEPTIONS */ + +/* Define if sigsetjmp is available. */ +/* #undef _GLIBCPP_HAVE_SIGSETJMP */ + +/* Only used in build directory testsuite_hooks.h. */ +/* #undef _GLIBCPP_HAVE_MEMLIMIT_DATA */ + +/* Only used in build directory testsuite_hooks.h. */ +/* #undef _GLIBCPP_HAVE_MEMLIMIT_RSS */ + +/* Only used in build directory testsuite_hooks.h. */ +/* #undef _GLIBCPP_HAVE_MEMLIMIT_VMEM */ + +/* Only used in build directory testsuite_hooks.h. */ +/* #undef _GLIBCPP_HAVE_MEMLIMIT_AS */ + +// +// Systems that have certain non-standard functions prefixed with an +// underscore, we'll handle those here. Must come after config.h.in. +// +#if defined (_GLIBCPP_HAVE__ISNAN) && ! defined (_GLIBCPP_HAVE_ISNAN) +# define _GLIBCPP_HAVE_ISNAN 1 +# define isnan _isnan +#endif + +#if defined (_GLIBCPP_HAVE__ISNANF) && ! defined (_GLIBCPP_HAVE_ISNANF) +# define _GLIBCPP_HAVE_ISNANF 1 +# define isnanf _isnanf +#endif + +#if defined (_GLIBCPP_HAVE__ISNANL) && ! defined (_GLIBCPP_HAVE_ISNANL) +# define _GLIBCPP_HAVE_ISNANL 1 +# define isnanl _isnanl +#endif + +#if defined (_GLIBCPP_HAVE__ISINF) && ! defined (_GLIBCPP_HAVE_ISINF) +# define _GLIBCPP_HAVE_ISINF 1 +# define isinf _isinf +#endif + +#if defined (_GLIBCPP_HAVE__ISINFF) && ! defined (_GLIBCPP_HAVE_ISINFF) +# define _GLIBCPP_HAVE_ISINFF 1 +# define isinff _isinff +#endif + +#if defined (_GLIBCPP_HAVE__ISINFL) && ! defined (_GLIBCPP_HAVE_ISINFL) +# define _GLIBCPP_HAVE_ISINFL 1 +# define isinfl _isinfl +#endif + +#if defined (_GLIBCPP_HAVE__COPYSIGN) && ! defined (_GLIBCPP_HAVE_COPYSIGN) +# define _GLIBCPP_HAVE_COPYSIGN 1 +# define copysign _copysign +#endif + +#if defined (_GLIBCPP_HAVE__COPYSIGNL) && ! defined (_GLIBCPP_HAVE_COPYSIGNL) +# define _GLIBCPP_HAVE_COPYSIGNL 1 +# define copysignl _copysignl +#endif + +#if defined (_GLIBCPP_HAVE__COSF) && ! defined (_GLIBCPP_HAVE_COSF) +# define _GLIBCPP_HAVE_COSF 1 +# define cosf _cosf +#endif + +#if defined (_GLIBCPP_HAVE__ACOSF) && ! defined (_GLIBCPP_HAVE_ACOSF) +# define _GLIBCPP_HAVE_ACOSF 1 +# define acosf _acosf +#endif + +#if defined (_GLIBCPP_HAVE__ACOSL) && ! defined (_GLIBCPP_HAVE_ACOSL) +# define _GLIBCPP_HAVE_ACOSL 1 +# define acosl _acosl +#endif + +#if defined (_GLIBCPP_HAVE__ASINF) && ! defined (_GLIBCPP_HAVE_ASINF) +# define _GLIBCPP_HAVE_ASINF 1 +# define asinf _asinf +#endif + +#if defined (_GLIBCPP_HAVE__ASINL) && ! defined (_GLIBCPP_HAVE_ASINL) +# define _GLIBCPP_HAVE_ASINL 1 +# define asinl _asinl +#endif + +#if defined (_GLIBCPP_HAVE__ATANF) && ! defined (_GLIBCPP_HAVE_ATANF) +# define _GLIBCPP_HAVE_ATANF 1 +# define atanf _atanf +#endif + +#if defined (_GLIBCPP_HAVE__ATANL) && ! defined (_GLIBCPP_HAVE_ATANL) +# define _GLIBCPP_HAVE_ATANL 1 +# define atanl _atanl +#endif + +#if defined (_GLIBCPP_HAVE__CEILF) && ! defined (_GLIBCPP_HAVE_CEILF) +# define _GLIBCPP_HAVE_CEILF 1 +# define aceil _ceilf +#endif + +#if defined (_GLIBCPP_HAVE__CEILL) && ! defined (_GLIBCPP_HAVE_CEILL) +# define _GLIBCPP_HAVE_CEILL 1 +# define aceil _ceill +#endif + +#if defined (_GLIBCPP_HAVE__COSHF) && ! defined (_GLIBCPP_HAVE_COSHF) +# define _GLIBCPP_HAVE_COSHF 1 +# define coshf _coshf +#endif + +#if defined (_GLIBCPP_HAVE__COSL) && ! defined (_GLIBCPP_HAVE_COSL) +# define _GLIBCPP_HAVE_COSL 1 +# define cosl _cosl +#endif + +#if defined (_GLIBCPP_HAVE__LOGF) && ! defined (_GLIBCPP_HAVE_LOGF) +# define _GLIBCPP_HAVE_LOGF 1 +# define logf _logf +#endif + +#if defined (_GLIBCPP_HAVE__COSHL) && ! defined (_GLIBCPP_HAVE_COSHL) +# define _GLIBCPP_HAVE_COSHL 1 +# define coshl _coshl +#endif + +#if defined (_GLIBCPP_HAVE__EXPF) && ! defined (_GLIBCPP_HAVE_EXPF) +# define _GLIBCPP_HAVE_EXPF 1 +# define expf _expf +#endif + +#if defined (_GLIBCPP_HAVE__EXPL) && ! defined (_GLIBCPP_HAVE_EXPL) +# define _GLIBCPP_HAVE_EXPL 1 +# define expl _expl +#endif + +#if defined (_GLIBCPP_HAVE__FABSF) && ! defined (_GLIBCPP_HAVE_FABSF) +# define _GLIBCPP_HAVE_FABSF 1 +# define fabsf _fabsf +#endif + +#if defined (_GLIBCPP_HAVE__FABSL) && ! defined (_GLIBCPP_HAVE_FABSL) +# define _GLIBCPP_HAVE_FABSL 1 +# define fabsl _fabsl +#endif + +#if defined (_GLIBCPP_HAVE__FLOORF) && ! defined (_GLIBCPP_HAVE_FLOORF) +# define _GLIBCPP_HAVE_FLOORF 1 +# define floorf _floorf +#endif + +#if defined (_GLIBCPP_HAVE__FLOORL) && ! defined (_GLIBCPP_HAVE_FLOORL) +# define _GLIBCPP_HAVE_FLOORL 1 +# define floorl _floorl +#endif + +#if defined (_GLIBCPP_HAVE__FMODF) && ! defined (_GLIBCPP_HAVE_FMODF) +# define _GLIBCPP_HAVE_FMODF 1 +# define fmodf _fmodf +#endif + +#if defined (_GLIBCPP_HAVE__FMODL) && ! defined (_GLIBCPP_HAVE_FMODL) +# define _GLIBCPP_HAVE_FMODL 1 +# define fmodl _fmodl +#endif + +#if defined (_GLIBCPP_HAVE__FREXPF) && ! defined (_GLIBCPP_HAVE_FREXPF) +# define _GLIBCPP_HAVE_FREXPF 1 +# define frexpf _frexpf +#endif + +#if defined (_GLIBCPP_HAVE__FREXPL) && ! defined (_GLIBCPP_HAVE_FREXPL) +# define _GLIBCPP_HAVE_FREXPL 1 +# define frexpl _frexpl +#endif + +#if defined (_GLIBCPP_HAVE__LDEXPF) && ! defined (_GLIBCPP_HAVE_LDEXPF) +# define _GLIBCPP_HAVE_LDEXPF 1 +# define ldexpf _ldexpf +#endif + +#if defined (_GLIBCPP_HAVE__LDEXPL) && ! defined (_GLIBCPP_HAVE_LDEXPL) +# define _GLIBCPP_HAVE_LDEXPL 1 +# define ldexpl _ldexpl +#endif + +#if defined (_GLIBCPP_HAVE__LOG10F) && ! defined (_GLIBCPP_HAVE_LOG10F) +# define _GLIBCPP_HAVE_LOG10F 1 +# define log10f _log10f +#endif + +#if defined (_GLIBCPP_HAVE__LOGL) && ! defined (_GLIBCPP_HAVE_LOGL) +# define _GLIBCPP_HAVE_LOGL 1 +# define logl _logl +#endif + +#if defined (_GLIBCPP_HAVE__POWF) && ! defined (_GLIBCPP_HAVE_POWF) +# define _GLIBCPP_HAVE_POWF 1 +# define powf _powf +#endif + +#if defined (_GLIBCPP_HAVE__LOG10L) && ! defined (_GLIBCPP_HAVE_LOG10L) +# define _GLIBCPP_HAVE_LOG10L 1 +# define log10l _log10l +#endif + +#if defined (_GLIBCPP_HAVE__MODF) && ! defined (_GLIBCPP_HAVE_MODF) +# define _GLIBCPP_HAVE_MODF 1 +# define modf _modf +#endif + +#if defined (_GLIBCPP_HAVE__MODL) && ! defined (_GLIBCPP_HAVE_MODL) +# define _GLIBCPP_HAVE_MODL 1 +# define modl _modl +#endif + +#if defined (_GLIBCPP_HAVE__SINF) && ! defined (_GLIBCPP_HAVE_SINF) +# define _GLIBCPP_HAVE_SINF 1 +# define sinf _sinf +#endif + +#if defined (_GLIBCPP_HAVE__POWL) && ! defined (_GLIBCPP_HAVE_POWL) +# define _GLIBCPP_HAVE_POWL 1 +# define powl _powl +#endif + +#if defined (_GLIBCPP_HAVE__SINHF) && ! defined (_GLIBCPP_HAVE_SINHF) +# define _GLIBCPP_HAVE_SINHF 1 +# define sinhf _sinhf +#endif + +#if defined (_GLIBCPP_HAVE__SINL) && ! defined (_GLIBCPP_HAVE_SINL) +# define _GLIBCPP_HAVE_SINL 1 +# define sinl _sinl +#endif + +#if defined (_GLIBCPP_HAVE__SQRTF) && ! defined (_GLIBCPP_HAVE_SQRTF) +# define _GLIBCPP_HAVE_SQRTF 1 +# define sqrtf _sqrtf +#endif + +#if defined (_GLIBCPP_HAVE__SINHL) && ! defined (_GLIBCPP_HAVE_SINHL) +# define _GLIBCPP_HAVE_SINHL 1 +# define sinhl _sinhl +#endif + +#if defined (_GLIBCPP_HAVE__TANF) && ! defined (_GLIBCPP_HAVE_TANF) +# define _GLIBCPP_HAVE_TANF 1 +# define tanf _tanf +#endif + +#if defined (_GLIBCPP_HAVE__SQRTL) && ! defined (_GLIBCPP_HAVE_SQRTL) +# define _GLIBCPP_HAVE_SQRTL 1 +# define sqrtl _sqrtl +#endif + +#if defined (_GLIBCPP_HAVE__TANHF) && ! defined (_GLIBCPP_HAVE_TANHF) +# define _GLIBCPP_HAVE_TANHF 1 +# define tanhf _tanhf +#endif + +#if defined (_GLIBCPP_HAVE__TANL) && ! defined (_GLIBCPP_HAVE_TANL) +# define _GLIBCPP_HAVE_TANF 1 +# define tanf _tanf +#endif + +#if defined (_GLIBCPP_HAVE__STRTOF) && ! defined (_GLIBCPP_HAVE_STRTOF) +# define _GLIBCPP_HAVE_STRTOF 1 +# define strtof _strtof +#endif + +#if defined (_GLIBCPP_HAVE__TANHL) && ! defined (_GLIBCPP_HAVE_TANHL) +# define _GLIBCPP_HAVE_TANHL 1 +# define tanhl _tanhl +#endif + +#if defined (_GLIBCPP_HAVE__STRTOLD) && ! defined (_GLIBCPP_HAVE_STRTOLD) +# define _GLIBCPP_HAVE_STRTOLD 1 +# define strtold _strtold +#endif + +#if defined (_GLIBCPP_HAVE__SINCOS) && ! defined (_GLIBCPP_HAVE_SINCOS) +# define _GLIBCPP_HAVE_SINCOS 1 +# define sincos _sincos +#endif + +#if defined (_GLIBCPP_HAVE__SINCOSF) && ! defined (_GLIBCPP_HAVE_SINCOSF) +# define _GLIBCPP_HAVE_SINCOSF 1 +# define sincosf _sincosf +#endif + +#if defined (_GLIBCPP_HAVE__SINCOSL) && ! defined (_GLIBCPP_HAVE_SINCOSL) +# define _GLIBCPP_HAVE_SINCOSL 1 +# define sincosl _sincosl +#endif + +#if defined (_GLIBCPP_HAVE__FINITE) && ! defined (_GLIBCPP_HAVE_FINITE) +# define _GLIBCPP_HAVE_FINITE 1 +# define finite _finite +#endif + +#if defined (_GLIBCPP_HAVE__FINITEF) && ! defined (_GLIBCPP_HAVE_FINITEF) +# define _GLIBCPP_HAVE_FINITEF 1 +# define finitef _finitef +#endif + +#if defined (_GLIBCPP_HAVE__FINITEL) && ! defined (_GLIBCPP_HAVE_FINITEL) +# define _GLIBCPP_HAVE_FINITEL 1 +# define finitel _finitel +#endif + +#if defined (_GLIBCPP_HAVE__QFINITE) && ! defined (_GLIBCPP_HAVE_QFINITE) +# define _GLIBCPP_HAVE_QFINITE 1 +# define qfinite _qfinite +#endif + +#if defined (_GLIBCPP_HAVE__FPCLASS) && ! defined (_GLIBCPP_HAVE_FPCLASS) +# define _GLIBCPP_HAVE_FPCLASS 1 +# define fpclass _fpclass +#endif + +#if defined (_GLIBCPP_HAVE__QFPCLASS) && ! defined (_GLIBCPP_HAVE_QFPCLASS) +# define _GLIBCPP_HAVE_QFPCLASS 1 +# define qfpclass _qfpclass +#endif + +#endif // _CPP_CPPCONFIG_ diff --git a/gnu/lib/libstdc++-v3/arch/mipsel/defs.mk b/gnu/lib/libstdc++-v3/arch/mipsel/defs.mk new file mode 100644 index 000000000000..5dbddc912ff1 --- /dev/null +++ b/gnu/lib/libstdc++-v3/arch/mipsel/defs.mk @@ -0,0 +1,18 @@ +# This file is automatically generated. DO NOT EDIT! +# Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp +# +G_libmath_la_SOURCES=stubs.c +G_libmath_la_LIBADD=nan.lo copysignf.lo signbit.lo signbitf.lo +G_LIBSUPCXX_SOURCES=del_op.cc del_opnt.cc del_opv.cc del_opvnt.cc eh_alloc.cc eh_aux_runtime.cc eh_catch.cc eh_exception.cc eh_globals.cc eh_personality.cc eh_terminate.cc eh_throw.cc eh_type.cc guard.cc new_handler.cc new_op.cc new_opnt.cc new_opv.cc new_opvnt.cc pure.cc tinfo.cc tinfo2.cc vec.cc +G_LIBSUPCXX_C_SOURCES=cxa_demangle.c dyn-string.c +G_SRC_SOURCES=bitset.cc codecvt.cc complex_io.cc concept-inst.cc ctype.cc ext-inst.cc fstream.cc fstream-inst.cc functexcept.cc globals.cc io-inst.cc ios.cc istream-inst.cc limits.cc locale.cc locale-inst.cc localename.cc misc-inst.cc ostream-inst.cc sstream-inst.cc stdexcept.cc stl-inst.cc streambuf-inst.cc string-inst.cc strstream.cc valarray-inst.cc vterminate.cc wstring-inst.cc codecvt_members.cc collate_members.cc ctype_members.cc messages_members.cc monetary_members.cc numeric_members.cc time_members.cc basic_file.cc c++locale.cc +G_SECTION_FLAGS=-ffunction-sections -fdata-sections +G_c_base_headers_rename=cassert cctype cerrno cfloat ciso646 climits clocale cmath csetjmp csignal cstdarg cstddef cstdio cstdlib cstring ctime cwchar cwctype +G_std_headers_rename=algorithm bitset complex deque fstream functional iomanip ios iosfwd iostream istream iterator limits list locale map memory numeric ostream queue set sstream stack stdexcept streambuf string utility valarray vector +G_bits_headers=basic_ios.h basic_ios.tcc basic_string.h basic_string.tcc boost_concept_check.h char_traits.h codecvt.h concept_check.h cpp_type_traits.h deque.tcc fpos.h fstream.tcc functexcept.h gslice.h gslice_array.h indirect_array.h ios_base.h istream.tcc list.tcc locale_classes.h locale_facets.h locale_facets.tcc localefwd.h mask_array.h ostream.tcc pthread_allocimpl.h stream_iterator.h streambuf_iterator.h slice_array.h sstream.tcc stl_algo.h stl_algobase.h stl_alloc.h stl_bvector.h stl_construct.h stl_deque.h stl_function.h stl_heap.h stl_iterator.h stl_iterator_base_funcs.h stl_iterator_base_types.h stl_list.h stl_map.h stl_multimap.h stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h stl_queue.h stl_raw_storage_iter.h stl_relops.h stl_set.h stl_stack.h stl_tempbuf.h stl_threads.h stl_tree.h stl_uninitialized.h stl_vector.h streambuf.tcc stringfwd.h type_traits.h valarray_array.h valarray_array.tcc valarray_meta.h vector.tcc +G_backward_headers=complex.h iomanip.h istream.h ostream.h stream.h streambuf.h algo.h algobase.h alloc.h bvector.h defalloc.h deque.h function.h hash_map.h hash_set.h hashtable.h heap.h iostream.h iterator.h list.h map.h multimap.h new.h multiset.h pair.h queue.h rope.h set.h slist.h stack.h tempbuf.h tree.h vector.h fstream.h strstream backward_warning.h +G_ext_headers=algorithm enc_filebuf.h stdio_filebuf.h functional hash_map hash_set iterator memory numeric rb_tree rope ropeimpl.h slist stl_hash_fun.h stl_hashtable.h stl_rope.h +G_c_base_headers_extra=cmath.tcc +G_target_headers=ctype_base.h ctype_inline.h ctype_noninline.h os_defines.h atomicity.h +G_thread_target_headers=gthr.h gthr-single.h gthr-posix.h gthr-default.h +G_target_headers_extra=basic_file.h c++config.h c++io.h c++locale.h messages_members.h time_members.h codecvt_specializations.h diff --git a/gnu/lib/libstdc++-v3/arch/mipsel/gthr-default.h b/gnu/lib/libstdc++-v3/arch/mipsel/gthr-default.h new file mode 100644 index 000000000000..6fa2b1ed699a --- /dev/null +++ b/gnu/lib/libstdc++-v3/arch/mipsel/gthr-default.h @@ -0,0 +1,242 @@ +/* This file is automatically generated. DO NOT EDIT! */ +/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ + +/* Threads compatibility routines for libgcc2 and libobjc. */ +/* Compile this one with gcc. */ +/* Copyright (C) 1997, 1999, 2000 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2, or (at your option) any later +version. + +GCC is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with GCC; see the file COPYING. If not, write to the Free +Software Foundation, 59 Temple Place - Suite 330, Boston, MA +02111-1307, USA. */ + +/* As a special exception, if you link this library with other files, + some of which are compiled with GCC, to produce an executable, + this library does not by itself cause the resulting executable + to be covered by the GNU General Public License. + This exception does not however invalidate any other reasons why + the executable file might be covered by the GNU General Public License. */ + +#ifndef _GLIBCPP_GCC_GTHR_SINGLE_H +#define _GLIBCPP_GCC_GTHR_SINGLE_H + +/* Just provide compatibility for mutex handling. */ + +typedef int __gthread_mutex_t; + +#define __GTHREAD_MUTEX_INIT 0 + +#ifdef __cplusplus +#define _GLIBCPP_UNUSED(x) +#else +#define _GLIBCPP_UNUSED(x) x __attribute__((unused)) +#endif + +#ifdef _LIBOBJC + +/* Thread local storage for a single thread */ +static void *thread_local_storage = NULL; + +/* Backend initialization functions */ + +/* Initialize the threads subsystem. */ +static inline int +__gthread_objc_init_thread_system (void) +{ + /* No thread support available */ + return -1; +} + +/* Close the threads subsystem. */ +static inline int +__gthread_objc_close_thread_system (void) +{ + /* No thread support available */ + return -1; +} + +/* Backend thread functions */ + +/* Create a new thread of execution. */ +static inline objc_thread_t +__gthread_objc_thread_detach (void (* func)(void *), void * _GLIBCPP_UNUSED(arg)) +{ + /* No thread support available */ + return NULL; +} + +/* Set the current thread's priority. */ +static inline int +__gthread_objc_thread_set_priority (int _GLIBCPP_UNUSED(priority)) +{ + /* No thread support available */ + return -1; +} + +/* Return the current thread's priority. */ +static inline int +__gthread_objc_thread_get_priority (void) +{ + return OBJC_THREAD_INTERACTIVE_PRIORITY; +} + +/* Yield our process time to another thread. */ +static inline void +__gthread_objc_thread_yield (void) +{ + return; +} + +/* Terminate the current thread. */ +static inline int +__gthread_objc_thread_exit (void) +{ + /* No thread support available */ + /* Should we really exit the program */ + /* exit (&__objc_thread_exit_status); */ + return -1; +} + +/* Returns an integer value which uniquely describes a thread. */ +static inline objc_thread_t +__gthread_objc_thread_id (void) +{ + /* No thread support, use 1. */ + return (objc_thread_t) 1; +} + +/* Sets the thread's local storage pointer. */ +static inline int +__gthread_objc_thread_set_data (void *value) +{ + thread_local_storage = value; + return 0; +} + +/* Returns the thread's local storage pointer. */ +static inline void * +__gthread_objc_thread_get_data (void) +{ + return thread_local_storage; +} + +/* Backend mutex functions */ + +/* Allocate a mutex. */ +static inline int +__gthread_objc_mutex_allocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) +{ + return 0; +} + +/* Deallocate a mutex. */ +static inline int +__gthread_objc_mutex_deallocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) +{ + return 0; +} + +/* Grab a lock on a mutex. */ +static inline int +__gthread_objc_mutex_lock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) +{ + /* There can only be one thread, so we always get the lock */ + return 0; +} + +/* Try to grab a lock on a mutex. */ +static inline int +__gthread_objc_mutex_trylock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) +{ + /* There can only be one thread, so we always get the lock */ + return 0; +} + +/* Unlock the mutex */ +static inline int +__gthread_objc_mutex_unlock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) +{ + return 0; +} + +/* Backend condition mutex functions */ + +/* Allocate a condition. */ +static inline int +__gthread_objc_condition_allocate (objc_condition_t _GLIBCPP_UNUSED(condition)) +{ + return 0; +} + +/* Deallocate a condition. */ +static inline int +__gthread_objc_condition_deallocate (objc_condition_t _GLIBCPP_UNUSED(condition)) +{ + return 0; +} + +/* Wait on the condition */ +static inline int +__gthread_objc_condition_wait (objc_condition_t _GLIBCPP_UNUSED(condition), + objc_mutex_t _GLIBCPP_UNUSED(mutex)) +{ + return 0; +} + +/* Wake up all threads waiting on this condition. */ +static inline int +__gthread_objc_condition_broadcast (objc_condition_t _GLIBCPP_UNUSED(condition)) +{ + return 0; +} + +/* Wake up one thread waiting on this condition. */ +static inline int +__gthread_objc_condition_signal (objc_condition_t _GLIBCPP_UNUSED(condition)) +{ + return 0; +} + +#else /* _LIBOBJC */ + +static inline int +__gthread_active_p (void) +{ + return 0; +} + +static inline int +__gthread_mutex_lock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) +{ + return 0; +} + +static inline int +__gthread_mutex_trylock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) +{ + return 0; +} + +static inline int +__gthread_mutex_unlock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) +{ + return 0; +} + +#endif /* _LIBOBJC */ + +#undef _GLIBCPP_UNUSED + +#endif /* ! _GLIBCPP_GCC_GTHR_SINGLE_H */ diff --git a/gnu/lib/libstdc++-v3/arch/mipsel/gthr-posix.h b/gnu/lib/libstdc++-v3/arch/mipsel/gthr-posix.h new file mode 100644 index 000000000000..205fa9e2190e --- /dev/null +++ b/gnu/lib/libstdc++-v3/arch/mipsel/gthr-posix.h @@ -0,0 +1,524 @@ +/* This file is automatically generated. DO NOT EDIT! */ +/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ + +/* Threads compatibility routines for libgcc2 and libobjc. */ +/* Compile this one with gcc. */ +/* Copyright (C) 1997, 1999, 2000, 2001 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2, or (at your option) any later +version. + +GCC is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with GCC; see the file COPYING. If not, write to the Free +Software Foundation, 59 Temple Place - Suite 330, Boston, MA +02111-1307, USA. */ + +/* As a special exception, if you link this library with other files, + some of which are compiled with GCC, to produce an executable, + this library does not by itself cause the resulting executable + to be covered by the GNU General Public License. + This exception does not however invalidate any other reasons why + the executable file might be covered by the GNU General Public License. */ + +#ifndef _GLIBCPP_GCC_GTHR_POSIX_H +#define _GLIBCPP_GCC_GTHR_POSIX_H + +/* POSIX threads specific definitions. + Easy, since the interface is just one-to-one mapping. */ + +#define __GTHREADS 1 + +#include +#include + +typedef pthread_key_t __gthread_key_t; +typedef pthread_once_t __gthread_once_t; +typedef pthread_mutex_t __gthread_mutex_t; + +#define __GTHREAD_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER +#define __GTHREAD_ONCE_INIT PTHREAD_ONCE_INIT + +#if _GLIBCPP_SUPPORTS_WEAK && _GLIBCPP_GTHREAD_USE_WEAK + +#pragma weak pthread_once +#pragma weak pthread_key_create +#pragma weak pthread_key_delete +#pragma weak pthread_getspecific +#pragma weak pthread_setspecific +#pragma weak pthread_create + +#pragma weak pthread_mutex_lock +#pragma weak pthread_mutex_trylock +#pragma weak pthread_mutex_unlock + +#ifdef _LIBOBJC +/* Objective-C. */ +#pragma weak pthread_cond_broadcast +#pragma weak pthread_cond_destroy +#pragma weak pthread_cond_init +#pragma weak pthread_cond_signal +#pragma weak pthread_cond_wait +#pragma weak pthread_exit +#pragma weak pthread_mutex_init +#pragma weak pthread_mutex_destroy +#pragma weak pthread_self +/* These really should be protected by _POSIX_PRIORITY_SCHEDULING, but + we use them inside a _POSIX_THREAD_PRIORITY_SCHEDULING block. */ +#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING +#pragma weak sched_get_priority_max +#pragma weak sched_get_priority_min +#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ +#pragma weak sched_yield +#pragma weak pthread_attr_destroy +#pragma weak pthread_attr_init +#pragma weak pthread_attr_setdetachstate +#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING +#pragma weak pthread_getschedparam +#pragma weak pthread_setschedparam +#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ +#endif /* _LIBOBJC */ + +static inline int +__gthread_active_p (void) +{ + static void *const __gthread_active_ptr = (void *) &pthread_create; + return __gthread_active_ptr != 0; +} + +#else /* not _GLIBCPP_SUPPORTS_WEAK */ + +static inline int +__gthread_active_p (void) +{ + return 1; +} + +#endif /* _GLIBCPP_SUPPORTS_WEAK */ + +#ifdef _LIBOBJC + +/* This is the config.h file in libobjc/ */ +#include + +#ifdef HAVE_SCHED_H +# include +#endif + +/* Key structure for maintaining thread specific storage */ +static pthread_key_t _objc_thread_storage; +static pthread_attr_t _objc_thread_attribs; + +/* Thread local storage for a single thread */ +static void *thread_local_storage = NULL; + +/* Backend initialization functions */ + +/* Initialize the threads subsystem. */ +static inline int +__gthread_objc_init_thread_system (void) +{ + if (__gthread_active_p ()) + { + /* Initialize the thread storage key */ + if (pthread_key_create (&_objc_thread_storage, NULL) == 0) + { + /* The normal default detach state for threads is + * PTHREAD_CREATE_JOINABLE which causes threads to not die + * when you think they should. */ + if (pthread_attr_init (&_objc_thread_attribs) == 0 + && pthread_attr_setdetachstate (&_objc_thread_attribs, + PTHREAD_CREATE_DETACHED) == 0) + return 0; + } + } + + return -1; +} + +/* Close the threads subsystem. */ +static inline int +__gthread_objc_close_thread_system (void) +{ + if (__gthread_active_p () + && pthread_key_delete (_objc_thread_storage) == 0 + && pthread_attr_destroy (&_objc_thread_attribs) == 0) + return 0; + + return -1; +} + +/* Backend thread functions */ + +/* Create a new thread of execution. */ +static inline objc_thread_t +__gthread_objc_thread_detach (void (*func)(void *), void *arg) +{ + objc_thread_t thread_id; + pthread_t new_thread_handle; + + if (!__gthread_active_p ()) + return NULL; + + if (!(pthread_create (&new_thread_handle, NULL, (void *) func, arg))) + thread_id = (objc_thread_t) new_thread_handle; + else + thread_id = NULL; + + return thread_id; +} + +/* Set the current thread's priority. */ +static inline int +__gthread_objc_thread_set_priority (int priority) +{ + if (!__gthread_active_p ()) + return -1; + else + { +#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING + pthread_t thread_id = pthread_self (); + int policy; + struct sched_param params; + int priority_min, priority_max; + + if (pthread_getschedparam (thread_id, &policy, ¶ms) == 0) + { + if ((priority_max = sched_get_priority_max (policy)) == -1) + return -1; + + if ((priority_min = sched_get_priority_min (policy)) == -1) + return -1; + + if (priority > priority_max) + priority = priority_max; + else if (priority < priority_min) + priority = priority_min; + params.sched_priority = priority; + + /* + * The solaris 7 and several other man pages incorrectly state that + * this should be a pointer to policy but pthread.h is universally + * at odds with this. + */ + if (pthread_setschedparam (thread_id, policy, ¶ms) == 0) + return 0; + } +#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ + return -1; + } +} + +/* Return the current thread's priority. */ +static inline int +__gthread_objc_thread_get_priority (void) +{ +#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING + if (__gthread_active_p ()) + { + int policy; + struct sched_param params; + + if (pthread_getschedparam (pthread_self (), &policy, ¶ms) == 0) + return params.sched_priority; + else + return -1; + } + else +#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ + return OBJC_THREAD_INTERACTIVE_PRIORITY; +} + +/* Yield our process time to another thread. */ +static inline void +__gthread_objc_thread_yield (void) +{ + if (__gthread_active_p ()) + sched_yield (); +} + +/* Terminate the current thread. */ +static inline int +__gthread_objc_thread_exit (void) +{ + if (__gthread_active_p ()) + /* exit the thread */ + pthread_exit (&__objc_thread_exit_status); + + /* Failed if we reached here */ + return -1; +} + +/* Returns an integer value which uniquely describes a thread. */ +static inline objc_thread_t +__gthread_objc_thread_id (void) +{ + if (__gthread_active_p ()) + return (objc_thread_t) pthread_self (); + else + return (objc_thread_t) 1; +} + +/* Sets the thread's local storage pointer. */ +static inline int +__gthread_objc_thread_set_data (void *value) +{ + if (__gthread_active_p ()) + return pthread_setspecific (_objc_thread_storage, value); + else + { + thread_local_storage = value; + return 0; + } +} + +/* Returns the thread's local storage pointer. */ +static inline void * +__gthread_objc_thread_get_data (void) +{ + if (__gthread_active_p ()) + return pthread_getspecific (_objc_thread_storage); + else + return thread_local_storage; +} + +/* Backend mutex functions */ + +/* Allocate a mutex. */ +static inline int +__gthread_objc_mutex_allocate (objc_mutex_t mutex) +{ + if (__gthread_active_p ()) + { + mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); + + if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend, NULL)) + { + objc_free (mutex->backend); + mutex->backend = NULL; + return -1; + } + } + + return 0; +} + +/* Deallocate a mutex. */ +static inline int +__gthread_objc_mutex_deallocate (objc_mutex_t mutex) +{ + if (__gthread_active_p ()) + { + int count; + + /* + * Posix Threads specifically require that the thread be unlocked + * for pthread_mutex_destroy to work. + */ + + do + { + count = pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend); + if (count < 0) + return -1; + } + while (count); + + if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend)) + return -1; + + objc_free (mutex->backend); + mutex->backend = NULL; + } + return 0; +} + +/* Grab a lock on a mutex. */ +static inline int +__gthread_objc_mutex_lock (objc_mutex_t mutex) +{ + if (__gthread_active_p () + && pthread_mutex_lock ((pthread_mutex_t *) mutex->backend) != 0) + { + return -1; + } + + return 0; +} + +/* Try to grab a lock on a mutex. */ +static inline int +__gthread_objc_mutex_trylock (objc_mutex_t mutex) +{ + if (__gthread_active_p () + && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0) + { + return -1; + } + + return 0; +} + +/* Unlock the mutex */ +static inline int +__gthread_objc_mutex_unlock (objc_mutex_t mutex) +{ + if (__gthread_active_p () + && pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend) != 0) + { + return -1; + } + + return 0; +} + +/* Backend condition mutex functions */ + +/* Allocate a condition. */ +static inline int +__gthread_objc_condition_allocate (objc_condition_t condition) +{ + if (__gthread_active_p ()) + { + condition->backend = objc_malloc (sizeof (pthread_cond_t)); + + if (pthread_cond_init ((pthread_cond_t *) condition->backend, NULL)) + { + objc_free (condition->backend); + condition->backend = NULL; + return -1; + } + } + + return 0; +} + +/* Deallocate a condition. */ +static inline int +__gthread_objc_condition_deallocate (objc_condition_t condition) +{ + if (__gthread_active_p ()) + { + if (pthread_cond_destroy ((pthread_cond_t *) condition->backend)) + return -1; + + objc_free (condition->backend); + condition->backend = NULL; + } + return 0; +} + +/* Wait on the condition */ +static inline int +__gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) +{ + if (__gthread_active_p ()) + return pthread_cond_wait ((pthread_cond_t *) condition->backend, + (pthread_mutex_t *) mutex->backend); + else + return 0; +} + +/* Wake up all threads waiting on this condition. */ +static inline int +__gthread_objc_condition_broadcast (objc_condition_t condition) +{ + if (__gthread_active_p ()) + return pthread_cond_broadcast ((pthread_cond_t *) condition->backend); + else + return 0; +} + +/* Wake up one thread waiting on this condition. */ +static inline int +__gthread_objc_condition_signal (objc_condition_t condition) +{ + if (__gthread_active_p ()) + return pthread_cond_signal ((pthread_cond_t *) condition->backend); + else + return 0; +} + +#else /* _LIBOBJC */ + +static inline int +__gthread_once (__gthread_once_t *once, void (*func) (void)) +{ + if (__gthread_active_p ()) + return pthread_once (once, func); + else + return -1; +} + +static inline int +__gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) +{ + return pthread_key_create (key, dtor); +} + +static inline int +__gthread_key_dtor (__gthread_key_t key, void *ptr) +{ + /* Just reset the key value to zero. */ + if (ptr) + return pthread_setspecific (key, 0); + else + return 0; +} + +static inline int +__gthread_key_delete (__gthread_key_t key) +{ + return pthread_key_delete (key); +} + +static inline void * +__gthread_getspecific (__gthread_key_t key) +{ + return pthread_getspecific (key); +} + +static inline int +__gthread_setspecific (__gthread_key_t key, const void *ptr) +{ + return pthread_setspecific (key, ptr); +} + +static inline int +__gthread_mutex_lock (__gthread_mutex_t *mutex) +{ + if (__gthread_active_p ()) + return pthread_mutex_lock (mutex); + else + return 0; +} + +static inline int +__gthread_mutex_trylock (__gthread_mutex_t *mutex) +{ + if (__gthread_active_p ()) + return pthread_mutex_trylock (mutex); + else + return 0; +} + +static inline int +__gthread_mutex_unlock (__gthread_mutex_t *mutex) +{ + if (__gthread_active_p ()) + return pthread_mutex_unlock (mutex); + else + return 0; +} + +#endif /* _LIBOBJC */ + +#endif /* ! _GLIBCPP_GCC_GTHR_POSIX_H */ diff --git a/gnu/lib/libstdc++-v3/arch/mipsel/gthr-single.h b/gnu/lib/libstdc++-v3/arch/mipsel/gthr-single.h new file mode 100644 index 000000000000..6fa2b1ed699a --- /dev/null +++ b/gnu/lib/libstdc++-v3/arch/mipsel/gthr-single.h @@ -0,0 +1,242 @@ +/* This file is automatically generated. DO NOT EDIT! */ +/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ + +/* Threads compatibility routines for libgcc2 and libobjc. */ +/* Compile this one with gcc. */ +/* Copyright (C) 1997, 1999, 2000 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2, or (at your option) any later +version. + +GCC is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with GCC; see the file COPYING. If not, write to the Free +Software Foundation, 59 Temple Place - Suite 330, Boston, MA +02111-1307, USA. */ + +/* As a special exception, if you link this library with other files, + some of which are compiled with GCC, to produce an executable, + this library does not by itself cause the resulting executable + to be covered by the GNU General Public License. + This exception does not however invalidate any other reasons why + the executable file might be covered by the GNU General Public License. */ + +#ifndef _GLIBCPP_GCC_GTHR_SINGLE_H +#define _GLIBCPP_GCC_GTHR_SINGLE_H + +/* Just provide compatibility for mutex handling. */ + +typedef int __gthread_mutex_t; + +#define __GTHREAD_MUTEX_INIT 0 + +#ifdef __cplusplus +#define _GLIBCPP_UNUSED(x) +#else +#define _GLIBCPP_UNUSED(x) x __attribute__((unused)) +#endif + +#ifdef _LIBOBJC + +/* Thread local storage for a single thread */ +static void *thread_local_storage = NULL; + +/* Backend initialization functions */ + +/* Initialize the threads subsystem. */ +static inline int +__gthread_objc_init_thread_system (void) +{ + /* No thread support available */ + return -1; +} + +/* Close the threads subsystem. */ +static inline int +__gthread_objc_close_thread_system (void) +{ + /* No thread support available */ + return -1; +} + +/* Backend thread functions */ + +/* Create a new thread of execution. */ +static inline objc_thread_t +__gthread_objc_thread_detach (void (* func)(void *), void * _GLIBCPP_UNUSED(arg)) +{ + /* No thread support available */ + return NULL; +} + +/* Set the current thread's priority. */ +static inline int +__gthread_objc_thread_set_priority (int _GLIBCPP_UNUSED(priority)) +{ + /* No thread support available */ + return -1; +} + +/* Return the current thread's priority. */ +static inline int +__gthread_objc_thread_get_priority (void) +{ + return OBJC_THREAD_INTERACTIVE_PRIORITY; +} + +/* Yield our process time to another thread. */ +static inline void +__gthread_objc_thread_yield (void) +{ + return; +} + +/* Terminate the current thread. */ +static inline int +__gthread_objc_thread_exit (void) +{ + /* No thread support available */ + /* Should we really exit the program */ + /* exit (&__objc_thread_exit_status); */ + return -1; +} + +/* Returns an integer value which uniquely describes a thread. */ +static inline objc_thread_t +__gthread_objc_thread_id (void) +{ + /* No thread support, use 1. */ + return (objc_thread_t) 1; +} + +/* Sets the thread's local storage pointer. */ +static inline int +__gthread_objc_thread_set_data (void *value) +{ + thread_local_storage = value; + return 0; +} + +/* Returns the thread's local storage pointer. */ +static inline void * +__gthread_objc_thread_get_data (void) +{ + return thread_local_storage; +} + +/* Backend mutex functions */ + +/* Allocate a mutex. */ +static inline int +__gthread_objc_mutex_allocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) +{ + return 0; +} + +/* Deallocate a mutex. */ +static inline int +__gthread_objc_mutex_deallocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) +{ + return 0; +} + +/* Grab a lock on a mutex. */ +static inline int +__gthread_objc_mutex_lock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) +{ + /* There can only be one thread, so we always get the lock */ + return 0; +} + +/* Try to grab a lock on a mutex. */ +static inline int +__gthread_objc_mutex_trylock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) +{ + /* There can only be one thread, so we always get the lock */ + return 0; +} + +/* Unlock the mutex */ +static inline int +__gthread_objc_mutex_unlock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) +{ + return 0; +} + +/* Backend condition mutex functions */ + +/* Allocate a condition. */ +static inline int +__gthread_objc_condition_allocate (objc_condition_t _GLIBCPP_UNUSED(condition)) +{ + return 0; +} + +/* Deallocate a condition. */ +static inline int +__gthread_objc_condition_deallocate (objc_condition_t _GLIBCPP_UNUSED(condition)) +{ + return 0; +} + +/* Wait on the condition */ +static inline int +__gthread_objc_condition_wait (objc_condition_t _GLIBCPP_UNUSED(condition), + objc_mutex_t _GLIBCPP_UNUSED(mutex)) +{ + return 0; +} + +/* Wake up all threads waiting on this condition. */ +static inline int +__gthread_objc_condition_broadcast (objc_condition_t _GLIBCPP_UNUSED(condition)) +{ + return 0; +} + +/* Wake up one thread waiting on this condition. */ +static inline int +__gthread_objc_condition_signal (objc_condition_t _GLIBCPP_UNUSED(condition)) +{ + return 0; +} + +#else /* _LIBOBJC */ + +static inline int +__gthread_active_p (void) +{ + return 0; +} + +static inline int +__gthread_mutex_lock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) +{ + return 0; +} + +static inline int +__gthread_mutex_trylock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) +{ + return 0; +} + +static inline int +__gthread_mutex_unlock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) +{ + return 0; +} + +#endif /* _LIBOBJC */ + +#undef _GLIBCPP_UNUSED + +#endif /* ! _GLIBCPP_GCC_GTHR_SINGLE_H */ diff --git a/gnu/lib/libstdc++-v3/arch/mipsel/gthr.h b/gnu/lib/libstdc++-v3/arch/mipsel/gthr.h new file mode 100644 index 000000000000..d463cf98ec66 --- /dev/null +++ b/gnu/lib/libstdc++-v3/arch/mipsel/gthr.h @@ -0,0 +1,108 @@ +/* This file is automatically generated. DO NOT EDIT! */ +/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ + +/* Threads compatibility routines for libgcc2. */ +/* Compile this one with gcc. */ +/* Copyright (C) 1997, 1998 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2, or (at your option) any later +version. + +GCC is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with GCC; see the file COPYING. If not, write to the Free +Software Foundation, 59 Temple Place - Suite 330, Boston, MA +02111-1307, USA. */ + +/* As a special exception, if you link this library with other files, + some of which are compiled with GCC, to produce an executable, + this library does not by itself cause the resulting executable + to be covered by the GNU General Public License. + This exception does not however invalidate any other reasons why + the executable file might be covered by the GNU General Public License. */ + +#ifndef _GLIBCPP_GCC_GTHR_H +#define _GLIBCPP_GCC_GTHR_H + +/* If this file is compiled with threads support, it must + #define __GTHREADS 1 + to indicate that threads support is present. Also it has define + function + int __gthread_active_p () + that returns 1 if thread system is active, 0 if not. + + The threads interface must define the following types: + __gthread_key_t + __gthread_once_t + __gthread_mutex_t + + The threads interface must define the following macros: + + __GTHREAD_ONCE_INIT + to initialize __gthread_once_t + __GTHREAD_MUTEX_INIT + to initialize __gthread_mutex_t to get a fast + non-recursive mutex. + __GTHREAD_MUTEX_INIT_FUNCTION + some systems can't initialize a mutex without a + function call. On such systems, define this to a + function which looks like this: + void __GTHREAD_MUTEX_INIT_FUNCTION (__gthread_mutex_t *) + Don't define __GTHREAD_MUTEX_INIT in this case + + The threads interface must define the following static functions: + + int __gthread_once (__gthread_once_t *once, void (*func) ()) + + int __gthread_key_create (__gthread_key_t *keyp, void (*dtor) (void *)) + int __gthread_key_delete (__gthread_key_t key) + + int __gthread_key_dtor (__gthread_key_t key, void *ptr) + + void *__gthread_getspecific (__gthread_key_t key) + int __gthread_setspecific (__gthread_key_t key, const void *ptr) + + int __gthread_mutex_lock (__gthread_mutex_t *mutex); + int __gthread_mutex_trylock (__gthread_mutex_t *mutex); + int __gthread_mutex_unlock (__gthread_mutex_t *mutex); + + All functions returning int should return zero on success or the error + number. If the operation is not supported, -1 is returned. + + Currently supported threads packages are + POSIX threads with -D_PTHREADS + DCE threads with -D_DCE_THREADS + Solaris/UI threads with -D_SOLARIS_THREADS +*/ + +/* Check first for thread specific defines. */ +#if _GLIBCPP__PTHREADS +#include +#elif _GLIBCPP__DCE_THREADS +#include +#elif _GLIBCPP__SOLARIS_THREADS +#include + +/* Include GTHREAD_FILE if one is defined. */ +#elif defined(_GLIBCPP_HAVE_GTHR_DEFAULT) +#if _GLIBCPP_SUPPORTS_WEAK +#ifndef _GLIBCPP_GTHREAD_USE_WEAK +#define _GLIBCPP_GTHREAD_USE_WEAK 1 +#endif +#endif +#include + +/* Fallback to single thread definitions. */ +#else +#include +#endif + +#endif /* ! _GLIBCPP_GCC_GTHR_H */ diff --git a/gnu/usr.bin/gcc3/arch/mipseb/auto-build.h b/gnu/usr.bin/gcc3/arch/mipseb/auto-build.h new file mode 100644 index 000000000000..2dbda8f28fab --- /dev/null +++ b/gnu/usr.bin/gcc3/arch/mipseb/auto-build.h @@ -0,0 +1,632 @@ +/* This file is automatically generated. DO NOT EDIT! */ +/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ + +/* auto-host.h. Generated automatically by configure. */ +/* config.in. Generated automatically from configure.in by autoheader 2.13. */ + +/* Define if using alloca.c. */ +/* #undef C_ALLOCA */ + +/* Define to empty if the keyword does not work. */ +/* #undef const */ + +/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems. + This function is required for alloca.c support on those systems. */ +/* #undef CRAY_STACKSEG_END */ + +/* Define to the type of elements in the array set by `getgroups'. + Usually this is either `int' or `gid_t'. */ +#define GETGROUPS_T gid_t + +/* Define to `int' if doesn't define. */ +/* #undef gid_t */ + +/* Define if you have alloca, as a function or macro. */ +#define HAVE_ALLOCA 1 + +/* Define if you have and it should be used (not on Ultrix). */ +/* #undef HAVE_ALLOCA_H */ + +/* Define if you have the ANSI # stringizing operator in cpp. */ +#define HAVE_STRINGIZE 1 + +/* Define if you have that is POSIX.1 compatible. */ +#define HAVE_SYS_WAIT_H 1 + +/* Define if you have . */ +/* #undef HAVE_VFORK_H */ + +/* Define as __inline if that's what the C compiler calls it. */ +/* #undef inline */ + +/* Define if your C compiler doesn't accept -c and -o together. */ +/* #undef NO_MINUS_C_MINUS_O */ + +/* Define to `long' if doesn't define. */ +/* #undef off_t */ + +/* Define to `int' if doesn't define. */ +/* #undef pid_t */ + +/* Define to `unsigned' if doesn't define. */ +/* #undef size_t */ + +/* If using the C implementation of alloca, define if you know the + direction of stack growth for your system; otherwise it will be + automatically deduced at run-time. + STACK_DIRECTION > 0 => grows toward higher addresses + STACK_DIRECTION < 0 => grows toward lower addresses + STACK_DIRECTION = 0 => direction of growth unknown + */ +/* #undef STACK_DIRECTION */ + +/* Define if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Define if you can safely include both and . */ +#define TIME_WITH_SYS_TIME 1 + +/* Define to `int' if doesn't define. */ +/* #undef uid_t */ + +/* Define vfork as fork if vfork does not work. */ +/* #undef vfork */ + +/* Define if your assembler supports specifying the maximum number + of bytes to skip when using the GAS .p2align command. */ +#define HAVE_GAS_MAX_SKIP_P2ALIGN 1 + +/* Define if your assembler supports .balign and .p2align. */ +#define HAVE_GAS_BALIGN_AND_P2ALIGN 1 + +/* Define if your assembler uses the old HImode fild and fist notation. */ +/* #undef HAVE_GAS_FILDS_FISTS */ + +/* Define to `int' if doesn't define. */ +/* #undef ssize_t */ + +/* Define if cpp should also search $prefix/include. */ +#define PREFIX_INCLUDE_DIR "NONE/include" + +/* Define if you have the __argz_count function. */ +/* #undef HAVE___ARGZ_COUNT */ + +/* Define if you have the __argz_next function. */ +/* #undef HAVE___ARGZ_NEXT */ + +/* Define if you have the __argz_stringify function. */ +/* #undef HAVE___ARGZ_STRINGIFY */ + +/* Define if you have the alphasort function. */ +#define HAVE_ALPHASORT 1 + +/* Define if you have the atoll function. */ +#define HAVE_ATOLL 1 + +/* Define if you have the atoq function. */ +/* #undef HAVE_ATOQ */ + +/* Define if you have the clock function. */ +#define HAVE_CLOCK 1 + +/* Define if you have the dcgettext function. */ +#define HAVE_DCGETTEXT 1 + +/* Define if you have the dup2 function. */ +#define HAVE_DUP2 1 + +/* Define if you have the feof_unlocked function. */ +/* #undef HAVE_FEOF_UNLOCKED */ + +/* Define if you have the fgets_unlocked function. */ +/* #undef HAVE_FGETS_UNLOCKED */ + +/* Define if you have the fprintf_unlocked function. */ +/* #undef HAVE_FPRINTF_UNLOCKED */ + +/* Define if you have the fputc_unlocked function. */ +/* #undef HAVE_FPUTC_UNLOCKED */ + +/* Define if you have the fputs_unlocked function. */ +/* #undef HAVE_FPUTS_UNLOCKED */ + +/* Define if you have the fwrite_unlocked function. */ +/* #undef HAVE_FWRITE_UNLOCKED */ + +/* Define if you have the getcwd function. */ +#define HAVE_GETCWD 1 + +/* Define if you have the getegid function. */ +#define HAVE_GETEGID 1 + +/* Define if you have the geteuid function. */ +#define HAVE_GETEUID 1 + +/* Define if you have the getgid function. */ +#define HAVE_GETGID 1 + +/* Define if you have the getrlimit function. */ +#define HAVE_GETRLIMIT 1 + +/* Define if you have the getrusage function. */ +#define HAVE_GETRUSAGE 1 + +/* Define if you have the gettimeofday function. */ +#define HAVE_GETTIMEOFDAY 1 + +/* Define if you have the getuid function. */ +#define HAVE_GETUID 1 + +/* Define if you have the kill function. */ +#define HAVE_KILL 1 + +/* Define if you have the lstat function. */ +#define HAVE_LSTAT 1 + +/* Define if you have the mempcpy function. */ +/* #undef HAVE_MEMPCPY */ + +/* Define if you have the mmap function. */ +#define HAVE_MMAP 1 + +/* Define if you have the munmap function. */ +#define HAVE_MUNMAP 1 + +/* Define if you have the nl_langinfo function. */ +#define HAVE_NL_LANGINFO 1 + +/* Define if you have the putc_unlocked function. */ +#define HAVE_PUTC_UNLOCKED 1 + +/* Define if you have the putenv function. */ +#define HAVE_PUTENV 1 + +/* Define if you have the scandir function. */ +#define HAVE_SCANDIR 1 + +/* Define if you have the setenv function. */ +#define HAVE_SETENV 1 + +/* Define if you have the setlocale function. */ +#define HAVE_SETLOCALE 1 + +/* Define if you have the setrlimit function. */ +#define HAVE_SETRLIMIT 1 + +/* Define if you have the stpcpy function. */ +/* #undef HAVE_STPCPY */ + +/* Define if you have the strcasecmp function. */ +#define HAVE_STRCASECMP 1 + +/* Define if you have the strchr function. */ +#define HAVE_STRCHR 1 + +/* Define if you have the strdup function. */ +#define HAVE_STRDUP 1 + +/* Define if you have the strsignal function. */ +#define HAVE_STRSIGNAL 1 + +/* Define if you have the strtoul function. */ +#define HAVE_STRTOUL 1 + +/* Define if you have the sysconf function. */ +#define HAVE_SYSCONF 1 + +/* Define if you have the times function. */ +#define HAVE_TIMES 1 + +/* Define if you have the tsearch function. */ +#define HAVE_TSEARCH 1 + +/* Define if you have the header file. */ +/* #undef HAVE_ARGZ_H */ + +/* Define if you have the header file. */ +/* #undef HAVE_DIRECT_H */ + +/* Define if you have the header file. */ +#define HAVE_FCNTL_H 1 + +/* Define if you have the header file. */ +#define HAVE_LANGINFO_H 1 + +/* Define if you have the header file. */ +#define HAVE_LIMITS_H 1 + +/* Define if you have the header file. */ +#define HAVE_LOCALE_H 1 + +/* Define if you have the header file. */ +#define HAVE_MALLOC_H 1 + +/* Define if you have the header file. */ +#define HAVE_NL_TYPES_H 1 + +/* Define if you have the header file. */ +#define HAVE_STDDEF_H 1 + +/* Define if you have the header file. */ +#define HAVE_STDLIB_H 1 + +/* Define if you have the header file. */ +#define HAVE_STRING_H 1 + +/* Define if you have the header file. */ +#define HAVE_STRINGS_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_FILE_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_MMAN_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_PARAM_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_RESOURCE_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_TIME_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_TIMES_H 1 + +/* Define if you have the header file. */ +#define HAVE_TIME_H 1 + +/* Define if you have the header file. */ +#define HAVE_UNISTD_H 1 + +/* Define to enable the use of a default linker. */ +/* #undef DEFAULT_LINKER */ + +/* Define to enable the use of a default assembler. */ +/* #undef DEFAULT_ASSEMBLER */ + +/* Define if your compiler understands volatile. */ +#define HAVE_VOLATILE 1 + +/* Define if your compiler supports the `long double' type. */ +#define HAVE_LONG_DOUBLE 1 + +/* Define if your compiler supports the `long long' type. */ +#define HAVE_LONG_LONG 1 + +/* Define if your compiler supports the `__int64' type. */ +/* #undef HAVE___INT64 */ + +/* Define if the `_Bool' type is built-in. */ +/* #undef HAVE__BOOL */ + +/* The number of bytes in type short */ +#define SIZEOF_SHORT 2 + +/* The number of bytes in type int */ +#define SIZEOF_INT 4 + +/* The number of bytes in type long */ +#define SIZEOF_LONG 4 + +/* The number of bytes in type long long */ +#define SIZEOF_LONG_LONG 8 + +/* The number of bytes in type __int64 */ +/* #undef SIZEOF___INT64 */ + +/* Define if the host execution character set is EBCDIC. */ +/* #undef HOST_EBCDIC */ + +/* Define if you want more run-time sanity checks. This one gets a grab + bag of miscellaneous but relatively cheap checks. */ +/* #undef ENABLE_CHECKING */ + +/* Define if you want all operations on trees (the basic data + structure of the front ends) to be checked for dynamic type safety + at runtime. This is moderately expensive. */ +/* #undef ENABLE_TREE_CHECKING */ + +/* Define if you want all operations on RTL (the basic data structure + of the optimizer and back end) to be checked for dynamic type safety + at runtime. This is quite expensive. */ +/* #undef ENABLE_RTL_CHECKING */ + +/* Define if you want RTL flag accesses to be checked against the RTL + codes that are supported for each access macro. This is relatively + cheap. */ +/* #undef ENABLE_RTL_FLAG_CHECKING */ + +/* Define if you want the garbage collector to do object poisoning and + other memory allocation checks. This is quite expensive. */ +/* #undef ENABLE_GC_CHECKING */ + +/* Define if you want the garbage collector to operate in maximally + paranoid mode, validating the entire heap and collecting garbage at + every opportunity. This is extremely expensive. */ +/* #undef ENABLE_GC_ALWAYS_COLLECT */ + +/* Define if you want to run subprograms and generated programs + through valgrind (a memory checker). This is extremely expensive. */ +/* #undef ENABLE_VALGRIND_CHECKING */ + +/* Define if you want to use __cxa_atexit, rather than atexit, to + register C++ destructors for local statics and global objects. + This is essential for fully standards-compliant handling of + destructors, but requires __cxa_atexit in libc. */ +/* #undef DEFAULT_USE_CXA_ATEXIT */ + +/* Define if you want the C and C++ compilers to support multibyte + character sets for source code. */ +/* #undef MULTIBYTE_CHARS */ + +/* Always define this when using the GNU C Library */ +/* #undef _GNU_SOURCE */ + +/* Define if you have a working header file. */ +/* #undef HAVE_STDBOOL_H */ + +/* Define if you can safely include both and . */ +#define STRING_WITH_STRINGS 1 + +/* Define as the number of bits in a byte, if `limits.h' doesn't. */ +/* #undef CHAR_BIT */ + +/* Define if the host machine stores words of multi-word integers in + big-endian order. */ +/* #undef HOST_WORDS_BIG_ENDIAN */ + +/* Define to the floating point format of the host machine, if not IEEE. */ +/* #undef HOST_FLOAT_FORMAT */ + +/* Define to 1 if the host machine stores floating point numbers in + memory with the word containing the sign bit at the lowest address, + or to 0 if it does it the other way around. + + This macro should not be defined if the ordering is the same as for + multi-word integers. */ +/* #undef HOST_FLOAT_WORDS_BIG_ENDIAN */ + +/* Define if you have a working header file. */ +#define HAVE_INTTYPES_H 1 + +/* Define if printf supports %p. */ +#define HAVE_PRINTF_PTR 1 + +/* Define if read-only mmap of a plain file works. */ +#define HAVE_MMAP_FILE 1 + +/* Define if mmap of /dev/zero works. */ +#define HAVE_MMAP_DEV_ZERO 1 + +/* Define if mmap with MAP_ANON(YMOUS) works. */ +#define HAVE_MMAP_ANON 1 + +/* Define if you have the iconv() function. */ +/* #undef HAVE_ICONV */ + +/* Define as const if the declaration of iconv() needs const. */ +/* #undef ICONV_CONST */ + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_GETENV 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_ATOL 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_SBRK 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_ABORT 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_ATOF 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_GETCWD 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_GETWD 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_STRSIGNAL 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_PUTC_UNLOCKED 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_FPUTS_UNLOCKED 0 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_FWRITE_UNLOCKED 0 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_FPRINTF_UNLOCKED 0 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_STRSTR 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_ERRNO 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_VASPRINTF 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_MALLOC 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_REALLOC 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_CALLOC 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_FREE 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_BASENAME 0 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_GETOPT 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_CLOCK 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_GETRLIMIT 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_SETRLIMIT 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_GETRUSAGE 1 + +/* Define to `long' if doesn't define. */ +/* #undef rlim_t */ + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_TIMES 1 + +/* Define if defines struct tms. */ +#define HAVE_STRUCT_TMS 1 + +/* Define if defines clock_t. */ +#define HAVE_CLOCK_T 1 + +/* Define .init_array/.fini_array sections are available and working. */ +/* #undef HAVE_INITFINI_ARRAY */ + +/* Define if host mkdir takes a single argument. */ +/* #undef MKDIR_TAKES_ONE_ARG */ + +/* Define to the name of a file containing a list of extra machine modes + for this architecture. */ +/* #undef EXTRA_MODES_FILE */ + +/* Define if the target architecture needs extra machine modes to represent + the results of comparisons. */ +/* #undef EXTRA_CC_MODES */ + +/* Define if you have the iconv() function. */ +/* #undef HAVE_ICONV */ + +/* Define as const if the declaration of iconv() needs const. */ +/* #undef ICONV_CONST */ + +/* Define if you have and nl_langinfo(CODESET). */ +#define HAVE_LANGINFO_CODESET 1 + +/* Define if your file defines LC_MESSAGES. */ +#define HAVE_LC_MESSAGES 1 + +/* Define to 1 if translation of program messages to the user's native language + is requested. */ +#define ENABLE_NLS 1 + +/* Define if you have the header file. */ +#define HAVE_LIBINTL_H 1 + +/* Define if the GNU gettext() function is already present or preinstalled. */ +#define HAVE_GETTEXT 1 + +/* Define to use the libintl included with this package instead of any + version in the system libraries. */ +/* #undef USE_INCLUDED_LIBINTL */ + +/* Define to 1 if installation paths should be looked up in Windows32 + Registry. Ignored on non windows32 hosts. */ +/* #undef ENABLE_WIN32_REGISTRY */ + +/* Define to be the last portion of registry key on windows hosts. */ +/* #undef WIN32_REGISTRY_KEY */ + +/* Define if your assembler supports .subsection and .subsection -1 starts + emitting at the beginning of your section. */ +#define HAVE_GAS_SUBSECTION_ORDERING 1 + +/* Define if your assembler supports .weak. */ +#define HAVE_GAS_WEAK 1 + +/* Define if your assembler supports .hidden. */ +/* #undef HAVE_GAS_HIDDEN */ + +/* Define if your assembler supports .uleb128. */ +#define HAVE_AS_LEB128 1 + +/* Define if your assembler mis-optimizes .eh_frame data. */ +/* #undef USE_AS_TRADITIONAL_FORMAT */ + +/* Define if your assembler supports marking sections with SHF_MERGE flag. */ +#define HAVE_GAS_SHF_MERGE 1 + +/* Define if your assembler supports thread-local storage. */ +/* #undef HAVE_AS_TLS */ + +/* Define if your assembler supports explicit relocations. */ +/* #undef HAVE_AS_EXPLICIT_RELOCS */ + +/* Define if your assembler supports .register. */ +/* #undef HAVE_AS_REGISTER_PSEUDO_OP */ + +/* Define if your assembler supports -relax option. */ +/* #undef HAVE_AS_RELAX_OPTION */ + +/* Define if your assembler and linker support unaligned PC relative relocs. */ +/* #undef HAVE_AS_SPARC_UA_PCREL */ + +/* Define if your assembler and linker support unaligned PC relative relocs against hidden symbols. */ +/* #undef HAVE_AS_SPARC_UA_PCREL_HIDDEN */ + +/* Define if your assembler supports offsetable %lo(). */ +/* #undef HAVE_AS_OFFSETABLE_LO10 */ + +/* Define true if the assembler supports '.long foo@GOTOFF'. */ +/* #undef HAVE_AS_GOTOFF_IN_DATA */ + +/* Define if your assembler supports ltoffx and ldxmov relocations. */ +/* #undef HAVE_AS_LTOFFX_LDXMOV_RELOCS */ + +/* Define if your assembler supports dwarf2 .file/.loc directives, + and preserves file table indices exactly as given. */ +#define HAVE_AS_DWARF2_DEBUG_LINE 1 + +/* Define if your assembler supports the --gdwarf2 option. */ +#define HAVE_AS_GDWARF2_DEBUG_FLAG 1 + +/* Define if your assembler supports the --gstabs option. */ +#define HAVE_AS_GSTABS_DEBUG_FLAG 1 + +/* Define if your linker links a mix of read-only + and read-write sections into a read-write section. */ +#define HAVE_LD_RO_RW_SECTION_MIXING 1 + +/* Define if your linker supports --eh-frame-hdr option. */ +#define HAVE_LD_EH_FRAME_HDR 1 + +/* Define if your MIPS libgloss linker scripts consistently include STARTUP directives. */ +/* #undef HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES */ + +/* Define 0/1 to force the choice for exception handling model. */ +/* #undef CONFIG_SJLJ_EXCEPTIONS */ + +/* Define if gcc should use -lunwind. */ +/* #undef USE_LIBUNWIND_EXCEPTIONS */ + + +/* Bison unconditionally undefines `const' if neither `__STDC__' nor + __cplusplus are defined. That's a problem since we use `const' in + the GCC headers, and the resulting bison code is therefore type + unsafe. Thus, we must match the bison behavior here. */ + +#ifndef __STDC__ +#ifndef __cplusplus +/* #undef const */ +#define const +#endif +#endif diff --git a/gnu/usr.bin/gcc3/arch/mipseb/auto-host.h b/gnu/usr.bin/gcc3/arch/mipseb/auto-host.h new file mode 100644 index 000000000000..80b31c3ad8f7 --- /dev/null +++ b/gnu/usr.bin/gcc3/arch/mipseb/auto-host.h @@ -0,0 +1,632 @@ +/* This file is automatically generated. DO NOT EDIT! */ +/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ + +/* auto-host.h. Generated automatically by configure. */ +/* config.in. Generated automatically from configure.in by autoheader 2.13. */ + +/* Define if using alloca.c. */ +/* #undef C_ALLOCA */ + +/* Define to empty if the keyword does not work. */ +/* #undef const */ + +/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems. + This function is required for alloca.c support on those systems. */ +/* #undef CRAY_STACKSEG_END */ + +/* Define to the type of elements in the array set by `getgroups'. + Usually this is either `int' or `gid_t'. */ +#define GETGROUPS_T gid_t + +/* Define to `int' if doesn't define. */ +/* #undef gid_t */ + +/* Define if you have alloca, as a function or macro. */ +#define HAVE_ALLOCA 1 + +/* Define if you have and it should be used (not on Ultrix). */ +/* #undef HAVE_ALLOCA_H */ + +/* Define if you have the ANSI # stringizing operator in cpp. */ +#define HAVE_STRINGIZE 1 + +/* Define if you have that is POSIX.1 compatible. */ +#define HAVE_SYS_WAIT_H 1 + +/* Define if you have . */ +/* #undef HAVE_VFORK_H */ + +/* Define as __inline if that's what the C compiler calls it. */ +/* #undef inline */ + +/* Define if your C compiler doesn't accept -c and -o together. */ +/* #undef NO_MINUS_C_MINUS_O */ + +/* Define to `long' if doesn't define. */ +/* #undef off_t */ + +/* Define to `int' if doesn't define. */ +/* #undef pid_t */ + +/* Define to `unsigned' if doesn't define. */ +/* #undef size_t */ + +/* If using the C implementation of alloca, define if you know the + direction of stack growth for your system; otherwise it will be + automatically deduced at run-time. + STACK_DIRECTION > 0 => grows toward higher addresses + STACK_DIRECTION < 0 => grows toward lower addresses + STACK_DIRECTION = 0 => direction of growth unknown + */ +/* #undef STACK_DIRECTION */ + +/* Define if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Define if you can safely include both and . */ +#define TIME_WITH_SYS_TIME 1 + +/* Define to `int' if doesn't define. */ +/* #undef uid_t */ + +/* Define vfork as fork if vfork does not work. */ +/* #undef vfork */ + +/* Define if your assembler supports specifying the maximum number + of bytes to skip when using the GAS .p2align command. */ +#define HAVE_GAS_MAX_SKIP_P2ALIGN 1 + +/* Define if your assembler supports .balign and .p2align. */ +#define HAVE_GAS_BALIGN_AND_P2ALIGN 1 + +/* Define if your assembler uses the old HImode fild and fist notation. */ +/* #undef HAVE_GAS_FILDS_FISTS */ + +/* Define to `int' if doesn't define. */ +/* #undef ssize_t */ + +/* Define if cpp should also search $prefix/include. */ +#define PREFIX_INCLUDE_DIR "NONE/include" + +/* Define if you have the __argz_count function. */ +/* #undef HAVE___ARGZ_COUNT */ + +/* Define if you have the __argz_next function. */ +/* #undef HAVE___ARGZ_NEXT */ + +/* Define if you have the __argz_stringify function. */ +/* #undef HAVE___ARGZ_STRINGIFY */ + +/* Define if you have the alphasort function. */ +#define HAVE_ALPHASORT 1 + +/* Define if you have the atoll function. */ +#define HAVE_ATOLL 1 + +/* Define if you have the atoq function. */ +/* #undef HAVE_ATOQ */ + +/* Define if you have the clock function. */ +#define HAVE_CLOCK 1 + +/* Define if you have the dcgettext function. */ +/* #undef HAVE_DCGETTEXT */ + +/* Define if you have the dup2 function. */ +#define HAVE_DUP2 1 + +/* Define if you have the feof_unlocked function. */ +/* #undef HAVE_FEOF_UNLOCKED */ + +/* Define if you have the fgets_unlocked function. */ +/* #undef HAVE_FGETS_UNLOCKED */ + +/* Define if you have the fprintf_unlocked function. */ +/* #undef HAVE_FPRINTF_UNLOCKED */ + +/* Define if you have the fputc_unlocked function. */ +/* #undef HAVE_FPUTC_UNLOCKED */ + +/* Define if you have the fputs_unlocked function. */ +/* #undef HAVE_FPUTS_UNLOCKED */ + +/* Define if you have the fwrite_unlocked function. */ +/* #undef HAVE_FWRITE_UNLOCKED */ + +/* Define if you have the getcwd function. */ +#define HAVE_GETCWD 1 + +/* Define if you have the getegid function. */ +#define HAVE_GETEGID 1 + +/* Define if you have the geteuid function. */ +#define HAVE_GETEUID 1 + +/* Define if you have the getgid function. */ +#define HAVE_GETGID 1 + +/* Define if you have the getrlimit function. */ +#define HAVE_GETRLIMIT 1 + +/* Define if you have the getrusage function. */ +#define HAVE_GETRUSAGE 1 + +/* Define if you have the gettimeofday function. */ +#define HAVE_GETTIMEOFDAY 1 + +/* Define if you have the getuid function. */ +#define HAVE_GETUID 1 + +/* Define if you have the kill function. */ +#define HAVE_KILL 1 + +/* Define if you have the lstat function. */ +#define HAVE_LSTAT 1 + +/* Define if you have the mempcpy function. */ +/* #undef HAVE_MEMPCPY */ + +/* Define if you have the mmap function. */ +#define HAVE_MMAP 1 + +/* Define if you have the munmap function. */ +#define HAVE_MUNMAP 1 + +/* Define if you have the nl_langinfo function. */ +#define HAVE_NL_LANGINFO 1 + +/* Define if you have the putc_unlocked function. */ +#define HAVE_PUTC_UNLOCKED 1 + +/* Define if you have the putenv function. */ +#define HAVE_PUTENV 1 + +/* Define if you have the scandir function. */ +#define HAVE_SCANDIR 1 + +/* Define if you have the setenv function. */ +#define HAVE_SETENV 1 + +/* Define if you have the setlocale function. */ +#define HAVE_SETLOCALE 1 + +/* Define if you have the setrlimit function. */ +#define HAVE_SETRLIMIT 1 + +/* Define if you have the stpcpy function. */ +/* #undef HAVE_STPCPY */ + +/* Define if you have the strcasecmp function. */ +#define HAVE_STRCASECMP 1 + +/* Define if you have the strchr function. */ +#define HAVE_STRCHR 1 + +/* Define if you have the strdup function. */ +#define HAVE_STRDUP 1 + +/* Define if you have the strsignal function. */ +#define HAVE_STRSIGNAL 1 + +/* Define if you have the strtoul function. */ +#define HAVE_STRTOUL 1 + +/* Define if you have the sysconf function. */ +#define HAVE_SYSCONF 1 + +/* Define if you have the times function. */ +#define HAVE_TIMES 1 + +/* Define if you have the tsearch function. */ +#define HAVE_TSEARCH 1 + +/* Define if you have the header file. */ +/* #undef HAVE_ARGZ_H */ + +/* Define if you have the header file. */ +/* #undef HAVE_DIRECT_H */ + +/* Define if you have the header file. */ +#define HAVE_FCNTL_H 1 + +/* Define if you have the header file. */ +#define HAVE_LANGINFO_H 1 + +/* Define if you have the header file. */ +#define HAVE_LIMITS_H 1 + +/* Define if you have the header file. */ +#define HAVE_LOCALE_H 1 + +/* Define if you have the header file. */ +#define HAVE_MALLOC_H 1 + +/* Define if you have the header file. */ +#define HAVE_NL_TYPES_H 1 + +/* Define if you have the header file. */ +#define HAVE_STDDEF_H 1 + +/* Define if you have the header file. */ +#define HAVE_STDLIB_H 1 + +/* Define if you have the header file. */ +#define HAVE_STRING_H 1 + +/* Define if you have the header file. */ +#define HAVE_STRINGS_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_FILE_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_MMAN_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_PARAM_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_RESOURCE_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_TIME_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_TIMES_H 1 + +/* Define if you have the header file. */ +#define HAVE_TIME_H 1 + +/* Define if you have the header file. */ +#define HAVE_UNISTD_H 1 + +/* Define to enable the use of a default linker. */ +/* #undef DEFAULT_LINKER */ + +/* Define to enable the use of a default assembler. */ +/* #undef DEFAULT_ASSEMBLER */ + +/* Define if your compiler understands volatile. */ +#define HAVE_VOLATILE 1 + +/* Define if your compiler supports the `long double' type. */ +#define HAVE_LONG_DOUBLE 1 + +/* Define if your compiler supports the `long long' type. */ +#define HAVE_LONG_LONG 1 + +/* Define if your compiler supports the `__int64' type. */ +/* #undef HAVE___INT64 */ + +/* Define if the `_Bool' type is built-in. */ +#define HAVE__BOOL 1 + +/* The number of bytes in type short */ +#define SIZEOF_SHORT 2 + +/* The number of bytes in type int */ +#define SIZEOF_INT 4 + +/* The number of bytes in type long */ +#define SIZEOF_LONG 4 + +/* The number of bytes in type long long */ +#define SIZEOF_LONG_LONG 8 + +/* The number of bytes in type __int64 */ +/* #undef SIZEOF___INT64 */ + +/* Define if the host execution character set is EBCDIC. */ +/* #undef HOST_EBCDIC */ + +/* Define if you want more run-time sanity checks. This one gets a grab + bag of miscellaneous but relatively cheap checks. */ +/* #undef ENABLE_CHECKING */ + +/* Define if you want all operations on trees (the basic data + structure of the front ends) to be checked for dynamic type safety + at runtime. This is moderately expensive. */ +/* #undef ENABLE_TREE_CHECKING */ + +/* Define if you want all operations on RTL (the basic data structure + of the optimizer and back end) to be checked for dynamic type safety + at runtime. This is quite expensive. */ +/* #undef ENABLE_RTL_CHECKING */ + +/* Define if you want RTL flag accesses to be checked against the RTL + codes that are supported for each access macro. This is relatively + cheap. */ +/* #undef ENABLE_RTL_FLAG_CHECKING */ + +/* Define if you want the garbage collector to do object poisoning and + other memory allocation checks. This is quite expensive. */ +/* #undef ENABLE_GC_CHECKING */ + +/* Define if you want the garbage collector to operate in maximally + paranoid mode, validating the entire heap and collecting garbage at + every opportunity. This is extremely expensive. */ +/* #undef ENABLE_GC_ALWAYS_COLLECT */ + +/* Define if you want to run subprograms and generated programs + through valgrind (a memory checker). This is extremely expensive. */ +/* #undef ENABLE_VALGRIND_CHECKING */ + +/* Define if you want to use __cxa_atexit, rather than atexit, to + register C++ destructors for local statics and global objects. + This is essential for fully standards-compliant handling of + destructors, but requires __cxa_atexit in libc. */ +/* #undef DEFAULT_USE_CXA_ATEXIT */ + +/* Define if you want the C and C++ compilers to support multibyte + character sets for source code. */ +/* #undef MULTIBYTE_CHARS */ + +/* Always define this when using the GNU C Library */ +/* #undef _GNU_SOURCE */ + +/* Define if you have a working header file. */ +#define HAVE_STDBOOL_H 1 + +/* Define if you can safely include both and . */ +#define STRING_WITH_STRINGS 1 + +/* Define as the number of bits in a byte, if `limits.h' doesn't. */ +/* #undef CHAR_BIT */ + +/* Define if the host machine stores words of multi-word integers in + big-endian order. */ +#define HOST_WORDS_BIG_ENDIAN 1 + +/* Define to the floating point format of the host machine, if not IEEE. */ +/* #undef HOST_FLOAT_FORMAT */ + +/* Define to 1 if the host machine stores floating point numbers in + memory with the word containing the sign bit at the lowest address, + or to 0 if it does it the other way around. + + This macro should not be defined if the ordering is the same as for + multi-word integers. */ +/* #undef HOST_FLOAT_WORDS_BIG_ENDIAN */ + +/* Define if you have a working header file. */ +#define HAVE_INTTYPES_H 1 + +/* Define if printf supports %p. */ +#define HAVE_PRINTF_PTR 1 + +/* Define if read-only mmap of a plain file works. */ +#define HAVE_MMAP_FILE 1 + +/* Define if mmap of /dev/zero works. */ +#define HAVE_MMAP_DEV_ZERO 1 + +/* Define if mmap with MAP_ANON(YMOUS) works. */ +#define HAVE_MMAP_ANON 1 + +/* Define if you have the iconv() function. */ +#define HAVE_ICONV 1 + +/* Define as const if the declaration of iconv() needs const. */ +#define ICONV_CONST const + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_GETENV 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_ATOL 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_SBRK 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_ABORT 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_ATOF 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_GETCWD 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_GETWD 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_STRSIGNAL 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_PUTC_UNLOCKED 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_FPUTS_UNLOCKED 0 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_FWRITE_UNLOCKED 0 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_FPRINTF_UNLOCKED 0 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_STRSTR 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_ERRNO 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_VASPRINTF 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_MALLOC 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_REALLOC 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_CALLOC 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_FREE 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_BASENAME 0 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_GETOPT 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_CLOCK 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_GETRLIMIT 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_SETRLIMIT 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_GETRUSAGE 1 + +/* Define to `long' if doesn't define. */ +/* #undef rlim_t */ + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_TIMES 1 + +/* Define if defines struct tms. */ +#define HAVE_STRUCT_TMS 1 + +/* Define if defines clock_t. */ +#define HAVE_CLOCK_T 1 + +/* Define .init_array/.fini_array sections are available and working. */ +/* #undef HAVE_INITFINI_ARRAY */ + +/* Define if host mkdir takes a single argument. */ +/* #undef MKDIR_TAKES_ONE_ARG */ + +/* Define to the name of a file containing a list of extra machine modes + for this architecture. */ +/* #undef EXTRA_MODES_FILE */ + +/* Define if the target architecture needs extra machine modes to represent + the results of comparisons. */ +/* #undef EXTRA_CC_MODES */ + +/* Define if you have the iconv() function. */ +#define HAVE_ICONV 1 + +/* Define as const if the declaration of iconv() needs const. */ +#define ICONV_CONST const + +/* Define if you have and nl_langinfo(CODESET). */ +#define HAVE_LANGINFO_CODESET 1 + +/* Define if your file defines LC_MESSAGES. */ +#define HAVE_LC_MESSAGES 1 + +/* Define to 1 if translation of program messages to the user's native language + is requested. */ +/* #undef ENABLE_NLS */ + +/* Define if you have the header file. */ +/* #undef HAVE_LIBINTL_H */ + +/* Define if the GNU gettext() function is already present or preinstalled. */ +/* #undef HAVE_GETTEXT */ + +/* Define to use the libintl included with this package instead of any + version in the system libraries. */ +/* #undef USE_INCLUDED_LIBINTL */ + +/* Define to 1 if installation paths should be looked up in Windows32 + Registry. Ignored on non windows32 hosts. */ +/* #undef ENABLE_WIN32_REGISTRY */ + +/* Define to be the last portion of registry key on windows hosts. */ +/* #undef WIN32_REGISTRY_KEY */ + +/* Define if your assembler supports .subsection and .subsection -1 starts + emitting at the beginning of your section. */ +#define HAVE_GAS_SUBSECTION_ORDERING 1 + +/* Define if your assembler supports .weak. */ +#define HAVE_GAS_WEAK 1 + +/* Define if your assembler supports .hidden. */ +/* #undef HAVE_GAS_HIDDEN */ + +/* Define if your assembler supports .uleb128. */ +#define HAVE_AS_LEB128 1 + +/* Define if your assembler mis-optimizes .eh_frame data. */ +/* #undef USE_AS_TRADITIONAL_FORMAT */ + +/* Define if your assembler supports marking sections with SHF_MERGE flag. */ +#define HAVE_GAS_SHF_MERGE 1 + +/* Define if your assembler supports thread-local storage. */ +/* #undef HAVE_AS_TLS */ + +/* Define if your assembler supports explicit relocations. */ +/* #undef HAVE_AS_EXPLICIT_RELOCS */ + +/* Define if your assembler supports .register. */ +/* #undef HAVE_AS_REGISTER_PSEUDO_OP */ + +/* Define if your assembler supports -relax option. */ +/* #undef HAVE_AS_RELAX_OPTION */ + +/* Define if your assembler and linker support unaligned PC relative relocs. */ +/* #undef HAVE_AS_SPARC_UA_PCREL */ + +/* Define if your assembler and linker support unaligned PC relative relocs against hidden symbols. */ +/* #undef HAVE_AS_SPARC_UA_PCREL_HIDDEN */ + +/* Define if your assembler supports offsetable %lo(). */ +/* #undef HAVE_AS_OFFSETABLE_LO10 */ + +/* Define true if the assembler supports '.long foo@GOTOFF'. */ +/* #undef HAVE_AS_GOTOFF_IN_DATA */ + +/* Define if your assembler supports ltoffx and ldxmov relocations. */ +/* #undef HAVE_AS_LTOFFX_LDXMOV_RELOCS */ + +/* Define if your assembler supports dwarf2 .file/.loc directives, + and preserves file table indices exactly as given. */ +#define HAVE_AS_DWARF2_DEBUG_LINE 1 + +/* Define if your assembler supports the --gdwarf2 option. */ +#define HAVE_AS_GDWARF2_DEBUG_FLAG 1 + +/* Define if your assembler supports the --gstabs option. */ +#define HAVE_AS_GSTABS_DEBUG_FLAG 1 + +/* Define if your linker links a mix of read-only + and read-write sections into a read-write section. */ +#define HAVE_LD_RO_RW_SECTION_MIXING 1 + +/* Define if your linker supports --eh-frame-hdr option. */ +#define HAVE_LD_EH_FRAME_HDR 1 + +/* Define if your MIPS libgloss linker scripts consistently include STARTUP directives. */ +/* #undef HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES */ + +/* Define 0/1 to force the choice for exception handling model. */ +/* #undef CONFIG_SJLJ_EXCEPTIONS */ + +/* Define if gcc should use -lunwind. */ +/* #undef USE_LIBUNWIND_EXCEPTIONS */ + + +/* Bison unconditionally undefines `const' if neither `__STDC__' nor + __cplusplus are defined. That's a problem since we use `const' in + the GCC headers, and the resulting bison code is therefore type + unsafe. Thus, we must match the bison behavior here. */ + +#ifndef __STDC__ +#ifndef __cplusplus +/* #undef const */ +#define const +#endif +#endif diff --git a/gnu/usr.bin/gcc3/arch/mipseb/configargs.h b/gnu/usr.bin/gcc3/arch/mipseb/configargs.h new file mode 100644 index 000000000000..625d9aabf813 --- /dev/null +++ b/gnu/usr.bin/gcc3/arch/mipseb/configargs.h @@ -0,0 +1,6 @@ +/* This file is automatically generated. DO NOT EDIT! */ +/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ + +/* Generated automatically. */ +static const char configuration_arguments[] = "/home/mrg/src/netbsd/src/tools/gcc/../../gnu/dist/gcc/configure --build=i386-unknown-netbsdelf --host=mipseb--netbsd --target=mipseb--netbsd"; +static const char thread_model[] = "single"; diff --git a/gnu/usr.bin/gcc3/arch/mipseb/cs-hconfig.h b/gnu/usr.bin/gcc3/arch/mipseb/cs-hconfig.h new file mode 100644 index 000000000000..e311bede3820 --- /dev/null +++ b/gnu/usr.bin/gcc3/arch/mipseb/cs-hconfig.h @@ -0,0 +1,4 @@ +/* This file is automatically generated. DO NOT EDIT! */ +/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ + +timestamp diff --git a/gnu/usr.bin/gcc3/arch/mipseb/defs.mk b/gnu/usr.bin/gcc3/arch/mipseb/defs.mk new file mode 100644 index 000000000000..a90a5c41f60c --- /dev/null +++ b/gnu/usr.bin/gcc3/arch/mipseb/defs.mk @@ -0,0 +1,46 @@ +# This file is automatically generated. DO NOT EDIT! +# Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp +# +G_ALL_CFLAGS= -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H +G_ALL_CPPFLAGS= +G_C_AND_OBJC_OBJS=attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-objc-common.o c-dump.o libcpp.a +G_C_OBJS=c-parse.o c-lang.o c-pretty-print.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-objc-common.o c-dump.o libcpp.a +G_CCCP_OBJS= +G_GCOV_OBJS=gcov.o intl.o version.o +G_PROTO_OBJS=intl.o version.o cppdefault.o +G_HOST_PRINT=print-rtl1.o +G_HOST_RTL=build-rtl.o read-rtl.o build-bitmap.o build-ggc-none.o +G_HOST_RTLANAL= +G_HOST_SUPPORT=gensupport.o insn-conditions.o +G_HOST_EARLY_SUPPORT=gensupport.o dummy-conditions.o +G_HOST_ERRORS=build-errors.o +G_HOST_VARRAY=build-varray.o +G_INCLUDES=-I. -I. -I${GNUHOSTDIST}/gcc -I${GNUHOSTDIST}/gcc/. -I${GNUHOSTDIST}/gcc/config -I${GNUHOSTDIST}/gcc/../include +G_md_file=${GNUHOSTDIST}/gcc/config/mips/mips.md +G_OBJC_OBJS=objc-lang.o objc-parse.o objc-act.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-objc-common.o c-dump.o libcpp.a +G_OBJS=alias.o bb-reorder.o bitmap.o builtins.o caller-save.o calls.o cfg.o cfganal.o cfgbuild.o cfgcleanup.o cfglayout.o cfgloop.o cfgrtl.o combine.o conflict.o convert.o cse.o cselib.o dbxout.o debug.o df.o diagnostic.o doloop.o dominance.o dwarf2asm.o dwarf2out.o dwarfout.o emit-rtl.o except.o explow.o expmed.o expr.o final.o flow.o fold-const.o function.o gcse.o genrtl.o ggc-common.o global.o graph.o gtype-desc.o haifa-sched.o hashtable.o hooks.o ifcvt.o insn-attrtab.o insn-emit.o insn-extract.o insn-opinit.o insn-output.o insn-peep.o insn-recog.o integrate.o intl.o jump.o langhooks.o lcm.o lists.o local-alloc.o loop.o mbchar.o optabs.o params.o predict.o print-rtl.o print-tree.o profile.o ra.o ra-build.o ra-colorize.o ra-debug.o ra-rewrite.o real.o recog.o reg-stack.o regclass.o regmove.o regrename.o reload.o reload1.o reorg.o resource.o rtl.o rtlanal.o rtl-error.o sbitmap.o sched-deps.o sched-ebb.o sched-rgn.o sched-vis.o sdbout.o sibcall.o simplify-rtx.o ssa.o ssa-ccp.o ssa-dce.o stmt.o stor-layout.o stringpool.o timevar.o toplev.o tracer.o tree.o tree-dump.o tree-inline.o unroll.o varasm.o varray.o version.o vmsdbgout.o xcoffout.o et-forest.o ggc-page.o mips.o +G_out_file=${GNUHOSTDIST}/gcc/config/mips/mips.c +G_version=3.3.1 +G_BUILD_PREFIX=build- +G_RTL_H=rtl.h rtl.def machmode.h machmode.def genrtl.h +G_TREE_H=tree.h tree.def machmode.h machmode.def tree-check.h version.h builtins.def location.h +G_HCONFIG_H=hconfig.h auto-build.h ${GNUHOSTDIST}/gcc/../include/ansidecl.h ${GNUHOSTDIST}/gcc/config/elfos.h ${GNUHOSTDIST}/gcc/config/mips/mips.h ${GNUHOSTDIST}/gcc/config/mips/netbsd.h +G_BASIC_BLOCK_H=basic-block.h bitmap.h sbitmap.h varray.h ${GNUHOSTDIST}/gcc/../include/partition.h hard-reg-set.h +G_GCC_H=gcc.h version.h +G_GTFILES_SRCDIR=${GNUHOSTDIST}/gcc +G_GTFILES_FILES_FILES=${GNUHOSTDIST}/gcc/cp/mangle.c ${GNUHOSTDIST}/gcc/cp/cp-tree.h ${GNUHOSTDIST}/gcc/cp/decl.h ${GNUHOSTDIST}/gcc/cp/lex.h ${GNUHOSTDIST}/gcc/cp/call.c ${GNUHOSTDIST}/gcc/cp/decl.c ${GNUHOSTDIST}/gcc/cp/decl2.c ${GNUHOSTDIST}/gcc/cp/parse.y ${GNUHOSTDIST}/gcc/cp/pt.c ${GNUHOSTDIST}/gcc/cp/repo.c ${GNUHOSTDIST}/gcc/cp/spew.c ${GNUHOSTDIST}/gcc/cp/tree.c ${GNUHOSTDIST}/gcc/c-common.c ${GNUHOSTDIST}/gcc/c-common.h ${GNUHOSTDIST}/gcc/c-pragma.c ${GNUHOSTDIST}/gcc/f/com.c ${GNUHOSTDIST}/gcc/f/com.h ${GNUHOSTDIST}/gcc/f/ste.c ${GNUHOSTDIST}/gcc/f/where.h ${GNUHOSTDIST}/gcc/f/where.c ${GNUHOSTDIST}/gcc/f/lex.c ${GNUHOSTDIST}/gcc/objc/objc-act.h ${GNUHOSTDIST}/gcc/c-parse.in ${GNUHOSTDIST}/gcc/c-tree.h ${GNUHOSTDIST}/gcc/c-decl.c ${GNUHOSTDIST}/gcc/c-objc-common.c ${GNUHOSTDIST}/gcc/c-common.c ${GNUHOSTDIST}/gcc/c-common.h ${GNUHOSTDIST}/gcc/c-pragma.c ${GNUHOSTDIST}/gcc/c-parse.in ${GNUHOSTDIST}/gcc/c-lang.c ${GNUHOSTDIST}/gcc/c-parse.in ${GNUHOSTDIST}/gcc/c-tree.h ${GNUHOSTDIST}/gcc/c-decl.c ${GNUHOSTDIST}/gcc/c-common.c ${GNUHOSTDIST}/gcc/c-common.h ${GNUHOSTDIST}/gcc/c-pragma.c ${GNUHOSTDIST}/gcc/c-objc-common.c +G_GTFILES_FILES_LANGS=cp cp cp cp cp cp cp cp cp cp cp cp cp cp cp f f f f f f objc objc objc objc objc objc objc objc objc c c c c c c c c +G_GTFILES=config.h auto-host.h ${GNUHOSTDIST}/gcc/../include/ansidecl.h ${GNUHOSTDIST}/gcc/config/elfos.h ${GNUHOSTDIST}/gcc/config/mips/mips.h ${GNUHOSTDIST}/gcc/config/mips/netbsd.h ${GNUHOSTDIST}/gcc/defaults.h ${GNUHOSTDIST}/gcc/defaults.h ${GNUHOSTDIST}/gcc/location.h ${GNUHOSTDIST}/gcc/../include/hashtab.h ${GNUHOSTDIST}/gcc/bitmap.h ${GNUHOSTDIST}/gcc/function.h ${GNUHOSTDIST}/gcc/rtl.h ${GNUHOSTDIST}/gcc/optabs.h ${GNUHOSTDIST}/gcc/tree.h ${GNUHOSTDIST}/gcc/libfuncs.h ${GNUHOSTDIST}/gcc/hashtable.h ${GNUHOSTDIST}/gcc/real.h ${GNUHOSTDIST}/gcc/varray.h ${GNUHOSTDIST}/gcc/ssa.h ${GNUHOSTDIST}/gcc/insn-addr.h ${GNUHOSTDIST}/gcc/cselib.h ${GNUHOSTDIST}/gcc/c-common.h ${GNUHOSTDIST}/gcc/c-tree.h ${GNUHOSTDIST}/gcc/basic-block.h ${GNUHOSTDIST}/gcc/alias.c ${GNUHOSTDIST}/gcc/bitmap.c ${GNUHOSTDIST}/gcc/cselib.c ${GNUHOSTDIST}/gcc/dwarf2out.c ${GNUHOSTDIST}/gcc/emit-rtl.c ${GNUHOSTDIST}/gcc/except.c ${GNUHOSTDIST}/gcc/explow.c ${GNUHOSTDIST}/gcc/expr.c ${GNUHOSTDIST}/gcc/fold-const.c ${GNUHOSTDIST}/gcc/function.c ${GNUHOSTDIST}/gcc/gcse.c ${GNUHOSTDIST}/gcc/integrate.c ${GNUHOSTDIST}/gcc/lists.c ${GNUHOSTDIST}/gcc/optabs.c ${GNUHOSTDIST}/gcc/profile.c ${GNUHOSTDIST}/gcc/ra-build.c ${GNUHOSTDIST}/gcc/regclass.c ${GNUHOSTDIST}/gcc/reg-stack.c ${GNUHOSTDIST}/gcc/sdbout.c ${GNUHOSTDIST}/gcc/stmt.c ${GNUHOSTDIST}/gcc/stor-layout.c ${GNUHOSTDIST}/gcc/tree.c ${GNUHOSTDIST}/gcc/varasm.c ${GNUHOSTDIST}/gcc/config/mips/mips.c ${GNUHOSTDIST}/gcc/cp/mangle.c ${GNUHOSTDIST}/gcc/cp/cp-tree.h ${GNUHOSTDIST}/gcc/cp/decl.h ${GNUHOSTDIST}/gcc/cp/lex.h ${GNUHOSTDIST}/gcc/cp/call.c ${GNUHOSTDIST}/gcc/cp/decl.c ${GNUHOSTDIST}/gcc/cp/decl2.c ${GNUHOSTDIST}/gcc/cp/parse.y ${GNUHOSTDIST}/gcc/cp/pt.c ${GNUHOSTDIST}/gcc/cp/repo.c ${GNUHOSTDIST}/gcc/cp/spew.c ${GNUHOSTDIST}/gcc/cp/tree.c ${GNUHOSTDIST}/gcc/c-common.c ${GNUHOSTDIST}/gcc/c-common.h ${GNUHOSTDIST}/gcc/c-pragma.c ${GNUHOSTDIST}/gcc/f/com.c ${GNUHOSTDIST}/gcc/f/com.h ${GNUHOSTDIST}/gcc/f/ste.c ${GNUHOSTDIST}/gcc/f/where.h ${GNUHOSTDIST}/gcc/f/where.c ${GNUHOSTDIST}/gcc/f/lex.c ${GNUHOSTDIST}/gcc/objc/objc-act.h ${GNUHOSTDIST}/gcc/c-parse.in ${GNUHOSTDIST}/gcc/c-tree.h ${GNUHOSTDIST}/gcc/c-decl.c ${GNUHOSTDIST}/gcc/c-objc-common.c ${GNUHOSTDIST}/gcc/c-common.c ${GNUHOSTDIST}/gcc/c-common.h ${GNUHOSTDIST}/gcc/c-pragma.c ${GNUHOSTDIST}/gcc/c-parse.in ${GNUHOSTDIST}/gcc/c-lang.c ${GNUHOSTDIST}/gcc/c-parse.in ${GNUHOSTDIST}/gcc/c-tree.h ${GNUHOSTDIST}/gcc/c-decl.c ${GNUHOSTDIST}/gcc/c-common.c ${GNUHOSTDIST}/gcc/c-common.h ${GNUHOSTDIST}/gcc/c-pragma.c ${GNUHOSTDIST}/gcc/c-objc-common.c +G_GTFILES_LANG_DIR_NAMES=cp f objc +G_tm_defines= +G_host_xm_file=auto-host.h ansidecl.h elfos.h mips/mips.h mips/netbsd.h defaults.h +G_host_xm_defines=POSIX +G_tm_p_file=mips/mips-protos.h +G_target_cpu_default=(MASK_GAS|MASK_ABICALLS|MASK_GAS) +G_LIBCPP_OBJS=cpplib.o cpplex.o cppmacro.o cppexp.o cppfiles.o cpptrad.o cpphash.o cpperror.o cppinit.o cppdefault.o cppmain.o hashtable.o line-map.o mkdeps.o prefix.o mbchar.o +G_LIBCPP_H= +G_lang_specs_files=${GNUHOSTDIST}/gcc/cp/lang-specs.h ${GNUHOSTDIST}/gcc/f/lang-specs.h ${GNUHOSTDIST}/gcc/objc/lang-specs.h +G_LIB2ADDEHDEP= unwind-dw2-fde.h +G_CXX_OBJS=call.o decl.o expr.o pt.o typeck2.o class.o decl2.o error.o lex.o parse.o ptree.o rtti.o spew.o typeck.o cvt.o except.o friend.o init.o method.o search.o semantics.o tree.o repo.o dump.o optimize.o mangle.o cp-lang.o +G_CXX_C_OBJS=attribs.o c-common.o c-format.o c-pragma.o c-semantics.o c-lex.o c-dump.o c-pretty-print.o c-opts.o +G_F77_OBJS=bad.o bit.o bld.o com.o data.o equiv.o expr.o global.o implic.o info.o intrin.o lab.o lex.o malloc.o name.o parse.o src.o st.o sta.o stb.o stc.o std.o ste.o storag.o stp.o str.o sts.o stt.o stu.o stv.o stw.o symbol.o target.o top.o type.o where.o diff --git a/gnu/usr.bin/gcc3/arch/mipseb/gencheck.h b/gnu/usr.bin/gcc3/arch/mipseb/gencheck.h new file mode 100644 index 000000000000..67ffec29ca2f --- /dev/null +++ b/gnu/usr.bin/gcc3/arch/mipseb/gencheck.h @@ -0,0 +1,5 @@ +/* This file is automatically generated. DO NOT EDIT! */ +/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ + +#include "cp/cp-tree.def" +#include "objc/objc-tree.def" diff --git a/gnu/usr.bin/gcc3/arch/mipseb/hconfig.h b/gnu/usr.bin/gcc3/arch/mipseb/hconfig.h new file mode 100644 index 000000000000..d818362510d9 --- /dev/null +++ b/gnu/usr.bin/gcc3/arch/mipseb/hconfig.h @@ -0,0 +1,28 @@ +/* This file is automatically generated. DO NOT EDIT! */ +/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ + +#define TARGET_CPU_DEFAULT ((MASK_GAS|MASK_ABICALLS|MASK_GAS)) +#include "auto-build.h" +#ifdef IN_GCC +/* Provide three core typedefs used by everything, if we are compiling + GCC. These used to be found in rtl.h and tree.h, but this is no + longer practical. Providing these here rather that system.h allows + the typedefs to be used everywhere within GCC. */ +struct rtx_def; +typedef struct rtx_def *rtx; +struct rtvec_def; +typedef struct rtvec_def *rtvec; +union tree_node; +typedef union tree_node *tree; +#endif +#define GTY(x) +#ifdef IN_GCC +# include "ansidecl.h" +# include "elfos.h" +# include "mips/mips.h" +# include "mips/netbsd.h" +# include "defaults.h" +#endif +#ifndef POSIX +# define POSIX +#endif diff --git a/gnu/usr.bin/gcc3/arch/mipsel/auto-build.h b/gnu/usr.bin/gcc3/arch/mipsel/auto-build.h new file mode 100644 index 000000000000..2dbda8f28fab --- /dev/null +++ b/gnu/usr.bin/gcc3/arch/mipsel/auto-build.h @@ -0,0 +1,632 @@ +/* This file is automatically generated. DO NOT EDIT! */ +/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ + +/* auto-host.h. Generated automatically by configure. */ +/* config.in. Generated automatically from configure.in by autoheader 2.13. */ + +/* Define if using alloca.c. */ +/* #undef C_ALLOCA */ + +/* Define to empty if the keyword does not work. */ +/* #undef const */ + +/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems. + This function is required for alloca.c support on those systems. */ +/* #undef CRAY_STACKSEG_END */ + +/* Define to the type of elements in the array set by `getgroups'. + Usually this is either `int' or `gid_t'. */ +#define GETGROUPS_T gid_t + +/* Define to `int' if doesn't define. */ +/* #undef gid_t */ + +/* Define if you have alloca, as a function or macro. */ +#define HAVE_ALLOCA 1 + +/* Define if you have and it should be used (not on Ultrix). */ +/* #undef HAVE_ALLOCA_H */ + +/* Define if you have the ANSI # stringizing operator in cpp. */ +#define HAVE_STRINGIZE 1 + +/* Define if you have that is POSIX.1 compatible. */ +#define HAVE_SYS_WAIT_H 1 + +/* Define if you have . */ +/* #undef HAVE_VFORK_H */ + +/* Define as __inline if that's what the C compiler calls it. */ +/* #undef inline */ + +/* Define if your C compiler doesn't accept -c and -o together. */ +/* #undef NO_MINUS_C_MINUS_O */ + +/* Define to `long' if doesn't define. */ +/* #undef off_t */ + +/* Define to `int' if doesn't define. */ +/* #undef pid_t */ + +/* Define to `unsigned' if doesn't define. */ +/* #undef size_t */ + +/* If using the C implementation of alloca, define if you know the + direction of stack growth for your system; otherwise it will be + automatically deduced at run-time. + STACK_DIRECTION > 0 => grows toward higher addresses + STACK_DIRECTION < 0 => grows toward lower addresses + STACK_DIRECTION = 0 => direction of growth unknown + */ +/* #undef STACK_DIRECTION */ + +/* Define if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Define if you can safely include both and . */ +#define TIME_WITH_SYS_TIME 1 + +/* Define to `int' if doesn't define. */ +/* #undef uid_t */ + +/* Define vfork as fork if vfork does not work. */ +/* #undef vfork */ + +/* Define if your assembler supports specifying the maximum number + of bytes to skip when using the GAS .p2align command. */ +#define HAVE_GAS_MAX_SKIP_P2ALIGN 1 + +/* Define if your assembler supports .balign and .p2align. */ +#define HAVE_GAS_BALIGN_AND_P2ALIGN 1 + +/* Define if your assembler uses the old HImode fild and fist notation. */ +/* #undef HAVE_GAS_FILDS_FISTS */ + +/* Define to `int' if doesn't define. */ +/* #undef ssize_t */ + +/* Define if cpp should also search $prefix/include. */ +#define PREFIX_INCLUDE_DIR "NONE/include" + +/* Define if you have the __argz_count function. */ +/* #undef HAVE___ARGZ_COUNT */ + +/* Define if you have the __argz_next function. */ +/* #undef HAVE___ARGZ_NEXT */ + +/* Define if you have the __argz_stringify function. */ +/* #undef HAVE___ARGZ_STRINGIFY */ + +/* Define if you have the alphasort function. */ +#define HAVE_ALPHASORT 1 + +/* Define if you have the atoll function. */ +#define HAVE_ATOLL 1 + +/* Define if you have the atoq function. */ +/* #undef HAVE_ATOQ */ + +/* Define if you have the clock function. */ +#define HAVE_CLOCK 1 + +/* Define if you have the dcgettext function. */ +#define HAVE_DCGETTEXT 1 + +/* Define if you have the dup2 function. */ +#define HAVE_DUP2 1 + +/* Define if you have the feof_unlocked function. */ +/* #undef HAVE_FEOF_UNLOCKED */ + +/* Define if you have the fgets_unlocked function. */ +/* #undef HAVE_FGETS_UNLOCKED */ + +/* Define if you have the fprintf_unlocked function. */ +/* #undef HAVE_FPRINTF_UNLOCKED */ + +/* Define if you have the fputc_unlocked function. */ +/* #undef HAVE_FPUTC_UNLOCKED */ + +/* Define if you have the fputs_unlocked function. */ +/* #undef HAVE_FPUTS_UNLOCKED */ + +/* Define if you have the fwrite_unlocked function. */ +/* #undef HAVE_FWRITE_UNLOCKED */ + +/* Define if you have the getcwd function. */ +#define HAVE_GETCWD 1 + +/* Define if you have the getegid function. */ +#define HAVE_GETEGID 1 + +/* Define if you have the geteuid function. */ +#define HAVE_GETEUID 1 + +/* Define if you have the getgid function. */ +#define HAVE_GETGID 1 + +/* Define if you have the getrlimit function. */ +#define HAVE_GETRLIMIT 1 + +/* Define if you have the getrusage function. */ +#define HAVE_GETRUSAGE 1 + +/* Define if you have the gettimeofday function. */ +#define HAVE_GETTIMEOFDAY 1 + +/* Define if you have the getuid function. */ +#define HAVE_GETUID 1 + +/* Define if you have the kill function. */ +#define HAVE_KILL 1 + +/* Define if you have the lstat function. */ +#define HAVE_LSTAT 1 + +/* Define if you have the mempcpy function. */ +/* #undef HAVE_MEMPCPY */ + +/* Define if you have the mmap function. */ +#define HAVE_MMAP 1 + +/* Define if you have the munmap function. */ +#define HAVE_MUNMAP 1 + +/* Define if you have the nl_langinfo function. */ +#define HAVE_NL_LANGINFO 1 + +/* Define if you have the putc_unlocked function. */ +#define HAVE_PUTC_UNLOCKED 1 + +/* Define if you have the putenv function. */ +#define HAVE_PUTENV 1 + +/* Define if you have the scandir function. */ +#define HAVE_SCANDIR 1 + +/* Define if you have the setenv function. */ +#define HAVE_SETENV 1 + +/* Define if you have the setlocale function. */ +#define HAVE_SETLOCALE 1 + +/* Define if you have the setrlimit function. */ +#define HAVE_SETRLIMIT 1 + +/* Define if you have the stpcpy function. */ +/* #undef HAVE_STPCPY */ + +/* Define if you have the strcasecmp function. */ +#define HAVE_STRCASECMP 1 + +/* Define if you have the strchr function. */ +#define HAVE_STRCHR 1 + +/* Define if you have the strdup function. */ +#define HAVE_STRDUP 1 + +/* Define if you have the strsignal function. */ +#define HAVE_STRSIGNAL 1 + +/* Define if you have the strtoul function. */ +#define HAVE_STRTOUL 1 + +/* Define if you have the sysconf function. */ +#define HAVE_SYSCONF 1 + +/* Define if you have the times function. */ +#define HAVE_TIMES 1 + +/* Define if you have the tsearch function. */ +#define HAVE_TSEARCH 1 + +/* Define if you have the header file. */ +/* #undef HAVE_ARGZ_H */ + +/* Define if you have the header file. */ +/* #undef HAVE_DIRECT_H */ + +/* Define if you have the header file. */ +#define HAVE_FCNTL_H 1 + +/* Define if you have the header file. */ +#define HAVE_LANGINFO_H 1 + +/* Define if you have the header file. */ +#define HAVE_LIMITS_H 1 + +/* Define if you have the header file. */ +#define HAVE_LOCALE_H 1 + +/* Define if you have the header file. */ +#define HAVE_MALLOC_H 1 + +/* Define if you have the header file. */ +#define HAVE_NL_TYPES_H 1 + +/* Define if you have the header file. */ +#define HAVE_STDDEF_H 1 + +/* Define if you have the header file. */ +#define HAVE_STDLIB_H 1 + +/* Define if you have the header file. */ +#define HAVE_STRING_H 1 + +/* Define if you have the header file. */ +#define HAVE_STRINGS_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_FILE_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_MMAN_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_PARAM_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_RESOURCE_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_TIME_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_TIMES_H 1 + +/* Define if you have the header file. */ +#define HAVE_TIME_H 1 + +/* Define if you have the header file. */ +#define HAVE_UNISTD_H 1 + +/* Define to enable the use of a default linker. */ +/* #undef DEFAULT_LINKER */ + +/* Define to enable the use of a default assembler. */ +/* #undef DEFAULT_ASSEMBLER */ + +/* Define if your compiler understands volatile. */ +#define HAVE_VOLATILE 1 + +/* Define if your compiler supports the `long double' type. */ +#define HAVE_LONG_DOUBLE 1 + +/* Define if your compiler supports the `long long' type. */ +#define HAVE_LONG_LONG 1 + +/* Define if your compiler supports the `__int64' type. */ +/* #undef HAVE___INT64 */ + +/* Define if the `_Bool' type is built-in. */ +/* #undef HAVE__BOOL */ + +/* The number of bytes in type short */ +#define SIZEOF_SHORT 2 + +/* The number of bytes in type int */ +#define SIZEOF_INT 4 + +/* The number of bytes in type long */ +#define SIZEOF_LONG 4 + +/* The number of bytes in type long long */ +#define SIZEOF_LONG_LONG 8 + +/* The number of bytes in type __int64 */ +/* #undef SIZEOF___INT64 */ + +/* Define if the host execution character set is EBCDIC. */ +/* #undef HOST_EBCDIC */ + +/* Define if you want more run-time sanity checks. This one gets a grab + bag of miscellaneous but relatively cheap checks. */ +/* #undef ENABLE_CHECKING */ + +/* Define if you want all operations on trees (the basic data + structure of the front ends) to be checked for dynamic type safety + at runtime. This is moderately expensive. */ +/* #undef ENABLE_TREE_CHECKING */ + +/* Define if you want all operations on RTL (the basic data structure + of the optimizer and back end) to be checked for dynamic type safety + at runtime. This is quite expensive. */ +/* #undef ENABLE_RTL_CHECKING */ + +/* Define if you want RTL flag accesses to be checked against the RTL + codes that are supported for each access macro. This is relatively + cheap. */ +/* #undef ENABLE_RTL_FLAG_CHECKING */ + +/* Define if you want the garbage collector to do object poisoning and + other memory allocation checks. This is quite expensive. */ +/* #undef ENABLE_GC_CHECKING */ + +/* Define if you want the garbage collector to operate in maximally + paranoid mode, validating the entire heap and collecting garbage at + every opportunity. This is extremely expensive. */ +/* #undef ENABLE_GC_ALWAYS_COLLECT */ + +/* Define if you want to run subprograms and generated programs + through valgrind (a memory checker). This is extremely expensive. */ +/* #undef ENABLE_VALGRIND_CHECKING */ + +/* Define if you want to use __cxa_atexit, rather than atexit, to + register C++ destructors for local statics and global objects. + This is essential for fully standards-compliant handling of + destructors, but requires __cxa_atexit in libc. */ +/* #undef DEFAULT_USE_CXA_ATEXIT */ + +/* Define if you want the C and C++ compilers to support multibyte + character sets for source code. */ +/* #undef MULTIBYTE_CHARS */ + +/* Always define this when using the GNU C Library */ +/* #undef _GNU_SOURCE */ + +/* Define if you have a working header file. */ +/* #undef HAVE_STDBOOL_H */ + +/* Define if you can safely include both and . */ +#define STRING_WITH_STRINGS 1 + +/* Define as the number of bits in a byte, if `limits.h' doesn't. */ +/* #undef CHAR_BIT */ + +/* Define if the host machine stores words of multi-word integers in + big-endian order. */ +/* #undef HOST_WORDS_BIG_ENDIAN */ + +/* Define to the floating point format of the host machine, if not IEEE. */ +/* #undef HOST_FLOAT_FORMAT */ + +/* Define to 1 if the host machine stores floating point numbers in + memory with the word containing the sign bit at the lowest address, + or to 0 if it does it the other way around. + + This macro should not be defined if the ordering is the same as for + multi-word integers. */ +/* #undef HOST_FLOAT_WORDS_BIG_ENDIAN */ + +/* Define if you have a working header file. */ +#define HAVE_INTTYPES_H 1 + +/* Define if printf supports %p. */ +#define HAVE_PRINTF_PTR 1 + +/* Define if read-only mmap of a plain file works. */ +#define HAVE_MMAP_FILE 1 + +/* Define if mmap of /dev/zero works. */ +#define HAVE_MMAP_DEV_ZERO 1 + +/* Define if mmap with MAP_ANON(YMOUS) works. */ +#define HAVE_MMAP_ANON 1 + +/* Define if you have the iconv() function. */ +/* #undef HAVE_ICONV */ + +/* Define as const if the declaration of iconv() needs const. */ +/* #undef ICONV_CONST */ + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_GETENV 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_ATOL 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_SBRK 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_ABORT 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_ATOF 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_GETCWD 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_GETWD 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_STRSIGNAL 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_PUTC_UNLOCKED 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_FPUTS_UNLOCKED 0 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_FWRITE_UNLOCKED 0 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_FPRINTF_UNLOCKED 0 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_STRSTR 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_ERRNO 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_VASPRINTF 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_MALLOC 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_REALLOC 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_CALLOC 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_FREE 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_BASENAME 0 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_GETOPT 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_CLOCK 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_GETRLIMIT 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_SETRLIMIT 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_GETRUSAGE 1 + +/* Define to `long' if doesn't define. */ +/* #undef rlim_t */ + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_TIMES 1 + +/* Define if defines struct tms. */ +#define HAVE_STRUCT_TMS 1 + +/* Define if defines clock_t. */ +#define HAVE_CLOCK_T 1 + +/* Define .init_array/.fini_array sections are available and working. */ +/* #undef HAVE_INITFINI_ARRAY */ + +/* Define if host mkdir takes a single argument. */ +/* #undef MKDIR_TAKES_ONE_ARG */ + +/* Define to the name of a file containing a list of extra machine modes + for this architecture. */ +/* #undef EXTRA_MODES_FILE */ + +/* Define if the target architecture needs extra machine modes to represent + the results of comparisons. */ +/* #undef EXTRA_CC_MODES */ + +/* Define if you have the iconv() function. */ +/* #undef HAVE_ICONV */ + +/* Define as const if the declaration of iconv() needs const. */ +/* #undef ICONV_CONST */ + +/* Define if you have and nl_langinfo(CODESET). */ +#define HAVE_LANGINFO_CODESET 1 + +/* Define if your file defines LC_MESSAGES. */ +#define HAVE_LC_MESSAGES 1 + +/* Define to 1 if translation of program messages to the user's native language + is requested. */ +#define ENABLE_NLS 1 + +/* Define if you have the header file. */ +#define HAVE_LIBINTL_H 1 + +/* Define if the GNU gettext() function is already present or preinstalled. */ +#define HAVE_GETTEXT 1 + +/* Define to use the libintl included with this package instead of any + version in the system libraries. */ +/* #undef USE_INCLUDED_LIBINTL */ + +/* Define to 1 if installation paths should be looked up in Windows32 + Registry. Ignored on non windows32 hosts. */ +/* #undef ENABLE_WIN32_REGISTRY */ + +/* Define to be the last portion of registry key on windows hosts. */ +/* #undef WIN32_REGISTRY_KEY */ + +/* Define if your assembler supports .subsection and .subsection -1 starts + emitting at the beginning of your section. */ +#define HAVE_GAS_SUBSECTION_ORDERING 1 + +/* Define if your assembler supports .weak. */ +#define HAVE_GAS_WEAK 1 + +/* Define if your assembler supports .hidden. */ +/* #undef HAVE_GAS_HIDDEN */ + +/* Define if your assembler supports .uleb128. */ +#define HAVE_AS_LEB128 1 + +/* Define if your assembler mis-optimizes .eh_frame data. */ +/* #undef USE_AS_TRADITIONAL_FORMAT */ + +/* Define if your assembler supports marking sections with SHF_MERGE flag. */ +#define HAVE_GAS_SHF_MERGE 1 + +/* Define if your assembler supports thread-local storage. */ +/* #undef HAVE_AS_TLS */ + +/* Define if your assembler supports explicit relocations. */ +/* #undef HAVE_AS_EXPLICIT_RELOCS */ + +/* Define if your assembler supports .register. */ +/* #undef HAVE_AS_REGISTER_PSEUDO_OP */ + +/* Define if your assembler supports -relax option. */ +/* #undef HAVE_AS_RELAX_OPTION */ + +/* Define if your assembler and linker support unaligned PC relative relocs. */ +/* #undef HAVE_AS_SPARC_UA_PCREL */ + +/* Define if your assembler and linker support unaligned PC relative relocs against hidden symbols. */ +/* #undef HAVE_AS_SPARC_UA_PCREL_HIDDEN */ + +/* Define if your assembler supports offsetable %lo(). */ +/* #undef HAVE_AS_OFFSETABLE_LO10 */ + +/* Define true if the assembler supports '.long foo@GOTOFF'. */ +/* #undef HAVE_AS_GOTOFF_IN_DATA */ + +/* Define if your assembler supports ltoffx and ldxmov relocations. */ +/* #undef HAVE_AS_LTOFFX_LDXMOV_RELOCS */ + +/* Define if your assembler supports dwarf2 .file/.loc directives, + and preserves file table indices exactly as given. */ +#define HAVE_AS_DWARF2_DEBUG_LINE 1 + +/* Define if your assembler supports the --gdwarf2 option. */ +#define HAVE_AS_GDWARF2_DEBUG_FLAG 1 + +/* Define if your assembler supports the --gstabs option. */ +#define HAVE_AS_GSTABS_DEBUG_FLAG 1 + +/* Define if your linker links a mix of read-only + and read-write sections into a read-write section. */ +#define HAVE_LD_RO_RW_SECTION_MIXING 1 + +/* Define if your linker supports --eh-frame-hdr option. */ +#define HAVE_LD_EH_FRAME_HDR 1 + +/* Define if your MIPS libgloss linker scripts consistently include STARTUP directives. */ +/* #undef HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES */ + +/* Define 0/1 to force the choice for exception handling model. */ +/* #undef CONFIG_SJLJ_EXCEPTIONS */ + +/* Define if gcc should use -lunwind. */ +/* #undef USE_LIBUNWIND_EXCEPTIONS */ + + +/* Bison unconditionally undefines `const' if neither `__STDC__' nor + __cplusplus are defined. That's a problem since we use `const' in + the GCC headers, and the resulting bison code is therefore type + unsafe. Thus, we must match the bison behavior here. */ + +#ifndef __STDC__ +#ifndef __cplusplus +/* #undef const */ +#define const +#endif +#endif diff --git a/gnu/usr.bin/gcc3/arch/mipsel/auto-host.h b/gnu/usr.bin/gcc3/arch/mipsel/auto-host.h new file mode 100644 index 000000000000..5ab45cf3d6ee --- /dev/null +++ b/gnu/usr.bin/gcc3/arch/mipsel/auto-host.h @@ -0,0 +1,632 @@ +/* This file is automatically generated. DO NOT EDIT! */ +/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ + +/* auto-host.h. Generated automatically by configure. */ +/* config.in. Generated automatically from configure.in by autoheader 2.13. */ + +/* Define if using alloca.c. */ +/* #undef C_ALLOCA */ + +/* Define to empty if the keyword does not work. */ +/* #undef const */ + +/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems. + This function is required for alloca.c support on those systems. */ +/* #undef CRAY_STACKSEG_END */ + +/* Define to the type of elements in the array set by `getgroups'. + Usually this is either `int' or `gid_t'. */ +#define GETGROUPS_T gid_t + +/* Define to `int' if doesn't define. */ +/* #undef gid_t */ + +/* Define if you have alloca, as a function or macro. */ +#define HAVE_ALLOCA 1 + +/* Define if you have and it should be used (not on Ultrix). */ +/* #undef HAVE_ALLOCA_H */ + +/* Define if you have the ANSI # stringizing operator in cpp. */ +#define HAVE_STRINGIZE 1 + +/* Define if you have that is POSIX.1 compatible. */ +#define HAVE_SYS_WAIT_H 1 + +/* Define if you have . */ +/* #undef HAVE_VFORK_H */ + +/* Define as __inline if that's what the C compiler calls it. */ +/* #undef inline */ + +/* Define if your C compiler doesn't accept -c and -o together. */ +/* #undef NO_MINUS_C_MINUS_O */ + +/* Define to `long' if doesn't define. */ +/* #undef off_t */ + +/* Define to `int' if doesn't define. */ +/* #undef pid_t */ + +/* Define to `unsigned' if doesn't define. */ +/* #undef size_t */ + +/* If using the C implementation of alloca, define if you know the + direction of stack growth for your system; otherwise it will be + automatically deduced at run-time. + STACK_DIRECTION > 0 => grows toward higher addresses + STACK_DIRECTION < 0 => grows toward lower addresses + STACK_DIRECTION = 0 => direction of growth unknown + */ +/* #undef STACK_DIRECTION */ + +/* Define if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Define if you can safely include both and . */ +#define TIME_WITH_SYS_TIME 1 + +/* Define to `int' if doesn't define. */ +/* #undef uid_t */ + +/* Define vfork as fork if vfork does not work. */ +/* #undef vfork */ + +/* Define if your assembler supports specifying the maximum number + of bytes to skip when using the GAS .p2align command. */ +#define HAVE_GAS_MAX_SKIP_P2ALIGN 1 + +/* Define if your assembler supports .balign and .p2align. */ +#define HAVE_GAS_BALIGN_AND_P2ALIGN 1 + +/* Define if your assembler uses the old HImode fild and fist notation. */ +/* #undef HAVE_GAS_FILDS_FISTS */ + +/* Define to `int' if doesn't define. */ +/* #undef ssize_t */ + +/* Define if cpp should also search $prefix/include. */ +#define PREFIX_INCLUDE_DIR "NONE/include" + +/* Define if you have the __argz_count function. */ +/* #undef HAVE___ARGZ_COUNT */ + +/* Define if you have the __argz_next function. */ +/* #undef HAVE___ARGZ_NEXT */ + +/* Define if you have the __argz_stringify function. */ +/* #undef HAVE___ARGZ_STRINGIFY */ + +/* Define if you have the alphasort function. */ +#define HAVE_ALPHASORT 1 + +/* Define if you have the atoll function. */ +#define HAVE_ATOLL 1 + +/* Define if you have the atoq function. */ +/* #undef HAVE_ATOQ */ + +/* Define if you have the clock function. */ +#define HAVE_CLOCK 1 + +/* Define if you have the dcgettext function. */ +/* #undef HAVE_DCGETTEXT */ + +/* Define if you have the dup2 function. */ +#define HAVE_DUP2 1 + +/* Define if you have the feof_unlocked function. */ +/* #undef HAVE_FEOF_UNLOCKED */ + +/* Define if you have the fgets_unlocked function. */ +/* #undef HAVE_FGETS_UNLOCKED */ + +/* Define if you have the fprintf_unlocked function. */ +/* #undef HAVE_FPRINTF_UNLOCKED */ + +/* Define if you have the fputc_unlocked function. */ +/* #undef HAVE_FPUTC_UNLOCKED */ + +/* Define if you have the fputs_unlocked function. */ +/* #undef HAVE_FPUTS_UNLOCKED */ + +/* Define if you have the fwrite_unlocked function. */ +/* #undef HAVE_FWRITE_UNLOCKED */ + +/* Define if you have the getcwd function. */ +#define HAVE_GETCWD 1 + +/* Define if you have the getegid function. */ +#define HAVE_GETEGID 1 + +/* Define if you have the geteuid function. */ +#define HAVE_GETEUID 1 + +/* Define if you have the getgid function. */ +#define HAVE_GETGID 1 + +/* Define if you have the getrlimit function. */ +#define HAVE_GETRLIMIT 1 + +/* Define if you have the getrusage function. */ +#define HAVE_GETRUSAGE 1 + +/* Define if you have the gettimeofday function. */ +#define HAVE_GETTIMEOFDAY 1 + +/* Define if you have the getuid function. */ +#define HAVE_GETUID 1 + +/* Define if you have the kill function. */ +#define HAVE_KILL 1 + +/* Define if you have the lstat function. */ +#define HAVE_LSTAT 1 + +/* Define if you have the mempcpy function. */ +/* #undef HAVE_MEMPCPY */ + +/* Define if you have the mmap function. */ +#define HAVE_MMAP 1 + +/* Define if you have the munmap function. */ +#define HAVE_MUNMAP 1 + +/* Define if you have the nl_langinfo function. */ +#define HAVE_NL_LANGINFO 1 + +/* Define if you have the putc_unlocked function. */ +#define HAVE_PUTC_UNLOCKED 1 + +/* Define if you have the putenv function. */ +#define HAVE_PUTENV 1 + +/* Define if you have the scandir function. */ +#define HAVE_SCANDIR 1 + +/* Define if you have the setenv function. */ +#define HAVE_SETENV 1 + +/* Define if you have the setlocale function. */ +#define HAVE_SETLOCALE 1 + +/* Define if you have the setrlimit function. */ +#define HAVE_SETRLIMIT 1 + +/* Define if you have the stpcpy function. */ +/* #undef HAVE_STPCPY */ + +/* Define if you have the strcasecmp function. */ +#define HAVE_STRCASECMP 1 + +/* Define if you have the strchr function. */ +#define HAVE_STRCHR 1 + +/* Define if you have the strdup function. */ +#define HAVE_STRDUP 1 + +/* Define if you have the strsignal function. */ +#define HAVE_STRSIGNAL 1 + +/* Define if you have the strtoul function. */ +#define HAVE_STRTOUL 1 + +/* Define if you have the sysconf function. */ +#define HAVE_SYSCONF 1 + +/* Define if you have the times function. */ +#define HAVE_TIMES 1 + +/* Define if you have the tsearch function. */ +#define HAVE_TSEARCH 1 + +/* Define if you have the header file. */ +/* #undef HAVE_ARGZ_H */ + +/* Define if you have the header file. */ +/* #undef HAVE_DIRECT_H */ + +/* Define if you have the header file. */ +#define HAVE_FCNTL_H 1 + +/* Define if you have the header file. */ +#define HAVE_LANGINFO_H 1 + +/* Define if you have the header file. */ +#define HAVE_LIMITS_H 1 + +/* Define if you have the header file. */ +#define HAVE_LOCALE_H 1 + +/* Define if you have the header file. */ +#define HAVE_MALLOC_H 1 + +/* Define if you have the header file. */ +#define HAVE_NL_TYPES_H 1 + +/* Define if you have the header file. */ +#define HAVE_STDDEF_H 1 + +/* Define if you have the header file. */ +#define HAVE_STDLIB_H 1 + +/* Define if you have the header file. */ +#define HAVE_STRING_H 1 + +/* Define if you have the header file. */ +#define HAVE_STRINGS_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_FILE_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_MMAN_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_PARAM_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_RESOURCE_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_TIME_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_TIMES_H 1 + +/* Define if you have the header file. */ +#define HAVE_TIME_H 1 + +/* Define if you have the header file. */ +#define HAVE_UNISTD_H 1 + +/* Define to enable the use of a default linker. */ +/* #undef DEFAULT_LINKER */ + +/* Define to enable the use of a default assembler. */ +/* #undef DEFAULT_ASSEMBLER */ + +/* Define if your compiler understands volatile. */ +#define HAVE_VOLATILE 1 + +/* Define if your compiler supports the `long double' type. */ +#define HAVE_LONG_DOUBLE 1 + +/* Define if your compiler supports the `long long' type. */ +#define HAVE_LONG_LONG 1 + +/* Define if your compiler supports the `__int64' type. */ +/* #undef HAVE___INT64 */ + +/* Define if the `_Bool' type is built-in. */ +#define HAVE__BOOL 1 + +/* The number of bytes in type short */ +#define SIZEOF_SHORT 2 + +/* The number of bytes in type int */ +#define SIZEOF_INT 4 + +/* The number of bytes in type long */ +#define SIZEOF_LONG 4 + +/* The number of bytes in type long long */ +#define SIZEOF_LONG_LONG 8 + +/* The number of bytes in type __int64 */ +/* #undef SIZEOF___INT64 */ + +/* Define if the host execution character set is EBCDIC. */ +/* #undef HOST_EBCDIC */ + +/* Define if you want more run-time sanity checks. This one gets a grab + bag of miscellaneous but relatively cheap checks. */ +/* #undef ENABLE_CHECKING */ + +/* Define if you want all operations on trees (the basic data + structure of the front ends) to be checked for dynamic type safety + at runtime. This is moderately expensive. */ +/* #undef ENABLE_TREE_CHECKING */ + +/* Define if you want all operations on RTL (the basic data structure + of the optimizer and back end) to be checked for dynamic type safety + at runtime. This is quite expensive. */ +/* #undef ENABLE_RTL_CHECKING */ + +/* Define if you want RTL flag accesses to be checked against the RTL + codes that are supported for each access macro. This is relatively + cheap. */ +/* #undef ENABLE_RTL_FLAG_CHECKING */ + +/* Define if you want the garbage collector to do object poisoning and + other memory allocation checks. This is quite expensive. */ +/* #undef ENABLE_GC_CHECKING */ + +/* Define if you want the garbage collector to operate in maximally + paranoid mode, validating the entire heap and collecting garbage at + every opportunity. This is extremely expensive. */ +/* #undef ENABLE_GC_ALWAYS_COLLECT */ + +/* Define if you want to run subprograms and generated programs + through valgrind (a memory checker). This is extremely expensive. */ +/* #undef ENABLE_VALGRIND_CHECKING */ + +/* Define if you want to use __cxa_atexit, rather than atexit, to + register C++ destructors for local statics and global objects. + This is essential for fully standards-compliant handling of + destructors, but requires __cxa_atexit in libc. */ +/* #undef DEFAULT_USE_CXA_ATEXIT */ + +/* Define if you want the C and C++ compilers to support multibyte + character sets for source code. */ +/* #undef MULTIBYTE_CHARS */ + +/* Always define this when using the GNU C Library */ +/* #undef _GNU_SOURCE */ + +/* Define if you have a working header file. */ +#define HAVE_STDBOOL_H 1 + +/* Define if you can safely include both and . */ +#define STRING_WITH_STRINGS 1 + +/* Define as the number of bits in a byte, if `limits.h' doesn't. */ +/* #undef CHAR_BIT */ + +/* Define if the host machine stores words of multi-word integers in + big-endian order. */ +/* #undef HOST_WORDS_BIG_ENDIAN */ + +/* Define to the floating point format of the host machine, if not IEEE. */ +/* #undef HOST_FLOAT_FORMAT */ + +/* Define to 1 if the host machine stores floating point numbers in + memory with the word containing the sign bit at the lowest address, + or to 0 if it does it the other way around. + + This macro should not be defined if the ordering is the same as for + multi-word integers. */ +/* #undef HOST_FLOAT_WORDS_BIG_ENDIAN */ + +/* Define if you have a working header file. */ +#define HAVE_INTTYPES_H 1 + +/* Define if printf supports %p. */ +#define HAVE_PRINTF_PTR 1 + +/* Define if read-only mmap of a plain file works. */ +#define HAVE_MMAP_FILE 1 + +/* Define if mmap of /dev/zero works. */ +#define HAVE_MMAP_DEV_ZERO 1 + +/* Define if mmap with MAP_ANON(YMOUS) works. */ +#define HAVE_MMAP_ANON 1 + +/* Define if you have the iconv() function. */ +#define HAVE_ICONV 1 + +/* Define as const if the declaration of iconv() needs const. */ +#define ICONV_CONST const + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_GETENV 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_ATOL 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_SBRK 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_ABORT 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_ATOF 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_GETCWD 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_GETWD 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_STRSIGNAL 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_PUTC_UNLOCKED 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_FPUTS_UNLOCKED 0 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_FWRITE_UNLOCKED 0 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_FPRINTF_UNLOCKED 0 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_STRSTR 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_ERRNO 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_VASPRINTF 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_MALLOC 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_REALLOC 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_CALLOC 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_FREE 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_BASENAME 0 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_GETOPT 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_CLOCK 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_GETRLIMIT 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_SETRLIMIT 1 + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_GETRUSAGE 1 + +/* Define to `long' if doesn't define. */ +/* #undef rlim_t */ + +/* Define to 1 if we found this declaration otherwise define to 0. */ +#define HAVE_DECL_TIMES 1 + +/* Define if defines struct tms. */ +#define HAVE_STRUCT_TMS 1 + +/* Define if defines clock_t. */ +#define HAVE_CLOCK_T 1 + +/* Define .init_array/.fini_array sections are available and working. */ +/* #undef HAVE_INITFINI_ARRAY */ + +/* Define if host mkdir takes a single argument. */ +/* #undef MKDIR_TAKES_ONE_ARG */ + +/* Define to the name of a file containing a list of extra machine modes + for this architecture. */ +/* #undef EXTRA_MODES_FILE */ + +/* Define if the target architecture needs extra machine modes to represent + the results of comparisons. */ +/* #undef EXTRA_CC_MODES */ + +/* Define if you have the iconv() function. */ +#define HAVE_ICONV 1 + +/* Define as const if the declaration of iconv() needs const. */ +#define ICONV_CONST const + +/* Define if you have and nl_langinfo(CODESET). */ +#define HAVE_LANGINFO_CODESET 1 + +/* Define if your file defines LC_MESSAGES. */ +#define HAVE_LC_MESSAGES 1 + +/* Define to 1 if translation of program messages to the user's native language + is requested. */ +/* #undef ENABLE_NLS */ + +/* Define if you have the header file. */ +/* #undef HAVE_LIBINTL_H */ + +/* Define if the GNU gettext() function is already present or preinstalled. */ +/* #undef HAVE_GETTEXT */ + +/* Define to use the libintl included with this package instead of any + version in the system libraries. */ +/* #undef USE_INCLUDED_LIBINTL */ + +/* Define to 1 if installation paths should be looked up in Windows32 + Registry. Ignored on non windows32 hosts. */ +/* #undef ENABLE_WIN32_REGISTRY */ + +/* Define to be the last portion of registry key on windows hosts. */ +/* #undef WIN32_REGISTRY_KEY */ + +/* Define if your assembler supports .subsection and .subsection -1 starts + emitting at the beginning of your section. */ +#define HAVE_GAS_SUBSECTION_ORDERING 1 + +/* Define if your assembler supports .weak. */ +#define HAVE_GAS_WEAK 1 + +/* Define if your assembler supports .hidden. */ +/* #undef HAVE_GAS_HIDDEN */ + +/* Define if your assembler supports .uleb128. */ +#define HAVE_AS_LEB128 1 + +/* Define if your assembler mis-optimizes .eh_frame data. */ +/* #undef USE_AS_TRADITIONAL_FORMAT */ + +/* Define if your assembler supports marking sections with SHF_MERGE flag. */ +#define HAVE_GAS_SHF_MERGE 1 + +/* Define if your assembler supports thread-local storage. */ +/* #undef HAVE_AS_TLS */ + +/* Define if your assembler supports explicit relocations. */ +/* #undef HAVE_AS_EXPLICIT_RELOCS */ + +/* Define if your assembler supports .register. */ +/* #undef HAVE_AS_REGISTER_PSEUDO_OP */ + +/* Define if your assembler supports -relax option. */ +/* #undef HAVE_AS_RELAX_OPTION */ + +/* Define if your assembler and linker support unaligned PC relative relocs. */ +/* #undef HAVE_AS_SPARC_UA_PCREL */ + +/* Define if your assembler and linker support unaligned PC relative relocs against hidden symbols. */ +/* #undef HAVE_AS_SPARC_UA_PCREL_HIDDEN */ + +/* Define if your assembler supports offsetable %lo(). */ +/* #undef HAVE_AS_OFFSETABLE_LO10 */ + +/* Define true if the assembler supports '.long foo@GOTOFF'. */ +/* #undef HAVE_AS_GOTOFF_IN_DATA */ + +/* Define if your assembler supports ltoffx and ldxmov relocations. */ +/* #undef HAVE_AS_LTOFFX_LDXMOV_RELOCS */ + +/* Define if your assembler supports dwarf2 .file/.loc directives, + and preserves file table indices exactly as given. */ +#define HAVE_AS_DWARF2_DEBUG_LINE 1 + +/* Define if your assembler supports the --gdwarf2 option. */ +#define HAVE_AS_GDWARF2_DEBUG_FLAG 1 + +/* Define if your assembler supports the --gstabs option. */ +#define HAVE_AS_GSTABS_DEBUG_FLAG 1 + +/* Define if your linker links a mix of read-only + and read-write sections into a read-write section. */ +#define HAVE_LD_RO_RW_SECTION_MIXING 1 + +/* Define if your linker supports --eh-frame-hdr option. */ +#define HAVE_LD_EH_FRAME_HDR 1 + +/* Define if your MIPS libgloss linker scripts consistently include STARTUP directives. */ +/* #undef HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES */ + +/* Define 0/1 to force the choice for exception handling model. */ +/* #undef CONFIG_SJLJ_EXCEPTIONS */ + +/* Define if gcc should use -lunwind. */ +/* #undef USE_LIBUNWIND_EXCEPTIONS */ + + +/* Bison unconditionally undefines `const' if neither `__STDC__' nor + __cplusplus are defined. That's a problem since we use `const' in + the GCC headers, and the resulting bison code is therefore type + unsafe. Thus, we must match the bison behavior here. */ + +#ifndef __STDC__ +#ifndef __cplusplus +/* #undef const */ +#define const +#endif +#endif diff --git a/gnu/usr.bin/gcc3/arch/mipsel/configargs.h b/gnu/usr.bin/gcc3/arch/mipsel/configargs.h new file mode 100644 index 000000000000..c178f99ae594 --- /dev/null +++ b/gnu/usr.bin/gcc3/arch/mipsel/configargs.h @@ -0,0 +1,6 @@ +/* This file is automatically generated. DO NOT EDIT! */ +/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ + +/* Generated automatically. */ +static const char configuration_arguments[] = "/home/mrg/src/netbsd/src/tools/gcc/../../gnu/dist/gcc/configure --build=i386-unknown-netbsdelf --host=mipsel--netbsd --target=mipsel--netbsd"; +static const char thread_model[] = "single"; diff --git a/gnu/usr.bin/gcc3/arch/mipsel/cs-hconfig.h b/gnu/usr.bin/gcc3/arch/mipsel/cs-hconfig.h new file mode 100644 index 000000000000..e311bede3820 --- /dev/null +++ b/gnu/usr.bin/gcc3/arch/mipsel/cs-hconfig.h @@ -0,0 +1,4 @@ +/* This file is automatically generated. DO NOT EDIT! */ +/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ + +timestamp diff --git a/gnu/usr.bin/gcc3/arch/mipsel/defs.mk b/gnu/usr.bin/gcc3/arch/mipsel/defs.mk new file mode 100644 index 000000000000..0236efc47eaa --- /dev/null +++ b/gnu/usr.bin/gcc3/arch/mipsel/defs.mk @@ -0,0 +1,46 @@ +# This file is automatically generated. DO NOT EDIT! +# Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp +# +G_ALL_CFLAGS= -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H +G_ALL_CPPFLAGS= +G_C_AND_OBJC_OBJS=attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-objc-common.o c-dump.o libcpp.a +G_C_OBJS=c-parse.o c-lang.o c-pretty-print.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-objc-common.o c-dump.o libcpp.a +G_CCCP_OBJS= +G_GCOV_OBJS=gcov.o intl.o version.o +G_PROTO_OBJS=intl.o version.o cppdefault.o +G_HOST_PRINT=print-rtl1.o +G_HOST_RTL=build-rtl.o read-rtl.o build-bitmap.o build-ggc-none.o +G_HOST_RTLANAL= +G_HOST_SUPPORT=gensupport.o insn-conditions.o +G_HOST_EARLY_SUPPORT=gensupport.o dummy-conditions.o +G_HOST_ERRORS=build-errors.o +G_HOST_VARRAY=build-varray.o +G_INCLUDES=-I. -I. -I${GNUHOSTDIST}/gcc -I${GNUHOSTDIST}/gcc/. -I${GNUHOSTDIST}/gcc/config -I${GNUHOSTDIST}/gcc/../include +G_md_file=${GNUHOSTDIST}/gcc/config/mips/mips.md +G_OBJC_OBJS=objc-lang.o objc-parse.o objc-act.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-objc-common.o c-dump.o libcpp.a +G_OBJS=alias.o bb-reorder.o bitmap.o builtins.o caller-save.o calls.o cfg.o cfganal.o cfgbuild.o cfgcleanup.o cfglayout.o cfgloop.o cfgrtl.o combine.o conflict.o convert.o cse.o cselib.o dbxout.o debug.o df.o diagnostic.o doloop.o dominance.o dwarf2asm.o dwarf2out.o dwarfout.o emit-rtl.o except.o explow.o expmed.o expr.o final.o flow.o fold-const.o function.o gcse.o genrtl.o ggc-common.o global.o graph.o gtype-desc.o haifa-sched.o hashtable.o hooks.o ifcvt.o insn-attrtab.o insn-emit.o insn-extract.o insn-opinit.o insn-output.o insn-peep.o insn-recog.o integrate.o intl.o jump.o langhooks.o lcm.o lists.o local-alloc.o loop.o mbchar.o optabs.o params.o predict.o print-rtl.o print-tree.o profile.o ra.o ra-build.o ra-colorize.o ra-debug.o ra-rewrite.o real.o recog.o reg-stack.o regclass.o regmove.o regrename.o reload.o reload1.o reorg.o resource.o rtl.o rtlanal.o rtl-error.o sbitmap.o sched-deps.o sched-ebb.o sched-rgn.o sched-vis.o sdbout.o sibcall.o simplify-rtx.o ssa.o ssa-ccp.o ssa-dce.o stmt.o stor-layout.o stringpool.o timevar.o toplev.o tracer.o tree.o tree-dump.o tree-inline.o unroll.o varasm.o varray.o version.o vmsdbgout.o xcoffout.o et-forest.o ggc-page.o mips.o +G_out_file=${GNUHOSTDIST}/gcc/config/mips/mips.c +G_version=3.3.1 +G_BUILD_PREFIX=build- +G_RTL_H=rtl.h rtl.def machmode.h machmode.def genrtl.h +G_TREE_H=tree.h tree.def machmode.h machmode.def tree-check.h version.h builtins.def location.h +G_HCONFIG_H=hconfig.h auto-build.h ${GNUHOSTDIST}/gcc/../include/ansidecl.h ${GNUHOSTDIST}/gcc/config/elfos.h ${GNUHOSTDIST}/gcc/config/mips/mips.h ${GNUHOSTDIST}/gcc/config/mips/netbsd.h +G_BASIC_BLOCK_H=basic-block.h bitmap.h sbitmap.h varray.h ${GNUHOSTDIST}/gcc/../include/partition.h hard-reg-set.h +G_GCC_H=gcc.h version.h +G_GTFILES_SRCDIR=${GNUHOSTDIST}/gcc +G_GTFILES_FILES_FILES=${GNUHOSTDIST}/gcc/cp/mangle.c ${GNUHOSTDIST}/gcc/cp/cp-tree.h ${GNUHOSTDIST}/gcc/cp/decl.h ${GNUHOSTDIST}/gcc/cp/lex.h ${GNUHOSTDIST}/gcc/cp/call.c ${GNUHOSTDIST}/gcc/cp/decl.c ${GNUHOSTDIST}/gcc/cp/decl2.c ${GNUHOSTDIST}/gcc/cp/parse.y ${GNUHOSTDIST}/gcc/cp/pt.c ${GNUHOSTDIST}/gcc/cp/repo.c ${GNUHOSTDIST}/gcc/cp/spew.c ${GNUHOSTDIST}/gcc/cp/tree.c ${GNUHOSTDIST}/gcc/c-common.c ${GNUHOSTDIST}/gcc/c-common.h ${GNUHOSTDIST}/gcc/c-pragma.c ${GNUHOSTDIST}/gcc/f/com.c ${GNUHOSTDIST}/gcc/f/com.h ${GNUHOSTDIST}/gcc/f/ste.c ${GNUHOSTDIST}/gcc/f/where.h ${GNUHOSTDIST}/gcc/f/where.c ${GNUHOSTDIST}/gcc/f/lex.c ${GNUHOSTDIST}/gcc/objc/objc-act.h ${GNUHOSTDIST}/gcc/c-parse.in ${GNUHOSTDIST}/gcc/c-tree.h ${GNUHOSTDIST}/gcc/c-decl.c ${GNUHOSTDIST}/gcc/c-objc-common.c ${GNUHOSTDIST}/gcc/c-common.c ${GNUHOSTDIST}/gcc/c-common.h ${GNUHOSTDIST}/gcc/c-pragma.c ${GNUHOSTDIST}/gcc/c-parse.in ${GNUHOSTDIST}/gcc/c-lang.c ${GNUHOSTDIST}/gcc/c-parse.in ${GNUHOSTDIST}/gcc/c-tree.h ${GNUHOSTDIST}/gcc/c-decl.c ${GNUHOSTDIST}/gcc/c-common.c ${GNUHOSTDIST}/gcc/c-common.h ${GNUHOSTDIST}/gcc/c-pragma.c ${GNUHOSTDIST}/gcc/c-objc-common.c +G_GTFILES_FILES_LANGS=cp cp cp cp cp cp cp cp cp cp cp cp cp cp cp f f f f f f objc objc objc objc objc objc objc objc objc c c c c c c c c +G_GTFILES=config.h auto-host.h ${GNUHOSTDIST}/gcc/../include/ansidecl.h ${GNUHOSTDIST}/gcc/config/elfos.h ${GNUHOSTDIST}/gcc/config/mips/mips.h ${GNUHOSTDIST}/gcc/config/mips/netbsd.h ${GNUHOSTDIST}/gcc/defaults.h ${GNUHOSTDIST}/gcc/defaults.h ${GNUHOSTDIST}/gcc/location.h ${GNUHOSTDIST}/gcc/../include/hashtab.h ${GNUHOSTDIST}/gcc/bitmap.h ${GNUHOSTDIST}/gcc/function.h ${GNUHOSTDIST}/gcc/rtl.h ${GNUHOSTDIST}/gcc/optabs.h ${GNUHOSTDIST}/gcc/tree.h ${GNUHOSTDIST}/gcc/libfuncs.h ${GNUHOSTDIST}/gcc/hashtable.h ${GNUHOSTDIST}/gcc/real.h ${GNUHOSTDIST}/gcc/varray.h ${GNUHOSTDIST}/gcc/ssa.h ${GNUHOSTDIST}/gcc/insn-addr.h ${GNUHOSTDIST}/gcc/cselib.h ${GNUHOSTDIST}/gcc/c-common.h ${GNUHOSTDIST}/gcc/c-tree.h ${GNUHOSTDIST}/gcc/basic-block.h ${GNUHOSTDIST}/gcc/alias.c ${GNUHOSTDIST}/gcc/bitmap.c ${GNUHOSTDIST}/gcc/cselib.c ${GNUHOSTDIST}/gcc/dwarf2out.c ${GNUHOSTDIST}/gcc/emit-rtl.c ${GNUHOSTDIST}/gcc/except.c ${GNUHOSTDIST}/gcc/explow.c ${GNUHOSTDIST}/gcc/expr.c ${GNUHOSTDIST}/gcc/fold-const.c ${GNUHOSTDIST}/gcc/function.c ${GNUHOSTDIST}/gcc/gcse.c ${GNUHOSTDIST}/gcc/integrate.c ${GNUHOSTDIST}/gcc/lists.c ${GNUHOSTDIST}/gcc/optabs.c ${GNUHOSTDIST}/gcc/profile.c ${GNUHOSTDIST}/gcc/ra-build.c ${GNUHOSTDIST}/gcc/regclass.c ${GNUHOSTDIST}/gcc/reg-stack.c ${GNUHOSTDIST}/gcc/sdbout.c ${GNUHOSTDIST}/gcc/stmt.c ${GNUHOSTDIST}/gcc/stor-layout.c ${GNUHOSTDIST}/gcc/tree.c ${GNUHOSTDIST}/gcc/varasm.c ${GNUHOSTDIST}/gcc/config/mips/mips.c ${GNUHOSTDIST}/gcc/cp/mangle.c ${GNUHOSTDIST}/gcc/cp/cp-tree.h ${GNUHOSTDIST}/gcc/cp/decl.h ${GNUHOSTDIST}/gcc/cp/lex.h ${GNUHOSTDIST}/gcc/cp/call.c ${GNUHOSTDIST}/gcc/cp/decl.c ${GNUHOSTDIST}/gcc/cp/decl2.c ${GNUHOSTDIST}/gcc/cp/parse.y ${GNUHOSTDIST}/gcc/cp/pt.c ${GNUHOSTDIST}/gcc/cp/repo.c ${GNUHOSTDIST}/gcc/cp/spew.c ${GNUHOSTDIST}/gcc/cp/tree.c ${GNUHOSTDIST}/gcc/c-common.c ${GNUHOSTDIST}/gcc/c-common.h ${GNUHOSTDIST}/gcc/c-pragma.c ${GNUHOSTDIST}/gcc/f/com.c ${GNUHOSTDIST}/gcc/f/com.h ${GNUHOSTDIST}/gcc/f/ste.c ${GNUHOSTDIST}/gcc/f/where.h ${GNUHOSTDIST}/gcc/f/where.c ${GNUHOSTDIST}/gcc/f/lex.c ${GNUHOSTDIST}/gcc/objc/objc-act.h ${GNUHOSTDIST}/gcc/c-parse.in ${GNUHOSTDIST}/gcc/c-tree.h ${GNUHOSTDIST}/gcc/c-decl.c ${GNUHOSTDIST}/gcc/c-objc-common.c ${GNUHOSTDIST}/gcc/c-common.c ${GNUHOSTDIST}/gcc/c-common.h ${GNUHOSTDIST}/gcc/c-pragma.c ${GNUHOSTDIST}/gcc/c-parse.in ${GNUHOSTDIST}/gcc/c-lang.c ${GNUHOSTDIST}/gcc/c-parse.in ${GNUHOSTDIST}/gcc/c-tree.h ${GNUHOSTDIST}/gcc/c-decl.c ${GNUHOSTDIST}/gcc/c-common.c ${GNUHOSTDIST}/gcc/c-common.h ${GNUHOSTDIST}/gcc/c-pragma.c ${GNUHOSTDIST}/gcc/c-objc-common.c +G_GTFILES_LANG_DIR_NAMES=cp f objc +G_tm_defines=TARGET_ENDIAN_DEFAULT=0 +G_host_xm_file=auto-host.h ansidecl.h elfos.h mips/mips.h mips/netbsd.h defaults.h +G_host_xm_defines=POSIX +G_tm_p_file=mips/mips-protos.h +G_target_cpu_default=(MASK_GAS|MASK_ABICALLS|MASK_GAS) +G_LIBCPP_OBJS=cpplib.o cpplex.o cppmacro.o cppexp.o cppfiles.o cpptrad.o cpphash.o cpperror.o cppinit.o cppdefault.o cppmain.o hashtable.o line-map.o mkdeps.o prefix.o mbchar.o +G_LIBCPP_H= +G_lang_specs_files=${GNUHOSTDIST}/gcc/cp/lang-specs.h ${GNUHOSTDIST}/gcc/f/lang-specs.h ${GNUHOSTDIST}/gcc/objc/lang-specs.h +G_LIB2ADDEHDEP= unwind-dw2-fde.h +G_CXX_OBJS=call.o decl.o expr.o pt.o typeck2.o class.o decl2.o error.o lex.o parse.o ptree.o rtti.o spew.o typeck.o cvt.o except.o friend.o init.o method.o search.o semantics.o tree.o repo.o dump.o optimize.o mangle.o cp-lang.o +G_CXX_C_OBJS=attribs.o c-common.o c-format.o c-pragma.o c-semantics.o c-lex.o c-dump.o c-pretty-print.o c-opts.o +G_F77_OBJS=bad.o bit.o bld.o com.o data.o equiv.o expr.o global.o implic.o info.o intrin.o lab.o lex.o malloc.o name.o parse.o src.o st.o sta.o stb.o stc.o std.o ste.o storag.o stp.o str.o sts.o stt.o stu.o stv.o stw.o symbol.o target.o top.o type.o where.o diff --git a/gnu/usr.bin/gcc3/arch/mipsel/gencheck.h b/gnu/usr.bin/gcc3/arch/mipsel/gencheck.h new file mode 100644 index 000000000000..67ffec29ca2f --- /dev/null +++ b/gnu/usr.bin/gcc3/arch/mipsel/gencheck.h @@ -0,0 +1,5 @@ +/* This file is automatically generated. DO NOT EDIT! */ +/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ + +#include "cp/cp-tree.def" +#include "objc/objc-tree.def" diff --git a/gnu/usr.bin/gcc3/arch/mipsel/hconfig.h b/gnu/usr.bin/gcc3/arch/mipsel/hconfig.h new file mode 100644 index 000000000000..a08e931630c3 --- /dev/null +++ b/gnu/usr.bin/gcc3/arch/mipsel/hconfig.h @@ -0,0 +1,31 @@ +/* This file is automatically generated. DO NOT EDIT! */ +/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ + +#define TARGET_CPU_DEFAULT ((MASK_GAS|MASK_ABICALLS|MASK_GAS)) +#ifndef TARGET_ENDIAN_DEFAULT +# define TARGET_ENDIAN_DEFAULT 0 +#endif +#include "auto-build.h" +#ifdef IN_GCC +/* Provide three core typedefs used by everything, if we are compiling + GCC. These used to be found in rtl.h and tree.h, but this is no + longer practical. Providing these here rather that system.h allows + the typedefs to be used everywhere within GCC. */ +struct rtx_def; +typedef struct rtx_def *rtx; +struct rtvec_def; +typedef struct rtvec_def *rtvec; +union tree_node; +typedef union tree_node *tree; +#endif +#define GTY(x) +#ifdef IN_GCC +# include "ansidecl.h" +# include "elfos.h" +# include "mips/mips.h" +# include "mips/netbsd.h" +# include "defaults.h" +#endif +#ifndef POSIX +# define POSIX +#endif