Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu Add ns32k GCC3 support.



details:   https://anonhg.NetBSD.org/src/rev/812b430b018a
branches:  trunk
changeset: 555982:812b430b018a
user:      simonb <simonb%NetBSD.org@localhost>
date:      Fri Dec 05 12:05:32 2003 +0000

description:
Add ns32k GCC3 support.

diffstat:

 gnu/lib/libg2c3/arch/ns32k/config.h            |   129 ++
 gnu/lib/libg2c3/arch/ns32k/defs.mk             |    10 +
 gnu/lib/libg2c3/arch/ns32k/g2c.h               |   237 ++++
 gnu/lib/libgcc3/ns32k.mk                       |    19 +
 gnu/lib/libstdc++-v3/arch/ns32k/c++config.h    |  1228 ++++++++++++++++++++++++
 gnu/lib/libstdc++-v3/arch/ns32k/config.h       |  1127 ++++++++++++++++++++++
 gnu/lib/libstdc++-v3/arch/ns32k/defs.mk        |    18 +
 gnu/lib/libstdc++-v3/arch/ns32k/gthr-default.h |   524 ++++++++++
 gnu/lib/libstdc++-v3/arch/ns32k/gthr-posix.h   |   524 ++++++++++
 gnu/lib/libstdc++-v3/arch/ns32k/gthr-single.h  |   242 ++++
 gnu/lib/libstdc++-v3/arch/ns32k/gthr.h         |   108 ++
 gnu/usr.bin/gcc3/arch/ns32k/auto-host.h        |   635 ++++++++++++
 gnu/usr.bin/gcc3/arch/ns32k/configargs.h       |     6 +
 gnu/usr.bin/gcc3/arch/ns32k/cs-hconfig.h       |     4 +
 gnu/usr.bin/gcc3/arch/ns32k/defs.mk            |    46 +
 gnu/usr.bin/gcc3/arch/ns32k/gencheck.h         |     5 +
 gnu/usr.bin/gcc3/arch/ns32k/gthr-default.h     |     4 +
 gnu/usr.bin/gcc3/arch/ns32k/hconfig.h          |    31 +
 gnu/usr.bin/gcc3/libiberty/arch/ns32k/config.h |   309 ++++++
 19 files changed, 5206 insertions(+), 0 deletions(-)

diffs (truncated from 5282 to 300 lines):

diff -r c26c08778242 -r 812b430b018a gnu/lib/libg2c3/arch/ns32k/config.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/gnu/lib/libg2c3/arch/ns32k/config.h       Fri Dec 05 12:05:32 2003 +0000
@@ -0,0 +1,129 @@
+/* This file is automatically generated.  DO NOT EDIT! */
+/* Generated from:     NetBSD: mknative-gcc,v 1.10 2003/11/27 10:21:24 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 <sys/types.h> doesn't define.  */
+/* #undef mode_t */
+
+/* Define to `int' if <sys/types.h> doesn't define.  */
+/* #undef pid_t */
+
+/* Define to `unsigned' if <sys/types.h> 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 <sys/time.h> and <time.h>.  */
+#define TIME_WITH_SYS_TIME 1
+
+/* Define if your <sys/time.h> 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 <limits.h> header file.  */
+#define HAVE_LIMITS_H 1
+
+/* Define if you have the <stdlib.h> header file.  */
+#define HAVE_STDLIB_H 1
+
+/* Define if you have the <string.h> header file.  */
+#define HAVE_STRING_H 1
+
+/* Define if you have the <sys/param.h> header file.  */
+#define HAVE_SYS_PARAM_H 1
+
+/* Define if you have the <sys/time.h> header file.  */
+#define HAVE_SYS_TIME_H 1
+
+/* Define if you have the <sys/times.h> header file.  */
+#define HAVE_SYS_TIMES_H 1
+
+/* Define if you have the <unistd.h> 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 -r c26c08778242 -r 812b430b018a gnu/lib/libg2c3/arch/ns32k/defs.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/gnu/lib/libg2c3/arch/ns32k/defs.mk        Fri Dec 05 12:05:32 2003 +0000
@@ -0,0 +1,10 @@
+# This file is automatically generated.  DO NOT EDIT!
+# Generated from:      NetBSD: mknative-gcc,v 1.10 2003/11/27 10:21:24 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 -DIEEE_drem=1 -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 -r c26c08778242 -r 812b430b018a gnu/lib/libg2c3/arch/ns32k/g2c.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/gnu/lib/libg2c3/arch/ns32k/g2c.h  Fri Dec 05 12:05:32 2003 +0000
@@ -0,0 +1,237 @@
+/* This file is automatically generated.  DO NOT EDIT! */
+/* Generated from:     NetBSD: mknative-gcc,v 1.10 2003/11/27 10:21:24 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;



Home | Main Index | Thread Index | Old Index