diff options
Diffstat (limited to 'lang/llvm-gcc4/files')
-rw-r--r-- | lang/llvm-gcc4/files/patch-.._gcc_Makefile.in | 24 | ||||
-rw-r--r-- | lang/llvm-gcc4/files/patch-.._gcc_common.opt | 16 | ||||
-rw-r--r-- | lang/llvm-gcc4/files/patch-.._gcc_config.gcc | 31 | ||||
-rw-r--r-- | lang/llvm-gcc4/files/patch-.._gcc_config_i386_i386.c | 11 | ||||
-rw-r--r-- | lang/llvm-gcc4/files/patch-.._gcc_gthr-posix.h | 35 |
5 files changed, 0 insertions, 117 deletions
diff --git a/lang/llvm-gcc4/files/patch-.._gcc_Makefile.in b/lang/llvm-gcc4/files/patch-.._gcc_Makefile.in deleted file mode 100644 index cbd6055f1070..000000000000 --- a/lang/llvm-gcc4/files/patch-.._gcc_Makefile.in +++ /dev/null @@ -1,24 +0,0 @@ - -$FreeBSD$ - ---- ../gcc/Makefile.in.orig -+++ ../gcc/Makefile.in -@@ -3805,7 +3805,7 @@ - echo rm -f $(@D)/* - $(TEXI2HTML) -I $(abs_docdir) -I $(abs_docdir)/include -o $(@D) $< - --MANFILES = doc/gcov.1 doc/cpp.1 doc/gcc.1 doc/gfdl.7 doc/gpl.7 doc/fsf-funding.7 -+MANFILES = doc/gcov.1 doc/cpp.1 doc/gcc.1 - - generated-manpages: man - -@@ -4118,9 +4118,6 @@ - $(DESTDIR)$(man1dir)/$(GCC_INSTALL_NAME)$(man1ext) \ - $(DESTDIR)$(man1dir)/$(CPP_INSTALL_NAME)$(man1ext) \ - $(DESTDIR)$(man1dir)/$(GCOV_INSTALL_NAME)$(man1ext) \ -- $(DESTDIR)$(man7dir)/fsf-funding$(man7ext) \ -- $(DESTDIR)$(man7dir)/gfdl$(man7ext) \ -- $(DESTDIR)$(man7dir)/gpl$(man7ext) - - $(DESTDIR)$(man7dir)/%$(man7ext): doc/%.7 installdirs - -rm -f $@ diff --git a/lang/llvm-gcc4/files/patch-.._gcc_common.opt b/lang/llvm-gcc4/files/patch-.._gcc_common.opt deleted file mode 100644 index 22cdc80ddb4f..000000000000 --- a/lang/llvm-gcc4/files/patch-.._gcc_common.opt +++ /dev/null @@ -1,16 +0,0 @@ - -$FreeBSD$ - ---- ../gcc/common.opt.orig -+++ ../gcc/common.opt -@@ -730,8 +730,8 @@ - - ; APPLE LOCAL begin optimization pragmas 3124235/3420242 - fmath-errno --Common Report Var(flag_errno_math) Init(1) PerFunc --Set errno after built-in math functions -+Common Report Var(flag_errno_math) Init(0) PerFunc -+FreeBSD does not set errno after built-in math functions - ; APPLE LOCAL end optimization pragmas 3124235/3420242 - - fmem-report diff --git a/lang/llvm-gcc4/files/patch-.._gcc_config.gcc b/lang/llvm-gcc4/files/patch-.._gcc_config.gcc deleted file mode 100644 index 092883adc7a2..000000000000 --- a/lang/llvm-gcc4/files/patch-.._gcc_config.gcc +++ /dev/null @@ -1,31 +0,0 @@ ---- ../gcc/config.gcc.orig 2011-02-23 22:07:15.000000000 +0000 -+++ ../gcc/config.gcc 2011-02-24 10:11:03.000000000 +0000 -@@ -1131,9 +1131,11 @@ - ;; - i[34567]86-*-freebsd*) - tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/freebsd.h" -+ tmake_file="$(tmake_file) i386/t-crtstuff" - ;; - x86_64-*-freebsd*) - tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/x86-64.h i386/freebsd.h i386/freebsd64.h" -+ tmake_file="$(tmake_file) i386/t-crtstuff" - ;; - i[34567]86-*-netbsdelf*) - tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/netbsd-elf.h" -@@ -2629,6 +2631,16 @@ - # A Cirrus ARM variant. - with_cpu="ep9312" - ;; -+ i386-*-freebsd*) -+ if test $fbsd_major -ge 6; then -+ arch=i486 -+ else -+ arch=i386 -+ fi -+ cpu=generic -+ arch_without_sse2=yes -+ arch_without_64bit=yes -+ ;; - # APPLE LOCAL begin mainline 2006-04-19 4434601 - i386-*-*) - with_cpu=i386 diff --git a/lang/llvm-gcc4/files/patch-.._gcc_config_i386_i386.c b/lang/llvm-gcc4/files/patch-.._gcc_config_i386_i386.c deleted file mode 100644 index 28c5e57b8d69..000000000000 --- a/lang/llvm-gcc4/files/patch-.._gcc_config_i386_i386.c +++ /dev/null @@ -1,11 +0,0 @@ ---- ../gcc/config/i386/i386.c.orig 2011-02-20 21:45:59.000000000 +0000 -+++ ../gcc/config/i386/i386.c 2011-02-20 21:47:35.000000000 +0000 -@@ -1762,7 +1762,7 @@ - "-mtune=generic instead as appropriate."); - - if (!ix86_arch_string) -- ix86_arch_string = TARGET_64BIT ? "x86-64" : "i386"; -+ ix86_arch_string = TARGET_64BIT ? "x86-64" : "i486"; - /* APPLE LOCAL begin mainline */ - else - ix86_arch_specified = 1; diff --git a/lang/llvm-gcc4/files/patch-.._gcc_gthr-posix.h b/lang/llvm-gcc4/files/patch-.._gcc_gthr-posix.h deleted file mode 100644 index 6f8f3dd0a15a..000000000000 --- a/lang/llvm-gcc4/files/patch-.._gcc_gthr-posix.h +++ /dev/null @@ -1,35 +0,0 @@ ---- ../gcc/gthr-posix.h 2007/08/14 02:45:23 171825 -+++ ../gcc/gthr-posix.h 2008/04/21 20:40:42 178388 -@@ -152,9 +152,12 @@ - it is passed so we cannot pretend that the interface is active if -pthreads - is not specified. On Solaris 2.5.1, the interface is not exposed at all so - we need to play the usual game with weak symbols. On Solaris 10 and up, a -- working interface is always exposed. */ -+ working interface is always exposed. On FreeBSD 6 and later, libc also -+ exposes a dummy POSIX threads interface, similar to what Solaris 2.6 up -+ to 9 does. FreeBSD >= 700014 even provides a pthread_cancel stub in libc, -+ which means the alternate __gthread_active_p below cannot be used there. */ - --#if defined(__sun) && defined(__svr4__) -+#if defined(__FreeBSD__) || (defined(__sun) && defined(__svr4__)) - - static volatile int __gthread_active = -1; - -@@ -197,7 +200,7 @@ - return __gthread_active_latest_value != 0; - } - --#else /* not Solaris */ -+#else /* neither FreeBSD nor Solaris */ - - static inline int - __gthread_active_p (void) -@@ -207,7 +210,7 @@ - return __gthread_active_ptr != 0; - } - --#endif /* Solaris */ -+#endif /* FreeBSD or Solaris */ - - #else /* not SUPPORTS_WEAK */ - |