Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/gcc/lib *sigh* move these files into the direc...



details:   https://anonhg.NetBSD.org/src/rev/f7d2655fcc6a
branches:  trunk
changeset: 766366:f7d2655fcc6a
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Jun 21 06:02:25 2011 +0000

description:
*sigh* move these files into the directories i meant for them to exist in.
start actually porting to gcc 4.5 in the process.

diffstat:

 external/gpl3/gcc/lib/crtstuff/Makefile                        |   82 +++++
 external/gpl3/gcc/lib/crtstuff/crtbegin.c                      |    9 +
 external/gpl3/gcc/lib/crtstuff/crtbeginS.c                     |   10 +
 external/gpl3/gcc/lib/crtstuff/crtbeginT.c                     |   10 +
 external/gpl3/gcc/lib/crtstuff/crtend.c                        |    9 +
 external/gpl3/gcc/lib/crtstuff/crtendS.c                       |   10 +
 external/gpl3/gcc/lib/crtstuff4/Makefile                       |   82 -----
 external/gpl3/gcc/lib/crtstuff4/crtbegin.c                     |    9 -
 external/gpl3/gcc/lib/crtstuff4/crtbeginS.c                    |   10 -
 external/gpl3/gcc/lib/crtstuff4/crtbeginT.c                    |   10 -
 external/gpl3/gcc/lib/crtstuff4/crtend.c                       |    9 -
 external/gpl3/gcc/lib/crtstuff4/crtendS.c                      |   10 -
 external/gpl3/gcc/lib/libgcc/Makefile                          |   13 +
 external/gpl3/gcc/lib/libgcc/Makefile.inc                      |  154 ++++++++++
 external/gpl3/gcc/lib/libgcc/Makefile.srcs                     |   13 +
 external/gpl3/gcc/lib/libgcc/Makefile.wrapper                  |   62 ++++
 external/gpl3/gcc/lib/libgcc/libgcc/Makefile                   |   74 ++++
 external/gpl3/gcc/lib/libgcc/libgcc_eh/Makefile                |   37 ++
 external/gpl3/gcc/lib/libgcc/libgcc_s/Makefile                 |   69 ++++
 external/gpl3/gcc/lib/libgcc/libgcov/Makefile                  |   53 +++
 external/gpl3/gcc/lib/libgcc4/Makefile                         |   13 -
 external/gpl3/gcc/lib/libgcc4/Makefile.inc                     |  154 ----------
 external/gpl3/gcc/lib/libgcc4/Makefile.srcs                    |   13 -
 external/gpl3/gcc/lib/libgcc4/Makefile.wrapper                 |   62 ----
 external/gpl3/gcc/lib/libgcc4/libgcc/Makefile                  |   74 ----
 external/gpl3/gcc/lib/libgcc4/libgcc_eh/Makefile               |   37 --
 external/gpl3/gcc/lib/libgcc4/libgcc_s/Makefile                |   69 ----
 external/gpl3/gcc/lib/libgcc4/libgcov/Makefile                 |   53 ---
 external/gpl3/gcc/lib/libiberty/Makefile                       |   27 +
 external/gpl3/gcc/lib/libiberty/defs.mk                        |    8 +
 external/gpl3/gcc/lib/libobjc/Makefile                         |  115 +++++++
 external/gpl3/gcc/lib/libobjc4/Makefile                        |  115 -------
 external/gpl3/gcc/lib/libstdc++-v3/Makefile                    |  134 ++++++++
 external/gpl3/gcc/lib/libstdc++-v3/include/Makefile            |   33 ++
 external/gpl3/gcc/lib/libstdc++-v3/include/backward/Makefile   |   17 +
 external/gpl3/gcc/lib/libstdc++-v3/include/bits/Makefile       |   45 ++
 external/gpl3/gcc/lib/libstdc++-v3/include/debug/Makefile      |   17 +
 external/gpl3/gcc/lib/libstdc++-v3/include/ext/Makefile        |   22 +
 external/gpl3/gcc/lib/libstdc++-v3/include/tr1/Makefile        |   17 +
 external/gpl3/gcc/lib/libstdc++-v3_4/Makefile                  |  134 --------
 external/gpl3/gcc/lib/libstdc++-v3_4/include/Makefile          |   33 --
 external/gpl3/gcc/lib/libstdc++-v3_4/include/backward/Makefile |   17 -
 external/gpl3/gcc/lib/libstdc++-v3_4/include/bits/Makefile     |   45 --
 external/gpl3/gcc/lib/libstdc++-v3_4/include/debug/Makefile    |   17 -
 external/gpl3/gcc/lib/libstdc++-v3_4/include/ext/Makefile      |   22 -
 external/gpl3/gcc/lib/libstdc++-v3_4/include/tr1/Makefile      |   17 -
 external/gpl3/gcc/lib/libsupc++/Makefile                       |   45 ++
 external/gpl3/gcc/lib/libsupc++/Makefile.common                |   19 +
 external/gpl3/gcc/lib/libsupc++4/Makefile                      |   45 --
 external/gpl3/gcc/lib/libsupc++4/Makefile.common               |   19 -
 50 files changed, 1104 insertions(+), 1069 deletions(-)

diffs (truncated from 2373 to 300 lines):

diff -r 6d01c00e2f50 -r f7d2655fcc6a external/gpl3/gcc/lib/crtstuff/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc/lib/crtstuff/Makefile   Tue Jun 21 06:02:25 2011 +0000
@@ -0,0 +1,82 @@
+#      $NetBSD: Makefile,v 1.1 2011/06/21 06:02:25 mrg Exp $
+
+REQUIRETOOLS=  yes
+NOLINT=                # defined
+
+.include <bsd.own.mk>
+
+# If using an external toolchain, we expect crtbegin/crtend to be
+# supplied by that toolchain's run-time support.
+.if !defined(EXTERNAL_TOOLCHAIN) && ${MKGCC} != "no"
+
+DIST=          ${NETBSDSRCDIR}/gnu/dist/gcc4
+GNUHOSTDIST=   ${DIST}
+GCCARCH=       ${NETBSDSRCDIR}/gnu/usr.bin/gcc4/arch/${MACHINE_ARCH}
+
+GALLCFLAGS=    ${G_CRTSTUFF_CFLAGS} ${G_CRTSTUFF_T_CFLAGS}
+
+CPPFLAGS+=     -I${GCCARCH} ${GALLCFLAGS:M-D*} ${GALLCFLAGS:M-I*:N-I.*}
+CPPFLAGS+=     -I.
+
+GCFLAGS=       ${GALLCFLAGS:N-D*:N-I*:N-i*:N./*}
+
+DPSRCS+=       ${.CURDIR}/arch/${MACHINE_ARCH}.mk tconfig.h
+CLEANFILES+=   cs-tconfig.h tconfig.h
+
+.include "${.CURDIR}/arch/${MACHINE_ARCH}.mk"
+
+SRCS+=         crtbegin.c crtend.c
+OBJS+=         crtbegin.o crtend.o
+.if ${MKPIC} != "no"
+SRCS+=         crtbeginS.c crtendS.c
+OBJS+=         crtbeginS.o crtendS.o   # for shared libraries
+SRCS+=         crtbeginT.c
+OBJS+=         crtbeginT.o             # for -static links
+.endif
+
+realall: ${OBJS}
+
+FILES=${OBJS}
+FILESDIR=${LIBDIR}
+
+.PATH: ${DIST}/gcc ${DIST}/gcc/config ${G_CONFIGDIR}
+
+tconfig.h:
+       ${_MKTARGET_CREATE}
+       TM_DEFINES="$(G_tm_defines)" \
+       HEADERS="$(G_xm_file)" XM_DEFINES="$(G_xm_defines)" \
+       TARGET_CPU_DEFAULT="" \
+       ${HOST_SH} $(GNUHOSTDIST)/gcc/mkconfig.sh tconfig.h
+
+# these aren't necessary but are #include'd
+FAKEHEADERS=options.h insn-flags.h insn-constants.h
+${FAKEHEADERS}:
+       ${_MKTARGET_CREATE}
+       touch ${.TARGET}
+DPSRCS+=       ${FAKEHEADERS}
+CLEANFILES+=   ${FAKEHEADERS}
+
+${OBJS}: ${DPSRCS}
+
+.include <bsd.prog.mk>
+
+# Override the default .c -> .o rule.
+.c.o:
+       ${_MKTARGET_COMPILE}
+       ${CC} ${CPPFLAGS} ${GCFLAGS} ${CPUFLAGS} -c ${.IMPSRC} -o ${.TARGET}.o
+       mv ${.TARGET}.o ${.TARGET}
+
+.if (${MACHINE_ARCH} == "mips64eb") || (${MACHINE_ARCH} == "mips64el")
+# Turn off as(1) warnings on MIPS, since warnings are fatal with WARNS>0
+# and GCC configury passes -finhibit-size-directive which causes mips-gas
+# to barf.  Don't know what the real fix for this is...
+#
+# XXX should be COPTS, but that's too early
+CPUFLAGS+=-Wa,--no-warn
+.endif
+
+.else
+
+.include <bsd.prog.mk>                 # do nothing
+
+.endif # ! EXTERNAL_TOOLCHAIN && MKGCC != no
diff -r 6d01c00e2f50 -r f7d2655fcc6a external/gpl3/gcc/lib/crtstuff/crtbegin.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc/lib/crtstuff/crtbegin.c Tue Jun 21 06:02:25 2011 +0000
@@ -0,0 +1,9 @@
+/*     $NetBSD: crtbegin.c,v 1.1 2011/06/21 06:02:25 mrg Exp $ */
+
+/*
+ * Written by Jason R. Thorpe, August 24, 2004.
+ * Public domain.
+ */
+
+#define        CRT_BEGIN
+#include "crtstuff.c"
diff -r 6d01c00e2f50 -r f7d2655fcc6a external/gpl3/gcc/lib/crtstuff/crtbeginS.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc/lib/crtstuff/crtbeginS.c        Tue Jun 21 06:02:25 2011 +0000
@@ -0,0 +1,10 @@
+/*     $NetBSD: crtbeginS.c,v 1.1 2011/06/21 06:02:25 mrg Exp $        */
+
+/*
+ * Written by Jason R. Thorpe, August 24, 2004.
+ * Public domain.
+ */
+
+#define        CRT_BEGIN
+#define        CRTSTUFFS_O
+#include "crtstuff.c"
diff -r 6d01c00e2f50 -r f7d2655fcc6a external/gpl3/gcc/lib/crtstuff/crtbeginT.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc/lib/crtstuff/crtbeginT.c        Tue Jun 21 06:02:25 2011 +0000
@@ -0,0 +1,10 @@
+/*     $NetBSD: crtbeginT.c,v 1.1 2011/06/21 06:02:25 mrg Exp $        */
+
+/*
+ * Written by Jason R. Thorpe, August 24, 2004.
+ * Public domain.
+ */
+
+#define        CRT_BEGIN
+#define        CRTSTUFFT_O
+#include "crtstuff.c"
diff -r 6d01c00e2f50 -r f7d2655fcc6a external/gpl3/gcc/lib/crtstuff/crtend.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc/lib/crtstuff/crtend.c   Tue Jun 21 06:02:25 2011 +0000
@@ -0,0 +1,9 @@
+/*     $NetBSD: crtend.c,v 1.1 2011/06/21 06:02:25 mrg Exp $   */
+
+/*
+ * Written by Jason R. Thorpe, August 24, 2004.
+ * Public domain.
+ */
+
+#define        CRT_END
+#include "crtstuff.c"
diff -r 6d01c00e2f50 -r f7d2655fcc6a external/gpl3/gcc/lib/crtstuff/crtendS.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc/lib/crtstuff/crtendS.c  Tue Jun 21 06:02:25 2011 +0000
@@ -0,0 +1,10 @@
+/*     $NetBSD: crtendS.c,v 1.1 2011/06/21 06:02:25 mrg Exp $  */
+
+/*
+ * Written by Jason R. Thorpe, August 24, 2004.
+ * Public domain.
+ */
+
+#define        CRT_END
+#define        CRTSTUFFS_O
+#include "crtstuff.c"
diff -r 6d01c00e2f50 -r f7d2655fcc6a external/gpl3/gcc/lib/crtstuff4/Makefile
--- a/external/gpl3/gcc/lib/crtstuff4/Makefile  Tue Jun 21 05:34:50 2011 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,82 +0,0 @@
-#      $NetBSD: Makefile,v 1.1.1.1 2011/06/21 02:48:27 mrg Exp $
-
-REQUIRETOOLS=  yes
-NOLINT=                # defined
-
-.include <bsd.own.mk>
-
-# If using an external toolchain, we expect crtbegin/crtend to be
-# supplied by that toolchain's run-time support.
-.if !defined(EXTERNAL_TOOLCHAIN) && ${MKGCC} != "no"
-
-DIST=          ${NETBSDSRCDIR}/gnu/dist/gcc4
-GNUHOSTDIST=   ${DIST}
-GCCARCH=       ${NETBSDSRCDIR}/gnu/usr.bin/gcc4/arch/${MACHINE_ARCH}
-
-GALLCFLAGS=    ${G_CRTSTUFF_CFLAGS} ${G_CRTSTUFF_T_CFLAGS}
-
-CPPFLAGS+=     -I${GCCARCH} ${GALLCFLAGS:M-D*} ${GALLCFLAGS:M-I*:N-I.*}
-CPPFLAGS+=     -I.
-
-GCFLAGS=       ${GALLCFLAGS:N-D*:N-I*:N-i*:N./*}
-
-DPSRCS+=       ${.CURDIR}/arch/${MACHINE_ARCH}.mk tconfig.h
-CLEANFILES+=   cs-tconfig.h tconfig.h
-
-.include "${.CURDIR}/arch/${MACHINE_ARCH}.mk"
-
-SRCS+=         crtbegin.c crtend.c
-OBJS+=         crtbegin.o crtend.o
-.if ${MKPIC} != "no"
-SRCS+=         crtbeginS.c crtendS.c
-OBJS+=         crtbeginS.o crtendS.o   # for shared libraries
-SRCS+=         crtbeginT.c
-OBJS+=         crtbeginT.o             # for -static links
-.endif
-
-realall: ${OBJS}
-
-FILES=${OBJS}
-FILESDIR=${LIBDIR}
-
-.PATH: ${DIST}/gcc ${DIST}/gcc/config ${G_CONFIGDIR}
-
-tconfig.h:
-       ${_MKTARGET_CREATE}
-       TM_DEFINES="$(G_tm_defines)" \
-       HEADERS="$(G_xm_file)" XM_DEFINES="$(G_xm_defines)" \
-       TARGET_CPU_DEFAULT="" \
-       ${HOST_SH} $(GNUHOSTDIST)/gcc/mkconfig.sh tconfig.h
-
-# these aren't necessary but are #include'd
-FAKEHEADERS=options.h insn-flags.h insn-constants.h
-${FAKEHEADERS}:
-       ${_MKTARGET_CREATE}
-       touch ${.TARGET}
-DPSRCS+=       ${FAKEHEADERS}
-CLEANFILES+=   ${FAKEHEADERS}
-
-${OBJS}: ${DPSRCS}
-
-.include <bsd.prog.mk>
-
-# Override the default .c -> .o rule.
-.c.o:
-       ${_MKTARGET_COMPILE}
-       ${CC} ${CPPFLAGS} ${GCFLAGS} ${CPUFLAGS} -c ${.IMPSRC} -o ${.TARGET}.o
-       mv ${.TARGET}.o ${.TARGET}
-
-.if (${MACHINE_ARCH} == "mips64eb") || (${MACHINE_ARCH} == "mips64el")
-# Turn off as(1) warnings on MIPS, since warnings are fatal with WARNS>0
-# and GCC configury passes -finhibit-size-directive which causes mips-gas
-# to barf.  Don't know what the real fix for this is...
-#
-# XXX should be COPTS, but that's too early
-CPUFLAGS+=-Wa,--no-warn
-.endif
-
-.else
-
-.include <bsd.prog.mk>                 # do nothing
-
-.endif # ! EXTERNAL_TOOLCHAIN && MKGCC != no
diff -r 6d01c00e2f50 -r f7d2655fcc6a external/gpl3/gcc/lib/crtstuff4/crtbegin.c
--- a/external/gpl3/gcc/lib/crtstuff4/crtbegin.c        Tue Jun 21 05:34:50 2011 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-/*     $NetBSD: crtbegin.c,v 1.1.1.1 2011/06/21 02:48:27 mrg Exp $     */
-
-/*
- * Written by Jason R. Thorpe, August 24, 2004.
- * Public domain.
- */
-
-#define        CRT_BEGIN
-#include "crtstuff.c"
diff -r 6d01c00e2f50 -r f7d2655fcc6a external/gpl3/gcc/lib/crtstuff4/crtbeginS.c
--- a/external/gpl3/gcc/lib/crtstuff4/crtbeginS.c       Tue Jun 21 05:34:50 2011 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-/*     $NetBSD: crtbeginS.c,v 1.1.1.1 2011/06/21 02:48:27 mrg Exp $    */
-
-/*
- * Written by Jason R. Thorpe, August 24, 2004.
- * Public domain.
- */
-
-#define        CRT_BEGIN
-#define        CRTSTUFFS_O
-#include "crtstuff.c"
diff -r 6d01c00e2f50 -r f7d2655fcc6a external/gpl3/gcc/lib/crtstuff4/crtbeginT.c
--- a/external/gpl3/gcc/lib/crtstuff4/crtbeginT.c       Tue Jun 21 05:34:50 2011 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-/*     $NetBSD: crtbeginT.c,v 1.1.1.1 2011/06/21 02:48:27 mrg Exp $    */
-
-/*
- * Written by Jason R. Thorpe, August 24, 2004.
- * Public domain.
- */
-
-#define        CRT_BEGIN
-#define        CRTSTUFFT_O
-#include "crtstuff.c"
diff -r 6d01c00e2f50 -r f7d2655fcc6a external/gpl3/gcc/lib/crtstuff4/crtend.c
--- a/external/gpl3/gcc/lib/crtstuff4/crtend.c  Tue Jun 21 05:34:50 2011 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-/*     $NetBSD: crtend.c,v 1.1.1.1 2011/06/21 02:48:27 mrg Exp $       */
-
-/*
- * Written by Jason R. Thorpe, August 24, 2004.
- * Public domain.
- */
-
-#define        CRT_END
-#include "crtstuff.c"
diff -r 6d01c00e2f50 -r f7d2655fcc6a external/gpl3/gcc/lib/crtstuff4/crtendS.c
--- a/external/gpl3/gcc/lib/crtstuff4/crtendS.c Tue Jun 21 05:34:50 2011 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-/*     $NetBSD: crtendS.c,v 1.1.1.1 2011/06/21 02:48:27 mrg Exp $      */
-



Home | Main Index | Thread Index | Old Index