Module Name: src Committed By: drochner Date: Thu May 6 10:08:12 UTC 2010
Modified Files: src/gnu/lib/libgcc4/arch: i386.mk src/gnu/lib/libstdc++-v3_4/arch/i386: gthr-default.h gthr-posix.h src/gnu/usr.bin/gcc4/arch/i386: auto-host.h configargs.h src/gnu/usr.bin/gcc4/libiberty: defs.mk src/gnu/usr.bin/gcc4/libiberty/arch/i386: config.h Log Message: mknative-gcc run to pick up gthr-posix.h change (also picks up stpcpy() and stpncpy(), and gas weakref support) To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/gnu/lib/libgcc4/arch/i386.mk cvs rdiff -u -r1.6 -r1.7 src/gnu/lib/libstdc++-v3_4/arch/i386/gthr-default.h \ src/gnu/lib/libstdc++-v3_4/arch/i386/gthr-posix.h cvs rdiff -u -r1.8 -r1.9 src/gnu/usr.bin/gcc4/arch/i386/auto-host.h cvs rdiff -u -r1.15 -r1.16 src/gnu/usr.bin/gcc4/arch/i386/configargs.h cvs rdiff -u -r1.11 -r1.12 src/gnu/usr.bin/gcc4/libiberty/defs.mk cvs rdiff -u -r1.5 -r1.6 src/gnu/usr.bin/gcc4/libiberty/arch/i386/config.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/gnu/lib/libgcc4/arch/i386.mk diff -u src/gnu/lib/libgcc4/arch/i386.mk:1.5 src/gnu/lib/libgcc4/arch/i386.mk:1.6 --- src/gnu/lib/libgcc4/arch/i386.mk:1.5 Fri Sep 21 10:51:05 2007 +++ src/gnu/lib/libgcc4/arch/i386.mk Thu May 6 10:08:11 2010 @@ -1,5 +1,5 @@ # This file is automatically generated. DO NOT EDIT! -# Generated from: NetBSD: mknative-gcc,v 1.22 2006/06/25 03:06:15 mrg Exp +# Generated from: NetBSD: mknative-gcc,v 1.45 2009/12/17 15:48:13 uebayasi Exp # Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp # G_INCLUDES=-I. -I. -I${GNUHOSTDIST}/gcc -I${GNUHOSTDIST}/gcc/. -I${GNUHOSTDIST}/gcc/../include -I${GNUHOSTDIST}/gcc/../libcpp/include @@ -9,6 +9,7 @@ G_LIB1ASMSRC= G_LIB2_DIVMOD_FUNCS=_divdi3 _moddi3 _udivdi3 _umoddi3 _udiv_w_sdiv _udivmoddi4 G_LIB2FUNCS_ST=_eprintf __gcc_bcmp +G_LIB2FUNCS_EXTRA= G_LIBGCC2_CFLAGS=-O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED G_SHLIB_MKMAP=${GNUHOSTDIST}/gcc/mkmap-symver.awk G_SHLIB_MKMAP_OPTS= Index: src/gnu/lib/libstdc++-v3_4/arch/i386/gthr-default.h diff -u src/gnu/lib/libstdc++-v3_4/arch/i386/gthr-default.h:1.6 src/gnu/lib/libstdc++-v3_4/arch/i386/gthr-default.h:1.7 --- src/gnu/lib/libstdc++-v3_4/arch/i386/gthr-default.h:1.6 Tue Feb 5 02:23:24 2008 +++ src/gnu/lib/libstdc++-v3_4/arch/i386/gthr-default.h Thu May 6 10:08:12 2010 @@ -1,5 +1,5 @@ /* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.22 2006/06/25 03:06:15 mrg Exp */ +/* Generated from: NetBSD: mknative-gcc,v 1.45 2009/12/17 15:48:13 uebayasi Exp */ /* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */ /* Threads compatibility routines for libgcc2 and libobjc. */ @@ -66,9 +66,15 @@ # ifndef __gthrw_pragma # define __gthrw_pragma(pragma) # endif +# ifdef __clang__ +# define __gthrw2(name,name2,type) \ + static __typeof(type) name __attribute__ ((__weakref__(#name2))); \ + __gthrw_pragma(weak type) +# else # define __gthrw2(name,name2,type) \ extern __typeof(type) name __attribute__ ((__weakref__(#name2))); \ __gthrw_pragma(weak type) +# endif # define __gthrw_(name) __gthrw_ ## name #else # define __gthrw2(name,name2,type) Index: src/gnu/lib/libstdc++-v3_4/arch/i386/gthr-posix.h diff -u src/gnu/lib/libstdc++-v3_4/arch/i386/gthr-posix.h:1.6 src/gnu/lib/libstdc++-v3_4/arch/i386/gthr-posix.h:1.7 --- src/gnu/lib/libstdc++-v3_4/arch/i386/gthr-posix.h:1.6 Tue Feb 5 02:23:24 2008 +++ src/gnu/lib/libstdc++-v3_4/arch/i386/gthr-posix.h Thu May 6 10:08:12 2010 @@ -1,5 +1,5 @@ /* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.22 2006/06/25 03:06:15 mrg Exp */ +/* Generated from: NetBSD: mknative-gcc,v 1.45 2009/12/17 15:48:13 uebayasi Exp */ /* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */ /* Threads compatibility routines for libgcc2 and libobjc. */ @@ -66,9 +66,15 @@ # ifndef __gthrw_pragma # define __gthrw_pragma(pragma) # endif +# ifdef __clang__ +# define __gthrw2(name,name2,type) \ + static __typeof(type) name __attribute__ ((__weakref__(#name2))); \ + __gthrw_pragma(weak type) +# else # define __gthrw2(name,name2,type) \ extern __typeof(type) name __attribute__ ((__weakref__(#name2))); \ __gthrw_pragma(weak type) +# endif # define __gthrw_(name) __gthrw_ ## name #else # define __gthrw2(name,name2,type) Index: src/gnu/usr.bin/gcc4/arch/i386/auto-host.h diff -u src/gnu/usr.bin/gcc4/arch/i386/auto-host.h:1.8 src/gnu/usr.bin/gcc4/arch/i386/auto-host.h:1.9 --- src/gnu/usr.bin/gcc4/arch/i386/auto-host.h:1.8 Fri Sep 21 10:51:16 2007 +++ src/gnu/usr.bin/gcc4/arch/i386/auto-host.h Thu May 6 10:08:12 2010 @@ -1,5 +1,5 @@ /* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.22 2006/06/25 03:06:15 mrg Exp */ +/* Generated from: NetBSD: mknative-gcc,v 1.45 2009/12/17 15:48:13 uebayasi Exp */ /* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */ /* auto-host.h. Generated from config.in by configure. */ @@ -757,7 +757,7 @@ /* Define if your assembler supports .weakref. */ #ifndef USED_FOR_TARGET -/* #undef HAVE_GAS_WEAKREF */ +#define HAVE_GAS_WEAKREF 1 #endif Index: src/gnu/usr.bin/gcc4/arch/i386/configargs.h diff -u src/gnu/usr.bin/gcc4/arch/i386/configargs.h:1.15 src/gnu/usr.bin/gcc4/arch/i386/configargs.h:1.16 --- src/gnu/usr.bin/gcc4/arch/i386/configargs.h:1.15 Mon May 4 21:32:31 2009 +++ src/gnu/usr.bin/gcc4/arch/i386/configargs.h Thu May 6 10:08:12 2010 @@ -1,9 +1,9 @@ /* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.25 2008/10/11 05:03:44 mrg Exp */ +/* Generated from: NetBSD: mknative-gcc,v 1.45 2009/12/17 15:48:13 uebayasi Exp */ /* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */ /* Generated automatically. */ -static const char configuration_arguments[] = "/home/drochner/netbsd/work.src.usbdev/tools/gcc/../../gnu/dist/gcc4/configure --target=i486--netbsdelf --enable-long-long --enable-threads --enable-__cxa_atexit --with-arch=i486 --with-tune=nocona --disable-multilib --disable-symvers --build=i386-unknown-netbsdelf5.99.8 --host=i486--netbsdelf"; +static const char configuration_arguments[] = "/home/drochner/netbsd/work.src.usbdev/tools/gcc/../../gnu/dist/gcc4/configure --target=i486--netbsdelf --enable-long-long --enable-threads --enable-__cxa_atexit --with-arch=i486 --with-tune=nocona --disable-multilib --disable-symvers --build=i386-unknown-netbsdelf5.99.29 --host=i486--netbsdelf"; static const char thread_model[] = "posix"; static const struct { Index: src/gnu/usr.bin/gcc4/libiberty/defs.mk diff -u src/gnu/usr.bin/gcc4/libiberty/defs.mk:1.11 src/gnu/usr.bin/gcc4/libiberty/defs.mk:1.12 --- src/gnu/usr.bin/gcc4/libiberty/defs.mk:1.11 Fri Mar 19 14:01:58 2010 +++ src/gnu/usr.bin/gcc4/libiberty/defs.mk Thu May 6 10:08:12 2010 @@ -4,5 +4,5 @@ # G_ALLOCA= G_EXTRA_OFILES= -G_LIBOBJS=mempcpy.o mkstemps.o strverscmp.o vfork.o strncmp.o +G_LIBOBJS=mempcpy.o mkstemps.o strverscmp.o strncmp.o G_REQUIRED_OFILES=regex.o cplus-dem.o cp-demangle.o md5.o alloca.o argv.o choose-temp.o concat.o cp-demint.o dyn-string.o fdmatch.o fibheap.o floatformat.o fnmatch.o fopen_unlocked.o getopt.o getopt1.o getpwd.o getruntime.o hashtab.o hex.o lbasename.o lrealpath.o make-relative-prefix.o make-temp-file.o objalloc.o obstack.o partition.o pexecute.o physmem.o pex-common.o pex-one.o pex-unix.o safe-ctype.o sort.o spaces.o splay-tree.o strerror.o strsignal.o ternary.o unlink-if-ordinary.o xatexit.o xexit.o xmalloc.o xmemdup.o xstrdup.o xstrerror.o xstrndup.o Index: src/gnu/usr.bin/gcc4/libiberty/arch/i386/config.h diff -u src/gnu/usr.bin/gcc4/libiberty/arch/i386/config.h:1.5 src/gnu/usr.bin/gcc4/libiberty/arch/i386/config.h:1.6 --- src/gnu/usr.bin/gcc4/libiberty/arch/i386/config.h:1.5 Thu Aug 24 10:28:07 2006 +++ src/gnu/usr.bin/gcc4/libiberty/arch/i386/config.h Thu May 6 10:08:12 2010 @@ -1,6 +1,6 @@ /* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.22 2006/06/25 03:06:15 mrg Exp */ -/* Generated from: NetBSD: mknative.common,v 1.8 2006/05/26 19:17:21 mrg Exp */ +/* Generated from: NetBSD: mknative-gcc,v 1.45 2009/12/17 15:48:13 uebayasi Exp */ +/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */ /* config.h. Generated by configure. */ /* config.in. Generated from configure.ac by autoheader. */ @@ -211,10 +211,10 @@ #define HAVE_STDLIB_H 1 /* Define to 1 if you have the `stpcpy' function. */ -/* #undef HAVE_STPCPY */ +#define HAVE_STPCPY 1 /* Define to 1 if you have the `stpncpy' function. */ -/* #undef HAVE_STPNCPY */ +#define HAVE_STPNCPY 1 /* Define to 1 if you have the `strcasecmp' function. */ #define HAVE_STRCASECMP 1