CVS commit: src/external/gpl3/gcc/usr.bin/include

2018-02-01 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu Feb  1 21:10:46 UTC 2018

Modified Files:
src/external/gpl3/gcc/usr.bin/include: Makefile
Added Files:
src/external/gpl3/gcc/usr.bin/include/sanitizer: Makefile

Log Message:
Install GCC (gcc) headers for Sanitizers

Sync this code with gcc.old.

PR 52265 by Kamil Rytarowski

Proposed and accepted on tech-toolchain@.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gcc/usr.bin/include/Makefile
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/usr.bin/include/sanitizer/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/include/Makefile
diff -u src/external/gpl3/gcc/usr.bin/include/Makefile:1.9 src/external/gpl3/gcc/usr.bin/include/Makefile:1.10
--- src/external/gpl3/gcc/usr.bin/include/Makefile:1.9	Sun Oct  8 20:40:06 2017
+++ src/external/gpl3/gcc/usr.bin/include/Makefile	Thu Feb  1 21:10:46 2018
@@ -1,7 +1,9 @@
-#	$NetBSD: Makefile,v 1.9 2017/10/08 20:40:06 christos Exp $
+#	$NetBSD: Makefile,v 1.10 2018/02/01 21:10:46 kamil Exp $
 
 .include "../Makefile.inc"
 
+SUBDIR=	sanitizer
+
 .if exists(${.CURDIR}/arch/${GCC_MACHINE_ARCH}.mk)
 .include "${.CURDIR}/arch/${GCC_MACHINE_ARCH}.mk"
 .endif
@@ -25,6 +27,7 @@ CLEANFILES+=	mm_malloc.h
 
 INCSDIR=	/usr/include/gcc-5
 
+.include 
 .include 
 
 .PATH: ${G_EXTRA_HEADERS:H:O:u}

Added files:

Index: src/external/gpl3/gcc/usr.bin/include/sanitizer/Makefile
diff -u /dev/null src/external/gpl3/gcc/usr.bin/include/sanitizer/Makefile:1.1
--- /dev/null	Thu Feb  1 21:10:46 2018
+++ src/external/gpl3/gcc/usr.bin/include/sanitizer/Makefile	Thu Feb  1 21:10:46 2018
@@ -0,0 +1,24 @@
+#	$NetBSD: Makefile,v 1.1 2018/02/01 21:10:46 kamil Exp $
+
+.include "../../../Makefile.gcc_path"
+
+NOOBJ=	#defined
+
+SANITIZER=	${GCCDIST}/libsanitizer
+
+.PATH:	${SANITIZER}/include/sanitizer
+
+INCS=	#
+INCS+=	allocator_interface.h
+INCS+=	asan_interface.h
+INCS+=	common_interface_defs.h
+#INCS+=	dfsan_interface.h # not supported
+#INCS+=	lsan_interface.h # not supported
+#INCS+=	msan_interface.h # not ready in GCC
+INCS+=	tsan_interface_atomic.h
+
+.include 
+
+INCSDIR=	/usr/include/gcc-5/sanitizer
+
+.include 



CVS commit: src/external/gpl3/gcc/usr.bin/include

2017-10-08 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Oct  8 20:40:06 UTC 2017

Modified Files:
src/external/gpl3/gcc/usr.bin/include: Makefile

Log Message:
sync with gcc.old


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gcc/usr.bin/include/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/include/Makefile
diff -u src/external/gpl3/gcc/usr.bin/include/Makefile:1.8 src/external/gpl3/gcc/usr.bin/include/Makefile:1.9
--- src/external/gpl3/gcc/usr.bin/include/Makefile:1.8	Sat Mar 12 18:07:05 2016
+++ src/external/gpl3/gcc/usr.bin/include/Makefile	Sun Oct  8 16:40:06 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.8 2016/03/12 23:07:05 mrg Exp $
+#	$NetBSD: Makefile,v 1.9 2017/10/08 20:40:06 christos Exp $
 
 .include "../Makefile.inc"
 
@@ -8,6 +8,9 @@
 
 INCS= ${G_EXTRA_HEADERS:T}
 
+# Part of the standard headers, the rest of which we replace.
+INCS+=	stdatomic.h
+
 # XXX missed some how
 .if ${GCC_MACHINE_ARCH} == "i386" || ${GCC_MACHINE_ARCH} == "x86_64"
 INCS+=	mm_malloc.h



CVS commit: src/external/gpl3/gcc/usr.bin/include

2014-03-13 Thread Greg Troxel
Module Name:src
Committed By:   gdt
Date:   Thu Mar 13 16:19:24 UTC 2014

Modified Files:
src/external/gpl3/gcc/usr.bin/include: Makefile

Log Message:
Use -f with cp, for 444 sources.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/include/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/include/Makefile
diff -u src/external/gpl3/gcc/usr.bin/include/Makefile:1.6 src/external/gpl3/gcc/usr.bin/include/Makefile:1.7
--- src/external/gpl3/gcc/usr.bin/include/Makefile:1.6	Sat Mar  1 10:00:52 2014
+++ src/external/gpl3/gcc/usr.bin/include/Makefile	Thu Mar 13 16:19:24 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2014/03/01 10:00:52 mrg Exp $
+#	$NetBSD: Makefile,v 1.7 2014/03/13 16:19:24 gdt Exp $
 
 .include ../Makefile.inc
 
@@ -15,7 +15,7 @@ INCS+=	mm_malloc.h
 # XXX we should put this in gcc/config.gcc and regenerate the i386/x86
 # mknative files
 mm_malloc.h: ${DIST}/gcc/config/i386/pmm_malloc.h
-	cp $ ${.TARGET}
+	cp -f $ ${.TARGET}
 
 CLEANFILES+=	mm_malloc.h
 .endif



CVS commit: src/external/gpl3/gcc/usr.bin/include

2011-06-30 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Jul  1 01:22:07 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/include: Makefile

Log Message:
install the posix_memalign version of mm_malloc.h, clean up


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/usr.bin/include/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/include/Makefile
diff -u src/external/gpl3/gcc/usr.bin/include/Makefile:1.2 src/external/gpl3/gcc/usr.bin/include/Makefile:1.3
--- src/external/gpl3/gcc/usr.bin/include/Makefile:1.2	Wed Jun 29 08:37:10 2011
+++ src/external/gpl3/gcc/usr.bin/include/Makefile	Fri Jul  1 01:22:07 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2011/06/29 08:37:10 mrg Exp $
+#	$NetBSD: Makefile,v 1.3 2011/07/01 01:22:07 mrg Exp $
 
 .include ../Makefile.inc
 
@@ -6,30 +6,29 @@
 INCS=	altivec.h
 .elif ${MACHINE_ARCH} == i386 || ${MACHINE_ARCH} == x86_64
 INCS= \
-	mmintrin.h \
-	mm3dnow.h \
-	xmmintrin.h \
-	emmintrin.h \
-	pmmintrin.h \
-	tmmintrin.h \
+	abmintrin.h \
 	ammintrin.h \
-	smmintrin.h \
-	nmmintrin.h \
+	avxintrin.h \
 	bmmintrin.h \
+	emmintrin.h \
 	fma4intrin.h \
-	wmmintrin.h \
+	ia32intrin.h \
 	immintrin.h \
+	lwpintrin.h \
+	mm3dnow.h \
+	mmintrin.h \
+	nmmintrin.h \
+	pmmintrin.h \
+	popcntintrin.h \
+	smmintrin.h \
+	tmmintrin.h \
+	wmmintrin.h \
 	x86intrin.h \
-	avxintrin.h \
+	xmmintrin.h \
 	xopintrin.h \
-	ia32intrin.h \
-	popcntintrin.h \
-	lwpintrin.h \
-	abmintrin.h
+	mm_malloc.h
 
-# XXX this comment is no longer true:
-# We don't have posix_memalign, so use the gmm_malloc.h version.
-mm_malloc.h: ${DIST}/gcc/config/i386/gmm_malloc.h
+mm_malloc.h: ${DIST}/gcc/config/i386/pmm_malloc.h
 	cp $ ${.TARGET}
 
 CLEANFILES+=	mm_malloc.h



CVS commit: src/external/gpl3/gcc/usr.bin/include

2011-06-29 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Jun 29 08:37:10 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/include: Makefile

Log Message:
GCC 4.5 x86 installs a bunch more platform header files


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/usr.bin/include/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/include/Makefile
diff -u src/external/gpl3/gcc/usr.bin/include/Makefile:1.1 src/external/gpl3/gcc/usr.bin/include/Makefile:1.2
--- src/external/gpl3/gcc/usr.bin/include/Makefile:1.1	Tue Jun 21 06:03:15 2011
+++ src/external/gpl3/gcc/usr.bin/include/Makefile	Wed Jun 29 08:37:10 2011
@@ -1,12 +1,33 @@
-#	$NetBSD: Makefile,v 1.1 2011/06/21 06:03:15 mrg Exp $
+#	$NetBSD: Makefile,v 1.2 2011/06/29 08:37:10 mrg Exp $
 
 .include ../Makefile.inc
 
 .if ${MACHINE_CPU} == powerpc
 INCS=	altivec.h
 .elif ${MACHINE_ARCH} == i386 || ${MACHINE_ARCH} == x86_64
-INCS=	emmintrin.h mmintrin.h pmmintrin.h xmmintrin.h mm_malloc.h
+INCS= \
+	mmintrin.h \
+	mm3dnow.h \
+	xmmintrin.h \
+	emmintrin.h \
+	pmmintrin.h \
+	tmmintrin.h \
+	ammintrin.h \
+	smmintrin.h \
+	nmmintrin.h \
+	bmmintrin.h \
+	fma4intrin.h \
+	wmmintrin.h \
+	immintrin.h \
+	x86intrin.h \
+	avxintrin.h \
+	xopintrin.h \
+	ia32intrin.h \
+	popcntintrin.h \
+	lwpintrin.h \
+	abmintrin.h
 
+# XXX this comment is no longer true:
 # We don't have posix_memalign, so use the gmm_malloc.h version.
 mm_malloc.h: ${DIST}/gcc/config/i386/gmm_malloc.h
 	cp $ ${.TARGET}