Source-Changes-HG archive

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

[src/trunk]: src/gnu/lib Redo/fix gcc3 files for PowerPC.



details:   https://anonhg.NetBSD.org/src/rev/f87a42375c29
branches:  trunk
changeset: 552292:f87a42375c29
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Sep 23 09:06:33 2003 +0000

description:
Redo/fix gcc3 files for PowerPC.

diffstat:

 gnu/lib/libg2c3/arch/powerpc/config.h            |     4 +-
 gnu/lib/libg2c3/arch/powerpc/defs.mk             |     4 +-
 gnu/lib/libgcc3/powerpc.mk                       |     5 +-
 gnu/lib/libstdc++-v3/arch/powerpc/c++config.h    |  1228 ++++++++++++++++++++++
 gnu/lib/libstdc++-v3/arch/powerpc/config.h       |  1127 ++++++++++++++++++++
 gnu/lib/libstdc++-v3/arch/powerpc/defs.mk        |    18 +
 gnu/lib/libstdc++-v3/arch/powerpc/gthr-default.h |   524 +++++++++
 gnu/lib/libstdc++-v3/arch/powerpc/gthr-posix.h   |   524 +++++++++
 gnu/lib/libstdc++-v3/arch/powerpc/gthr-single.h  |   242 ++++
 gnu/lib/libstdc++-v3/arch/powerpc/gthr.h         |   108 +
 10 files changed, 3778 insertions(+), 6 deletions(-)

diffs (truncated from 3850 to 300 lines):

diff -r abae169fc6bf -r f87a42375c29 gnu/lib/libg2c3/arch/powerpc/config.h
--- a/gnu/lib/libg2c3/arch/powerpc/config.h     Tue Sep 23 09:04:40 2003 +0000
+++ b/gnu/lib/libg2c3/arch/powerpc/config.h     Tue Sep 23 09:06:33 2003 +0000
@@ -1,5 +1,5 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from:     NetBSD: mknative-gcc,v 1.5 2003/07/30 05:10:06 mrg Exp  */
+/* Generated from:     NetBSD: mknative-gcc,v 1.7 2003/08/22 00:24:46 mrg Exp  */
 
 /* config.h.  Generated automatically by configure.  */
 /* config.hin.  Generated automatically from configure.in by autoheader.  */
@@ -26,7 +26,7 @@
 /* #undef size_t */
 
 /* Define if you have the ANSI C header files.  */
-/* #undef STDC_HEADERS */
+#define STDC_HEADERS 1
 
 /* Define if you can safely include both <sys/time.h> and <time.h>.  */
 #define TIME_WITH_SYS_TIME 1
diff -r abae169fc6bf -r f87a42375c29 gnu/lib/libg2c3/arch/powerpc/defs.mk
--- a/gnu/lib/libg2c3/arch/powerpc/defs.mk      Tue Sep 23 09:04:40 2003 +0000
+++ b/gnu/lib/libg2c3/arch/powerpc/defs.mk      Tue Sep 23 09:06:33 2003 +0000
@@ -1,8 +1,8 @@
 # This file is automatically generated.  DO NOT EDIT!
-# Generated from:      NetBSD: mknative-gcc,v 1.5 2003/07/30 05:10:06 mrg Exp 
+# Generated from:      NetBSD: mknative-gcc,v 1.7 2003/08/22 00:24:46 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_ALL_CFLAGS=-I. -I${GNUHOSTDIST}/libf2c/libF77 -I.. -I${GNUHOSTDIST}/libf2c/libF77/..  -DSTDC_HEADERS=1 -DRETSIGTYPE=void -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
diff -r abae169fc6bf -r f87a42375c29 gnu/lib/libgcc3/powerpc.mk
--- a/gnu/lib/libgcc3/powerpc.mk        Tue Sep 23 09:04:40 2003 +0000
+++ b/gnu/lib/libgcc3/powerpc.mk        Tue Sep 23 09:06:33 2003 +0000
@@ -1,11 +1,12 @@
 # This file is automatically generated.  DO NOT EDIT!
 # Generated from:      NetBSD: mknative-gcc,v 1.5 2003/07/30 05:10:06 mrg Exp 
 #
+G_CONFIGDIR=
 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=tramp.S
+G_INCLUDES=-I. -I. -I${GNUHOSTDIST}/gcc -I${GNUHOSTDIST}/gcc/.  -I${GNUHOSTDIST}/gcc/config -I${GNUHOSTDIST}/gcc/config/rs6000 -I${GNUHOSTDIST}/gcc/../include
+G_LIB2ADD=${GNUHOSTDIST}/gcc/config/rs6000/tramp.asm
 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
diff -r abae169fc6bf -r f87a42375c29 gnu/lib/libstdc++-v3/arch/powerpc/c++config.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/gnu/lib/libstdc++-v3/arch/powerpc/c++config.h     Tue Sep 23 09:06:33 2003 +0000
@@ -0,0 +1,1228 @@
+/* This file is automatically generated.  DO NOT EDIT! */
+/* Generated from:     NetBSD: mknative-gcc,v 1.7 2003/08/22 00:24:46 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 <bits/os_defines.h>
+
+// The current version of the C++ library in compressed ISO date format.
+#define __GLIBCPP__ 20030804
+
+// 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@localhost .
+// 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.
+#define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
+
+// Include I/O support for 'long long' and 'unsigned long long'.
+#define _GLIBCPP_USE_LONG_LONG 1
+
+// 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).
+#define _GLIBCPP_HAVE_GTHR_DEFAULT 1
+
+// 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 <poll.h>.
+/* #undef _GLIBCPP_HAVE_POLL */
+
+// Define if S_ISREG (Posix) is available in <sys/stat.h>.
+/* #undef _GLIBCPP_HAVE_S_ISREG */
+
+// Define if S_IFREG is available in <sys/stat.h>.
+/* #undef _GLIBCPP_HAVE_S_IFREG */
+
+// Define if LC_MESSAGES is available in <locale.h>.
+/* #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 */



Home | Main Index | Thread Index | Old Index