diff --git a/lang/egcs/stable/patches/patch-gcc_config_gcc b/lang/egcs/stable/patches/patch-gcc_config_gcc index d27d12794f3..fdfdd4f99f7 100644 --- a/lang/egcs/stable/patches/patch-gcc_config_gcc +++ b/lang/egcs/stable/patches/patch-gcc_config_gcc @@ -1,6 +1,6 @@ -$OpenBSD: patch-gcc_config_gcc,v 1.8 2002/05/29 23:00:27 espie Exp $ +$OpenBSD: patch-gcc_config_gcc,v 1.9 2002/05/30 12:20:09 espie Exp $ --- gcc/config.gcc.orig Thu May 2 23:28:49 2002 -+++ gcc/config.gcc Thu May 30 00:56:24 2002 ++++ gcc/config.gcc Thu May 30 11:52:29 2002 @@ -579,6 +579,7 @@ alpha*-*-openbsd*) # default x-alpha is only appropriate for dec-osf. target_cpu_default="MASK_GAS" @@ -17,7 +17,7 @@ $OpenBSD: patch-gcc_config_gcc,v 1.8 2002/05/29 23:00:27 espie Exp $ tmake_file="${tmake_file} rs6000/t-rs6000 rs6000/t-openbsd" extra_headers= ;; -@@ -3086,6 +3088,11 @@ sparc-*-openbsd*) +@@ -3086,6 +3088,13 @@ sparc-*-openbsd*) tmake_file="t-libc-ok t-openbsd sparc/t-openbsd" # we need collect2 until our bug is fixed... use_collect2=yes @@ -26,6 +26,8 @@ $OpenBSD: patch-gcc_config_gcc,v 1.8 2002/05/29 23:00:27 espie Exp $ + tm_file="sparc/openbsd1-64.h sparc/sparc.h elfos.h svr4.h sparc/sysv4.h sparc/sol2.h sparc/sp64-elf.h openbsd.h sparc/openbsd64.h" + xm_file=sparc/xm-sp64.h + gas=yes gnu_ld=yes ++ with_cpu=ultrasparc ++ float_format=i128 ;; sparc-*-bsd*) tm_file="${tm_file} sparc/bsd.h" diff --git a/lang/egcs/stable/patches/patch-gcc_config_sparc_openbsd1-64_h b/lang/egcs/stable/patches/patch-gcc_config_sparc_openbsd1-64_h index 4e1509c74db..6f84e580550 100644 --- a/lang/egcs/stable/patches/patch-gcc_config_sparc_openbsd1-64_h +++ b/lang/egcs/stable/patches/patch-gcc_config_sparc_openbsd1-64_h @@ -1,31 +1,27 @@ -$OpenBSD: patch-gcc_config_sparc_openbsd1-64_h,v 1.1 2002/05/29 14:10:40 espie Exp $ ---- gcc/config/sparc/openbsd1-64.h.orig Wed May 29 16:02:25 2002 -+++ gcc/config/sparc/openbsd1-64.h Wed May 29 16:03:04 2002 -@@ -0,0 +1,28 @@ +$OpenBSD: patch-gcc_config_sparc_openbsd1-64_h,v 1.2 2002/05/30 12:20:09 espie Exp $ +--- gcc/config/sparc/openbsd1-64.h.orig Thu May 30 11:34:47 2002 ++++ gcc/config/sparc/openbsd1-64.h Thu May 30 12:00:42 2002 +@@ -0,0 +1,24 @@ +/* Configuration file for sparc64 OpenBSD target. + Copyright (C) 1999 Free Software Foundation, Inc. + -+This file is part of GNU CC. ++This file is part of GCC. + -+GNU CC is free software; you can redistribute it and/or modify ++GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + -+GNU CC is distributed in the hope that it will be useful, ++GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License -+along with GNU CC; see the file COPYING. If not, write to ++along with GCC; see the file COPYING. If not, write to +the Free Software Foundation, 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. */ + -+#ifndef TARGET_CPU_DEFAULT -+#define TARGET_CPU_DEFAULT TARGET_CPU_ultrasparc -+#endif -+ +#define OBSD_HAS_DECLARE_FUNCTION_NAME +#define OBSD_HAS_DECLARE_FUNCTION_SIZE +#define OBSD_HAS_DECLARE_OBJECT diff --git a/lang/egcs/stable/patches/patch-gcc_config_sparc_openbsd64_h b/lang/egcs/stable/patches/patch-gcc_config_sparc_openbsd64_h index fd7d4e3c080..e13a52a9d13 100644 --- a/lang/egcs/stable/patches/patch-gcc_config_sparc_openbsd64_h +++ b/lang/egcs/stable/patches/patch-gcc_config_sparc_openbsd64_h @@ -1,32 +1,30 @@ -$OpenBSD: patch-gcc_config_sparc_openbsd64_h,v 1.5 2002/05/29 15:43:13 espie Exp $ ---- gcc/config/sparc/openbsd64.h.orig Wed May 29 17:36:48 2002 -+++ gcc/config/sparc/openbsd64.h Wed May 29 17:38:38 2002 -@@ -0,0 +1,81 @@ +$OpenBSD: patch-gcc_config_sparc_openbsd64_h,v 1.6 2002/05/30 12:20:09 espie Exp $ +--- gcc/config/sparc/openbsd64.h.orig Thu May 30 11:34:47 2002 ++++ gcc/config/sparc/openbsd64.h Thu May 30 12:00:36 2002 +@@ -0,0 +1,75 @@ +/* Configuration file for sparc64 OpenBSD target. + Copyright (C) 1999 Free Software Foundation, Inc. + -+This file is part of GNU CC. ++This file is part of GCC. + -+GNU CC is free software; you can redistribute it and/or modify ++GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + -+GNU CC is distributed in the hope that it will be useful, ++GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License -+along with GNU CC; see the file COPYING. If not, write to ++along with GCC; see the file COPYING. If not, write to +the Free Software Foundation, 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. */ + +#undef TARGET_VERSION +#define TARGET_VERSION fprintf (stderr, " (sparc64 OpenBSD ELF)") + -+/* A 64 but v9 complier in a Medium/Mid code model. */ -+ +/* XXX - do we really want HARD_QUAD? */ +#undef TARGET_DEFAULT +#define TARGET_DEFAULT \ @@ -72,10 +70,6 @@ $OpenBSD: patch-gcc_config_sparc_openbsd64_h,v 1.5 2002/05/29 15:43:13 espie Exp + %{assert*} \ + %{!dynamic-linker:-dynamic-linker /usr/libexec/ld.so}" + -+/* For profiled binaries we have to change the memory model. */ -+#undef CC1_SPEC -+#define CC1_SPEC "%{p*:-mcmodel=medlow} %{p:-mcmodel=medlow}" -+ +/* As an elf system, we need crtbegin/crtend stuff. */ +#undef STARTFILE_SPEC +#define STARTFILE_SPEC "\ diff --git a/lang/egcs/stable/patches/patch-libstdc++-v3_configure_in b/lang/egcs/stable/patches/patch-libstdc++-v3_configure_in index 60e74966be4..ba774082c59 100644 --- a/lang/egcs/stable/patches/patch-libstdc++-v3_configure_in +++ b/lang/egcs/stable/patches/patch-libstdc++-v3_configure_in @@ -1,6 +1,6 @@ -$OpenBSD: patch-libstdc++-v3_configure_in,v 1.4 2002/05/29 23:00:27 espie Exp $ +$OpenBSD: patch-libstdc++-v3_configure_in,v 1.5 2002/05/30 12:20:09 espie Exp $ --- libstdc++-v3/configure.in.orig Wed May 8 06:27:59 2002 -+++ libstdc++-v3/configure.in Wed May 29 17:36:49 2002 ++++ libstdc++-v3/configure.in Thu May 30 11:34:48 2002 @@ -247,7 +247,7 @@ else # Check for available headers. diff --git a/lang/egcs/stable/patches/patch-libstdc++-v3_src_Makefile_in b/lang/egcs/stable/patches/patch-libstdc++-v3_src_Makefile_in index 563743d26b0..21d3312c4c5 100644 --- a/lang/egcs/stable/patches/patch-libstdc++-v3_src_Makefile_in +++ b/lang/egcs/stable/patches/patch-libstdc++-v3_src_Makefile_in @@ -1,5 +1,5 @@ --- libstdc++-v3/src/Makefile.in.orig Tue Apr 2 04:47:04 2002 -+++ libstdc++-v3/src/Makefile.in Wed May 29 17:36:49 2002 ++++ libstdc++-v3/src/Makefile.in Thu May 30 11:34:48 2002 @@ -154,7 +154,7 @@ mkinstalldirs = $(SHELL) $(toplevel_srcd CXX = @glibcpp_CXX@ toolexecdir = @glibcpp_toolexecdir@