summaryrefslogtreecommitdiff
path: root/lang/gnat-aux/files
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2012-03-02 16:00:58 +0000
committermarino <marino@pkgsrc.org>2012-03-02 16:00:58 +0000
commit4a1e84e3925127d7d065c07787dd4b71e9294efb (patch)
treeefcc159696430220cbeb3bf58ac7e01abb8397c0 /lang/gnat-aux/files
parenta6047605feb03a749810d325885757c2ee86fa08 (diff)
downloadpkgsrc-4a1e84e3925127d7d065c07787dd4b71e9294efb.tar.gz
lang/gnat-aux: Sync with gcc 4.6.3
GCC 4.6.3 was released 01 MAR 2012. It is a bug-fix release for regressions and serious bugs. Seventy-four bug reports were addressed. The link is available at bottom of http://gcc.gnu.org/gcc-4.6/changes.html Unlike release 4.6.2, a few Ada issues were among those addressed.
Diffstat (limited to 'lang/gnat-aux/files')
-rw-r--r--lang/gnat-aux/files/diff-ada14
-rw-r--r--lang/gnat-aux/files/diff-core57
2 files changed, 49 insertions, 22 deletions
diff --git a/lang/gnat-aux/files/diff-ada b/lang/gnat-aux/files/diff-ada
index ce49e37fb44..9d4a8cf5f6f 100644
--- a/lang/gnat-aux/files/diff-ada
+++ b/lang/gnat-aux/files/diff-ada
@@ -782,9 +782,9 @@
+ * will be copied. Always NUL terminates (unless siz == 0).
+ * Returns strlen(src); if retval >= siz, truncation occurred.
+ *
-+ * $OpenBSD: strlcpy.c,v 1.11 2006/05/05 15:27:38 millert Exp $
-+ * $FreeBSD: src/lib/libc/string/strlcpy.c,v 1.10 2008/10/19 delphij Exp $
-+ * $DragonFly: src/lib/libc/string/strlcpy.c,v 1.4 2005/09/18 asmodai Exp $
++ * OpenBSD: strlcpy.c,v 1.11 2006/05/05 15:27:38 millert Exp
++ * FreeBSD: src/lib/libc/string/strlcpy.c,v 1.10 2008/10/19 delphij Exp
++ * DragonFly: src/lib/libc/string/strlcpy.c,v 1.4 2005/09/18 asmodai Exp
+ */
+
+size_t
@@ -823,9 +823,9 @@
+ * Returns strlen(src) + MIN(siz, strlen(initial dst)).
+ * If retval >= siz, truncation occurred.
+ *
-+ * $OpenBSD: strlcat.c,v 1.13 2005/08/08 08:05:37 espie Exp $
-+ * $FreeBSD: src/lib/libc/string/strlcat.c,v 1.11 2009/01/12 delphij Exp $
-+ * $DragonFly: src/lib/libc/string/strlcat.c,v 1.4 2004/12/18 asmodai Exp $
++ * OpenBSD: strlcat.c,v 1.13 2005/08/08 08:05:37 espie Exp
++ * FreeBSD: src/lib/libc/string/strlcat.c,v 1.11 2009/01/12 delphij Exp
++ * DragonFly: src/lib/libc/string/strlcat.c,v 1.4 2004/12/18 asmodai Exp
+ */
+
+size_t
@@ -2439,7 +2439,7 @@
/* VxWorks Section */
/*******************/
-@@ -2320,6 +2392,7 @@
+@@ -2341,6 +2413,7 @@
#if defined (_WIN32) || defined (__INTERIX) \
|| defined (__Lynx__) || defined(__NetBSD__) || defined(__FreeBSD__) \
diff --git a/lang/gnat-aux/files/diff-core b/lang/gnat-aux/files/diff-core
index d6392393d3c..9cb95cdd664 100644
--- a/lang/gnat-aux/files/diff-core
+++ b/lang/gnat-aux/files/diff-core
@@ -290,7 +290,7 @@
+#define UINTPTR_TYPE (LONG_TYPE_SIZE == 64 ? UINT64_TYPE : UINT32_TYPE)
--- /dev/null
+++ gcc/config/dragonfly.h
-@@ -0,0 +1,141 @@
+@@ -0,0 +1,139 @@
+/* Base configuration file for all DragonFly targets.
+ Copyright (C) 1999, 2000, 2001, 2007, 2008 Free Software Foundation, Inc.
+ Copyright (C) 2010-2012 John R. Marino <www.dragonlace.net>
@@ -388,12 +388,10 @@
+#undef LINK_SPEC
+#define LINK_SPEC DFBSD_LINK_SPEC
+
-+#define DFBSD_DYNAMIC_LINKER \
-+ "/usr/libexec/ld-elf.so.2"
++#define DFBSD_DYNAMIC_LINKER "/usr/libexec/ld-elf.so.2"
+
+#if defined(HAVE_LD_EH_FRAME_HDR)
-+#define LINK_EH_SPEC \
-+ "%{!static:--eh-frame-hdr}"
++#define LINK_EH_SPEC "--eh-frame-hdr"
+#endif
+
+/* Use --as-needed -lgcc_s for eh support. */
@@ -1157,11 +1155,11 @@
/* Put all *tf routines in libgcc. */
#undef LIBGCC2_HAS_TF_MODE
-@@ -147,3 +148,39 @@
- #if FBSD_MAJOR >= 6
+@@ -148,5 +149,38 @@
#define SUBTARGET32_DEFAULT_CPU "i486"
#endif
-+
+
+-#define TARGET_ASM_FILE_END file_end_indicate_exec_stack
+/* Define location of OS-specific unwind support configuration. */
+#define MD_UNWIND_SUPPORT "config/i386/freebsd-unwind.h"
+
@@ -1196,7 +1194,7 @@
+ (void) mprotect (page, ends - page, perms); \
+}
+
-+
+
--- gcc/config/i386/netbsd-elf.h.orig
+++ gcc/config/i386/netbsd-elf.h
@@ -2,6 +2,7 @@
@@ -1787,7 +1785,7 @@
#This file is part of GCC.
-@@ -166,6 +167,8 @@
+@@ -157,6 +158,8 @@
;;
*-*-openbsd*)
;;
@@ -1796,7 +1794,7 @@
*-*-rtems*)
;;
*-*-vxworks*)
-@@ -287,6 +290,14 @@
+@@ -278,6 +281,14 @@
x86_64-*-freebsd*)
tmake_file="${tmake_file} i386/t-freebsd"
;;
@@ -1811,7 +1809,7 @@
i[34567]86-*-netbsdelf*)
;;
i[34567]86-*-netbsd*)
-@@ -297,6 +308,8 @@
+@@ -288,6 +299,8 @@
;;
i[34567]86-*-openbsd*)
;;
@@ -1820,7 +1818,7 @@
i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | i[34567]86-*-gnu*)
extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm"
-@@ -628,6 +641,9 @@
+@@ -619,6 +632,9 @@
tmake_file="${tmake_file} t-softfp i386/${host_address}/t-fprules-softfp"
fi
;;
@@ -1837,7 +1835,7 @@
+SHLIB_MAPFILES += $(srcdir)/config/i386/libgcc-bsd.ver
--- gcc/configure.orig
+++ gcc/configure
-@@ -25843,6 +25843,20 @@
+@@ -25833,6 +25833,20 @@
gcc_cv_target_dl_iterate_phdr=no
fi
;;
@@ -1890,9 +1888,38 @@
$(DESTDIR)$(man7dir)/%$(man7ext): doc/%.7 installdirs
-rm -f $@
+--- libiberty/getpagesize.c.orig
++++ libiberty/getpagesize.c
+@@ -20,6 +20,7 @@
+
+ */
+
++#ifndef __ANDROID__
+ #ifndef VMS
+
+ #include "config.h"
+@@ -88,3 +89,4 @@
+ }
+
+ #endif /* VMS */
++#endif /* __ANDROID__ */
+--- libiberty/setproctitle.c.orig
++++ libiberty/setproctitle.c
+@@ -40,9 +40,11 @@
+ void
+ setproctitle (const char *name ATTRIBUTE_UNUSED, ...)
+ {
++#ifndef __ANDROID__
+ #ifdef PR_SET_NAME
+ /* On Linux this sets the top visible "comm", but not necessarily
+ the name visible in ps. */
+ prctl (PR_SET_NAME, name);
+ #endif
++#endif
+ }
--- configure.orig
+++ configure
-@@ -14200,7 +14200,7 @@
+@@ -14196,7 +14196,7 @@
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5