summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2014-01-18 07:22:36 +0000
committerRyan Hill <dirtyepic@gentoo.org>2014-01-18 07:22:36 +0000
commit9a8ee42f54272ba573113d71a0ee434f016a828f (patch)
tree32f376da7c150426461197d7301351fca5e16cad /sys-devel
parentVersion bump. (diff)
downloadgentoo-2-9a8ee42f54272ba573113d71a0ee434f016a828f.tar.gz
gentoo-2-9a8ee42f54272ba573113d71a0ee434f016a828f.tar.bz2
gentoo-2-9a8ee42f54272ba573113d71a0ee434f016a828f.zip
Move old ebuilds to toolchain overlay and drop unused patches.
Signed-off-by: Ryan Hill <dirtyepic@gentoo.org> (Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key 957A8463)
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/gcc/ChangeLog27
-rw-r--r--sys-devel/gcc/files/3.2.1/gcc31-loop-load-final-value.patch79
-rw-r--r--sys-devel/gcc/files/3.2.1/gcc32-arm-disable-mathf.patch142
-rw-r--r--sys-devel/gcc/files/3.2.1/gcc32-arm-reload1-fix.patch21
-rw-r--r--sys-devel/gcc/files/3.2.1/gcc32-athlon-alignment.patch11
-rw-r--r--sys-devel/gcc/files/3.2.1/gcc32-sparc32-hack.patch66
-rw-r--r--sys-devel/gcc/files/3.2.1/gcc32-strip-dotdot.patch84
-rw-r--r--sys-devel/gcc/files/3.2.2/gcc-3.2.2-cross-compile.patch11
-rw-r--r--sys-devel/gcc/files/3.2.2/gcc-3.2.2-no-COPYING-cross-compile.patch40
-rw-r--r--sys-devel/gcc/files/3.2.2/gcc32-pr7768.patch65
-rw-r--r--sys-devel/gcc/files/3.2.2/gcc32-pr8213.patch69
-rw-r--r--sys-devel/gcc/files/3.2.2/gcc322-ggc_page-speedup.patch17
-rw-r--r--sys-devel/gcc/files/3.2.3/gcc-3.2.3-mergel-fix.patch61
-rw-r--r--sys-devel/gcc/files/3.2.3/gcc-3.2.3-move-propolice-into-glibc.patch120
-rw-r--r--sys-devel/gcc/files/3.2.3/gcc-3.2.3-poisoned-malloc.patch41
-rw-r--r--sys-devel/gcc/files/3.2.3/gcc-323-propolice-version.patch17
-rw-r--r--sys-devel/gcc/files/3.2.3/gcc32-c++-classfn-member-template.patch108
-rw-r--r--sys-devel/gcc/files/3.2.3/gcc32-mklibgcc-serialize-crtfiles.patch27
-rw-r--r--sys-devel/gcc/files/3.2.3/gcc323-gentoo-branding.patch42
-rw-r--r--sys-devel/gcc/files/3.2.3/gcc323-hppa-default_assemble_visibility.patch17
-rw-r--r--sys-devel/gcc/files/3.3.6/gcc-3.3.6-cross-compile.patch62
-rw-r--r--sys-devel/gcc/files/3.4.0/gcc-3.4.0-cc1-no-stack-protector.patch11
-rw-r--r--sys-devel/gcc/files/3.4.1/gcc-3.4.1-r2-gentoo-branding.patch17
-rw-r--r--sys-devel/gcc/files/mkinfodir233
-rw-r--r--sys-devel/gcc/gcc-4.3.3-r2.ebuild44
-rw-r--r--sys-devel/gcc/gcc-4.3.4.ebuild44
-rw-r--r--sys-devel/gcc/gcc-4.3.5.ebuild44
-rw-r--r--sys-devel/gcc/gcc-4.4.2.ebuild45
-rw-r--r--sys-devel/gcc/gcc-4.4.3-r3.ebuild46
-rw-r--r--sys-devel/gcc/gcc-4.4.4-r2.ebuild47
-rw-r--r--sys-devel/gcc/gcc-4.4.5.ebuild45
-rw-r--r--sys-devel/gcc/gcc-4.4.6-r1.ebuild45
32 files changed, 26 insertions, 1722 deletions
diff --git a/sys-devel/gcc/ChangeLog b/sys-devel/gcc/ChangeLog
index 50ed25034558..b42cfe30e72b 100644
--- a/sys-devel/gcc/ChangeLog
+++ b/sys-devel/gcc/ChangeLog
@@ -1,6 +1,31 @@
# ChangeLog for sys-devel/gcc
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v 1.996 2014/01/17 03:15:53 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v 1.997 2014/01/18 07:22:35 dirtyepic Exp $
+
+ 18 Jan 2014; Ryan Hill <dirtyepic@gentoo.org> -gcc-4.3.3-r2.ebuild,
+ -gcc-4.3.4.ebuild, -gcc-4.3.5.ebuild, -gcc-4.4.2.ebuild,
+ -gcc-4.4.3-r3.ebuild, -gcc-4.4.4-r2.ebuild, -gcc-4.4.5.ebuild,
+ -gcc-4.4.6-r1.ebuild, -files/3.2.1/gcc31-loop-load-final-value.patch,
+ -files/3.2.1/gcc32-arm-disable-mathf.patch,
+ -files/3.2.1/gcc32-arm-reload1-fix.patch,
+ -files/3.2.1/gcc32-athlon-alignment.patch,
+ -files/3.2.1/gcc32-sparc32-hack.patch, -files/3.2.1/gcc32-strip-dotdot.patch,
+ -files/3.2.2/gcc-3.2.2-cross-compile.patch,
+ -files/3.2.2/gcc-3.2.2-no-COPYING-cross-compile.patch,
+ -files/3.2.2/gcc32-pr7768.patch, -files/3.2.2/gcc32-pr8213.patch,
+ -files/3.2.2/gcc322-ggc_page-speedup.patch,
+ -files/3.2.3/gcc-3.2.3-mergel-fix.patch,
+ -files/3.2.3/gcc-3.2.3-move-propolice-into-glibc.patch,
+ -files/3.2.3/gcc-3.2.3-poisoned-malloc.patch,
+ -files/3.2.3/gcc-323-propolice-version.patch,
+ -files/3.2.3/gcc32-c++-classfn-member-template.patch,
+ -files/3.2.3/gcc32-mklibgcc-serialize-crtfiles.patch,
+ -files/3.2.3/gcc323-gentoo-branding.patch,
+ -files/3.2.3/gcc323-hppa-default_assemble_visibility.patch,
+ -files/3.3.6/gcc-3.3.6-cross-compile.patch,
+ -files/3.4.0/gcc-3.4.0-cc1-no-stack-protector.patch,
+ -files/3.4.1/gcc-3.4.1-r2-gentoo-branding.patch, -files/mkinfodir:
+ Move old ebuilds to toolchain overlay and drop unused patches.
17 Jan 2014; Mike Frysinger <vapier@gentoo.org> gcc-4.8.2.ebuild:
Add arm64 keywords.
diff --git a/sys-devel/gcc/files/3.2.1/gcc31-loop-load-final-value.patch b/sys-devel/gcc/files/3.2.1/gcc31-loop-load-final-value.patch
deleted file mode 100644
index 525262c43f41..000000000000
--- a/sys-devel/gcc/files/3.2.1/gcc31-loop-load-final-value.patch
+++ /dev/null
@@ -1,79 +0,0 @@
-2002-04-22 Jan Hubicka <jh@suse.cz>
-
- * loop.c (gen_load_of_final_value): New.
- (loop_givs_rescan, strength_reduce, check_dbra_loop): Use it.
-
---- gcc-3.1-20020515/gcc/loop.c.loop-load-final-value 2002-05-17 00:15:52.000000000 +0200
-+++ gcc-3.1-20020515/gcc/loop.c 2002-05-17 00:32:20.000000000 +0200
-@@ -354,6 +354,7 @@ static rtx loop_insn_sink_or_swim PARAMS
- static void loop_dump_aux PARAMS ((const struct loop *, FILE *, int));
- static void loop_delete_insns PARAMS ((rtx, rtx));
- static HOST_WIDE_INT remove_constant_addition PARAMS ((rtx *));
-+static rtx gen_load_of_final_value PARAMS ((rtx, rtx));
- void debug_ivs PARAMS ((const struct loop *));
- void debug_iv_class PARAMS ((const struct iv_class *));
- void debug_biv PARAMS ((const struct induction *));
-@@ -4797,7 +4798,8 @@ loop_givs_rescan (loop, bl, reg_map)
- v->mult_val, v->add_val, v->dest_reg);
- else if (v->final_value)
- loop_insn_sink_or_swim (loop,
-- gen_move_insn (v->dest_reg, v->final_value));
-+ gen_load_of_final_value (v->dest_reg,
-+ v->final_value));
-
- if (loop_dump_stream)
- {
-@@ -5154,8 +5156,9 @@ strength_reduce (loop, flags)
- value, so we don't need another one. We can't calculate the
- proper final value for such a biv here anyways. */
- if (bl->final_value && ! bl->reversed)
-- loop_insn_sink_or_swim (loop, gen_move_insn
-- (bl->biv->dest_reg, bl->final_value));
-+ loop_insn_sink_or_swim (loop,
-+ gen_load_of_final_value (bl->biv->dest_reg,
-+ bl->final_value));
-
- if (loop_dump_stream)
- fprintf (loop_dump_stream, "Reg %d: biv eliminated\n",
-@@ -5164,8 +5167,8 @@ strength_reduce (loop, flags)
- /* See above note wrt final_value. But since we couldn't eliminate
- the biv, we must set the value after the loop instead of before. */
- else if (bl->final_value && ! bl->reversed)
-- loop_insn_sink (loop, gen_move_insn (bl->biv->dest_reg,
-- bl->final_value));
-+ loop_insn_sink (loop, gen_load_of_final_value (bl->biv->dest_reg,
-+ bl->final_value));
- }
-
- /* Go through all the instructions in the loop, making all the
-@@ -8360,7 +8363,7 @@ check_dbra_loop (loop, insn_count)
- if ((REGNO_LAST_UID (bl->regno) != INSN_UID (first_compare))
- || ! bl->init_insn
- || REGNO_FIRST_UID (bl->regno) != INSN_UID (bl->init_insn))
-- loop_insn_sink (loop, gen_move_insn (reg, final_value));
-+ loop_insn_sink (loop, gen_load_of_final_value (reg, final_value));
-
- /* Delete compare/branch at end of loop. */
- delete_related_insns (PREV_INSN (loop_end));
-@@ -10355,6 +10358,21 @@ loop_insn_sink (loop, pattern)
- return loop_insn_emit_before (loop, 0, loop->sink, pattern);
- }
-
-+/* bl->final_value can be eighter general_operand or PLUS of general_operand
-+ and constant. Emit sequence of intructions to load it into REG */
-+static rtx
-+gen_load_of_final_value (reg, final_value)
-+ rtx reg, final_value;
-+{
-+ rtx seq;
-+ start_sequence ();
-+ final_value = force_operand (final_value, reg);
-+ if (final_value != reg)
-+ emit_move_insn (reg, final_value);
-+ seq = gen_sequence ();
-+ end_sequence ();
-+ return seq;
-+}
-
- /* If the loop has multiple exits, emit insn for PATTERN before the
- loop to ensure that it will always be executed no matter how the
diff --git a/sys-devel/gcc/files/3.2.1/gcc32-arm-disable-mathf.patch b/sys-devel/gcc/files/3.2.1/gcc32-arm-disable-mathf.patch
deleted file mode 100644
index fbb8a840a900..000000000000
--- a/sys-devel/gcc/files/3.2.1/gcc32-arm-disable-mathf.patch
+++ /dev/null
@@ -1,142 +0,0 @@
---- gcc-3.1/libstdc++-v3/configure Tue May 7 23:27:59 2002
-+++ gcc-3.1-patched/libstdc++-v3/configure Thu Aug 8 11:01:35 2002
-@@ -5034,10 +5034,6 @@
- EOF
-
- cat >> confdefs.h <<\EOF
--#define HAVE_FREXPF 1
--EOF
--
-- cat >> confdefs.h <<\EOF
- #define HAVE_HYPOTF 1
- EOF
-
-@@ -7873,128 +7869,6 @@
- cat >> confdefs.h <<\EOF
- #define HAVE_MMAP 1
- EOF
--
--
-- cat >> confdefs.h <<\EOF
--#define HAVE_ACOSF 1
--EOF
--
-- cat >> confdefs.h <<\EOF
--#define HAVE_ASINF 1
--EOF
--
-- cat >> confdefs.h <<\EOF
--#define HAVE_ATAN2F 1
--EOF
--
-- cat >> confdefs.h <<\EOF
--#define HAVE_ATANF 1
--EOF
--
-- cat >> confdefs.h <<\EOF
--#define HAVE_CEILF 1
--EOF
--
-- cat >> confdefs.h <<\EOF
--#define HAVE_COPYSIGN 1
--EOF
--
-- cat >> confdefs.h <<\EOF
--#define HAVE_COPYSIGNF 1
--EOF
--
-- cat >> confdefs.h <<\EOF
--#define HAVE_COSF 1
--EOF
--
-- cat >> confdefs.h <<\EOF
--#define HAVE_COSHF 1
--EOF
--
-- cat >> confdefs.h <<\EOF
--#define HAVE_EXPF 1
--EOF
--
-- cat >> confdefs.h <<\EOF
--#define HAVE_FABSF 1
--EOF
--
-- cat >> confdefs.h <<\EOF
--#define HAVE_FINITE 1
--EOF
--
-- cat >> confdefs.h <<\EOF
--#define HAVE_FINITEF 1
--EOF
--
-- cat >> confdefs.h <<\EOF
--#define HAVE_FLOORF 1
--EOF
--
-- cat >> confdefs.h <<\EOF
--#define HAVE_FMODF 1
--EOF
--
-- cat >> confdefs.h <<\EOF
--#define HAVE_FREXPF 1
--EOF
--
-- cat >> confdefs.h <<\EOF
--#define HAVE_ISINF 1
--EOF
--
-- cat >> confdefs.h <<\EOF
--#define HAVE_ISINFF 1
--EOF
--
-- cat >> confdefs.h <<\EOF
--#define HAVE_ISNAN 1
--EOF
--
-- cat >> confdefs.h <<\EOF
--#define HAVE_ISNANF 1
--EOF
--
-- cat >> confdefs.h <<\EOF
--#define HAVE_LDEXPF 1
--EOF
--
-- cat >> confdefs.h <<\EOF
--#define HAVE_LOG10F 1
--EOF
--
-- cat >> confdefs.h <<\EOF
--#define HAVE_LOGF 1
--EOF
--
-- cat >> confdefs.h <<\EOF
--#define HAVE_MODFF 1
--EOF
--
-- cat >> confdefs.h <<\EOF
--#define HAVE_POWF 1
--EOF
--
-- cat >> confdefs.h <<\EOF
--#define HAVE_SINF 1
--EOF
--
-- cat >> confdefs.h <<\EOF
--#define HAVE_SINHF 1
--EOF
--
-- cat >> confdefs.h <<\EOF
--#define HAVE_SQRTF 1
--EOF
--
-- cat >> confdefs.h <<\EOF
--#define HAVE_TANF 1
--EOF
--
-- cat >> confdefs.h <<\EOF
--#define HAVE_TANHF 1
--EOF
--
- ;;
- esac
-
diff --git a/sys-devel/gcc/files/3.2.1/gcc32-arm-reload1-fix.patch b/sys-devel/gcc/files/3.2.1/gcc32-arm-reload1-fix.patch
deleted file mode 100644
index 0d5588e3c0f9..000000000000
--- a/sys-devel/gcc/files/3.2.1/gcc32-arm-reload1-fix.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- gcc-3.2.1/gcc/reload1.c.orig 2002-10-10 09:40:20.000000000 -0600
-+++ gcc-3.2.1/gcc/reload1.c 2003-01-30 12:15:05.000000000 -0700
-@@ -8674,7 +8674,9 @@
- ... (MEM (PLUS (REGZ) (REGY)))... .
-
- First, check that we have (set (REGX) (PLUS (REGX) (REGY)))
-- and that we know all uses of REGX before it dies. */
-+ and that we know all uses of REGX before it dies.
-+ Also, explicitly check that REGX != REGY; our life information
-+ does not yet show whether REGY changes in this insn. */
- set = single_set (insn);
- if (set != NULL_RTX
- && GET_CODE (SET_DEST (set)) == REG
-@@ -8684,6 +8686,7 @@
- && GET_CODE (SET_SRC (set)) == PLUS
- && GET_CODE (XEXP (SET_SRC (set), 1)) == REG
- && rtx_equal_p (XEXP (SET_SRC (set), 0), SET_DEST (set))
-+ && !rtx_equal_p (XEXP (SET_SRC (set), 1), SET_DEST (set))
- && last_label_ruid < reg_state[REGNO (SET_DEST (set))].use_ruid)
- {
- rtx reg = SET_DEST (set);
diff --git a/sys-devel/gcc/files/3.2.1/gcc32-athlon-alignment.patch b/sys-devel/gcc/files/3.2.1/gcc32-athlon-alignment.patch
deleted file mode 100644
index 0019eee6ae45..000000000000
--- a/sys-devel/gcc/files/3.2.1/gcc32-athlon-alignment.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- gcc-3.2/gcc/config/i386/i386.c.athlon-alignment 2002-09-20 13:58:03.000000000 +0200
-+++ gcc-3.2/gcc/config/i386/i386.c 2002-09-20 14:03:59.000000000 +0200
-@@ -857,7 +857,7 @@ override_options ()
- {&pentium_cost, 0, 0, 16, 7, 16, 7, 16, 1},
- {&pentiumpro_cost, 0, 0, 16, 15, 16, 7, 16, 1},
- {&k6_cost, 0, 0, 32, 7, 32, 7, 32, 1},
-- {&athlon_cost, 0, 0, 16, 7, 64, 7, 16, 1},
-+ {&athlon_cost, 0, 0, 16, 7, 16, 7, 16, 1},
- {&pentium4_cost, 0, 0, 0, 0, 0, 0, 0, 1}
- };
-
diff --git a/sys-devel/gcc/files/3.2.1/gcc32-sparc32-hack.patch b/sys-devel/gcc/files/3.2.1/gcc32-sparc32-hack.patch
deleted file mode 100644
index 0e03e36f64f6..000000000000
--- a/sys-devel/gcc/files/3.2.1/gcc32-sparc32-hack.patch
+++ /dev/null
@@ -1,66 +0,0 @@
-This is an optimization hack which should only be present
-in a sparc 32bit driver of the compiler compiled with
-host/target/build sparc64-redhat-linux --with-cpu=v7.
-As long long HOST_WIDE_INT slows things down, we can have in
-addition to the sparc64-*/3.2/{cc1,cc1plus}
-sparc-*/3.2/{cc1,cc1plus} binaries which are suitable for compiling
--m32 code only, but use long HOST_WIDE_INT.
-
---- gcc/gcc.c.jj Thu Aug 1 17:41:31 2002
-+++ gcc/gcc.c Fri Sep 6 16:48:10 2002
-@@ -3184,6 +3184,8 @@ process_command (argc, argv)
- int have_c = 0;
- int have_o = 0;
- int lang_n_infiles = 0;
-+ int m64 = 0;
-+ int used_B = 0;
- #ifdef MODIFY_TARGET_NAME
- int is_modify_target_name;
- int j;
-@@ -3565,6 +3567,7 @@ warranty; not even for MERCHANTABILITY o
- spec_machine = p + 1;
-
- warn_std_ptr = &warn_std;
-+ used_B = 1;
- break;
-
- case 'B':
-@@ -3627,6 +3630,7 @@ warranty; not even for MERCHANTABILITY o
- PREFIX_PRIORITY_B_OPT, 0, &warn_B, 0);
- add_prefix (&include_prefixes, concat (value, "include", NULL),
- NULL, PREFIX_PRIORITY_B_OPT, 0, NULL, 0);
-+ used_B = 1;
- n_switches++;
- }
- break;
-@@ -3731,6 +3735,13 @@ warranty; not even for MERCHANTABILITY o
- #endif
- goto normal_switch;
-
-+ /* HACK START */
-+ case 'm':
-+ if (p[1] == '6' && p[2] == '4')
-+ m64 = 1;
-+ /* FALLTHROUGH */
-+ /* HACK END */
-+
- default:
- normal_switch:
-
-@@ -3798,6 +3809,16 @@ warranty; not even for MERCHANTABILITY o
- /* Use 2 as fourth arg meaning try just the machine as a suffix,
- as well as trying the machine and the version. */
- #ifndef OS2
-+ /* HACK START */
-+ if (!m64 && !used_B && !strncmp (spec_machine, "sparc64-", 8))
-+ {
-+ const char *sparc32_exec_prefix =
-+ concat (standard_exec_prefix, "sparc-", spec_machine + 8,
-+ dir_separator_str, spec_version, dir_separator_str, NULL);
-+ add_prefix (&exec_prefixes, sparc32_exec_prefix, "GCC",
-+ PREFIX_PRIORITY_LAST, 0, warn_std_ptr, 0);
-+ }
-+ /* HACK END */
- add_prefix (&exec_prefixes, standard_exec_prefix, "GCC",
- PREFIX_PRIORITY_LAST, 1, warn_std_ptr, 0);
- add_prefix (&exec_prefixes, standard_exec_prefix, "BINUTILS",
diff --git a/sys-devel/gcc/files/3.2.1/gcc32-strip-dotdot.patch b/sys-devel/gcc/files/3.2.1/gcc32-strip-dotdot.patch
deleted file mode 100644
index 088c307309be..000000000000
--- a/sys-devel/gcc/files/3.2.1/gcc32-strip-dotdot.patch
+++ /dev/null
@@ -1,84 +0,0 @@
-2002-07-17 Alan Modra <amodra@bigpond.net.au>
-
- * prefix.c (update_path): Strip ".." components when prior dir
- doesn't exist. Pass correct var to UPDATE_PATH_HOST_CANONICALIZE.
-
---- gcc-3.2/gcc/prefix.c.strip-dotdot 2001-10-11 05:15:55.000000000 +0200
-+++ gcc-3.2/gcc/prefix.c 2002-08-17 09:37:01.000000000 +0200
-@@ -251,7 +252,7 @@ update_path (path, key)
- const char *path;
- const char *key;
- {
-- char *result;
-+ char *result, *p;
-
- if (! strncmp (path, std_prefix, strlen (std_prefix)) && key != 0)
- {
-@@ -271,9 +272,66 @@ update_path (path, key)
- else
- result = xstrdup (path);
-
-+#ifndef ALWAYS_STRIP_DOTDOT
-+#define ALWAYS_STRIP_DOTDOT 0
-+#endif
-+
-+ p = result;
-+ while (1)
-+ {
-+ char *src, *dest;
-+
-+ p = strchr (p, '.');
-+ if (p == NULL)
-+ break;
-+ /* Look for `/../' */
-+ if (p[1] == '.'
-+ && IS_DIR_SEPARATOR (p[2])
-+ && (p != result && IS_DIR_SEPARATOR (p[-1])))
-+ {
-+ *p = 0;
-+ if (!ALWAYS_STRIP_DOTDOT && access (result, X_OK) == 0)
-+ {
-+ *p = '.';
-+ break;
-+ }
-+ else
-+ {
-+ /* We can't access the dir, so we won't be able to
-+ access dir/.. either. Strip out `dir/../'. If `dir'
-+ turns out to be `.', strip one more path component. */
-+ dest = p;
-+ do
-+ {
-+ --dest;
-+ while (dest != result && IS_DIR_SEPARATOR (*dest))
-+ --dest;
-+ while (dest != result && !IS_DIR_SEPARATOR (dest[-1]))
-+ --dest;
-+ }
-+ while (dest != result && *dest == '.');
-+ /* If we have something like `./..' or `/..', don't
-+ strip anything more. */
-+ if (*dest == '.' || IS_DIR_SEPARATOR (*dest))
-+ {
-+ *p = '.';
-+ break;
-+ }
-+ src = p + 3;
-+ while (IS_DIR_SEPARATOR (*src))
-+ ++src;
-+ p = dest;
-+ while ((*dest++ = *src++) != 0)
-+ ;
-+ }
-+ }
-+ else
-+ ++p;
-+ }
-+
- #ifdef UPDATE_PATH_HOST_CANONICALIZE
- /* Perform host dependent canonicalization when needed. */
-- UPDATE_PATH_HOST_CANONICALIZE (path);
-+ UPDATE_PATH_HOST_CANONICALIZE (result);
- #endif
-
- #ifdef DIR_SEPARATOR_2
diff --git a/sys-devel/gcc/files/3.2.2/gcc-3.2.2-cross-compile.patch b/sys-devel/gcc/files/3.2.2/gcc-3.2.2-cross-compile.patch
deleted file mode 100644
index 076cbf16bfa2..000000000000
--- a/sys-devel/gcc/files/3.2.2/gcc-3.2.2-cross-compile.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- gcc/configure.orig 2005-08-20 04:28:13.000000000 -0400
-+++ gcc/configure 2005-08-20 04:28:38.000000000 -0400
-@@ -6790,7 +6790,7 @@
- # This prevents libgcc2 from containing any code which requires libc
- # support.
- inhibit_libc=
--if test x$host != x$target && test x$with_headers = x; then
-+if test x$host != x$target && { test "x$with_headers" = x || test "x$with_headers" = xno ; } ; then
- inhibit_libc=-Dinhibit_libc
- else
- if test x$with_newlib = xyes; then
diff --git a/sys-devel/gcc/files/3.2.2/gcc-3.2.2-no-COPYING-cross-compile.patch b/sys-devel/gcc/files/3.2.2/gcc-3.2.2-no-COPYING-cross-compile.patch
deleted file mode 100644
index 6f42e74394da..000000000000
--- a/sys-devel/gcc/files/3.2.2/gcc-3.2.2-no-COPYING-cross-compile.patch
+++ /dev/null
@@ -1,40 +0,0 @@
---- gcc-3.2.2/configure.in
-+++ gcc-3.2.2/configure.in
-@@ -517,37 +517,6 @@
- esac
- fi
-
--# Handle ${copy_dirs}
--set fnord ${copy_dirs}
--shift
--while [ $# != 0 ]; do
-- if [ -f $2/COPIED ] && [ x"`cat $2/COPIED`" = x"$1" ]; then
-- :
-- else
-- echo Copying $1 to $2
--
-- # Use the install script to create the directory and all required
-- # parent directories.
-- if [ -d $2 ]; then
-- :
-- else
-- echo >config.temp
-- ${srcdir}/install-sh -c -m 644 config.temp $2/COPIED
-- fi
--
-- # Copy the directory, assuming we have tar.
-- # FIXME: Should we use B in the second tar? Not all systems support it.
-- (cd $1; tar -cf - .) | (cd $2; tar -xpf -)
--
-- # It is the responsibility of the user to correctly adjust all
-- # symlinks. If somebody can figure out how to handle them correctly
-- # here, feel free to add the code.
--
-- echo $1 > $2/COPIED
-- fi
-- shift; shift
--done
--
- # Configure extra directories which are host specific
-
- case "${host}" in
diff --git a/sys-devel/gcc/files/3.2.2/gcc32-pr7768.patch b/sys-devel/gcc/files/3.2.2/gcc32-pr7768.patch
deleted file mode 100644
index 72b4910c869a..000000000000
--- a/sys-devel/gcc/files/3.2.2/gcc32-pr7768.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-2002-09-14 Nathan Sidwell <nathan@codesourcery.com>
-
- PR c++/7768
- * pt.c (build_template_decl): Copy DECL_DESTRUCTOR_P.
-
-2002-09-15 Nathan Sidwell <nathan@codesourcery.com>
-
- * g++.dg/template/pretty1.C: New test.
-
---- gcc-3.2.1/gcc/cp/pt.c.pr7768 2003-01-20 14:14:15.000000000 +0100
-+++ gcc-3.2.1/gcc/cp/pt.c 2003-02-08 14:42:15.000000000 +0100
-@@ -2108,6 +2108,7 @@ build_template_decl (decl, parms)
- DECL_VIRTUAL_CONTEXT (tmpl) = DECL_VIRTUAL_CONTEXT (decl);
- DECL_STATIC_FUNCTION_P (tmpl) = DECL_STATIC_FUNCTION_P (decl);
- DECL_CONSTRUCTOR_P (tmpl) = DECL_CONSTRUCTOR_P (decl);
-+ DECL_DESTRUCTOR_P (tmpl) = DECL_DESTRUCTOR_P (decl);
- DECL_NONCONVERTING_P (tmpl) = DECL_NONCONVERTING_P (decl);
- DECL_ASSIGNMENT_OPERATOR_P (tmpl) = DECL_ASSIGNMENT_OPERATOR_P (decl);
- if (DECL_OVERLOADED_OPERATOR_P (decl))
---- gcc-3.2.1/gcc/testsuite/g++.dg/template/pretty1.C.pr7768 2003-02-08 14:42:03.000000000 +0100
-+++ gcc-3.2.1/gcc/testsuite/g++.dg/template/pretty1.C 2003-02-08 14:41:52.000000000 +0100
-@@ -0,0 +1,43 @@
-+// { dg-do run }
-+
-+// Copyright (C) 2002 Free Software Foundation, Inc.
-+// Contributed by Nathan Sidwell 14 Sep 2002 <nathan@codesourcery.com>
-+
-+// PR 7768 template dtor pretty function wrong
-+
-+#include <string.h>
-+
-+static size_t current = 0;
-+static bool error = false;
-+
-+static char const *names[] =
-+{
-+ "X<T>::X() [with T = void]",
-+ "X<T>::~X() [with T = void]",
-+ 0
-+};
-+
-+void Verify (char const *ptr)
-+{
-+ error = strcmp (ptr, names[current++]);
-+}
-+
-+template <typename T>
-+struct X
-+{
-+ X() { Verify (__PRETTY_FUNCTION__); }
-+ ~X() { Verify (__PRETTY_FUNCTION__); }
-+};
-+
-+int main()
-+{
-+ {
-+ X<void> x;
-+
-+ if (error)
-+ return current;
-+ }
-+ if (error)
-+ return current;
-+ return 0;
-+}
diff --git a/sys-devel/gcc/files/3.2.2/gcc32-pr8213.patch b/sys-devel/gcc/files/3.2.2/gcc32-pr8213.patch
deleted file mode 100644
index 762d198f4cfd..000000000000
--- a/sys-devel/gcc/files/3.2.2/gcc32-pr8213.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-2002-10-30 Jan Hubicka <jh@suse.cz>
-
- PR target/8213
- * config/i386/i386.c (ix86_expand_int_movcc): Fix RTL sharing problem.
-
-2002-11-04 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com>
-
- * testsuite/gcc.c-torture/execute/20021104.c: New test.
-
---- gcc-3.2/gcc/config/i386/i386.c.pr8213 2002-11-04 12:56:37.000000000 -0500
-+++ gcc-3.2/gcc/config/i386/i386.c 2002-11-04 13:21:22.000000000 -0500
-@@ -8274,11 +8274,11 @@ ix86_expand_int_movcc (operands)
- /* On x86_64 the lea instruction operates on Pmode, so we need to get arithmetics
- done in proper mode to match. */
- if (diff == 1)
-- tmp = out;
-+ tmp = copy_rtx (out);
- else
- {
- rtx out1;
-- out1 = out;
-+ out1 = copy_rtx (out);
- tmp = gen_rtx_MULT (mode, out1, GEN_INT (diff & ~1));
- nops++;
- if (diff & 1)
-@@ -8302,12 +8302,12 @@ ix86_expand_int_movcc (operands)
- clob = gen_rtx_REG (CCmode, FLAGS_REG);
- clob = gen_rtx_CLOBBER (VOIDmode, clob);
-
-- tmp = gen_rtx_SET (VOIDmode, out, tmp);
-+ tmp = gen_rtx_SET (VOIDmode, copy_rtx (out), tmp);
- tmp = gen_rtx_PARALLEL (VOIDmode, gen_rtvec (2, copy_rtx (tmp), clob));
- emit_insn (tmp);
- }
- else
-- emit_insn (gen_rtx_SET (VOIDmode, out, tmp));
-+ emit_insn (gen_rtx_SET (VOIDmode, copy_rtx (out), tmp));
- }
- if (out != operands[0])
- emit_move_insn (operands[0], copy_rtx (out));
---- gcc-3.2/gcc/testsuite/gcc.c-torture/execute/20021104.c.pr8213 2002-11-04 13:22:33.000000000 -0500
-+++ gcc-3.2/gcc/testsuite/gcc.c-torture/execute/20021104.c 2002-11-04 13:24:12.000000000 -0500
-@@ -0,0 +1,26 @@
-+/* PR target/8213
-+ This testcase, distilled from GNU gmp 4.1, was miscompiled on x86-64
-+ because of RTL sharing problems. */
-+
-+int f(long x, long y)
-+{
-+ if ((x < 0) == (y < 0))
-+ {
-+ if (x == 0)
-+ return -(y != 0);
-+ if (y == 0)
-+ return x != 0;
-+ }
-+ else
-+ {
-+ return x >= 0 ? 1 : -1;
-+ }
-+}
-+
-+int main(void)
-+{
-+ if (f(-1, 1) != -1)
-+ abort();
-+
-+ return 0;
-+}
diff --git a/sys-devel/gcc/files/3.2.2/gcc322-ggc_page-speedup.patch b/sys-devel/gcc/files/3.2.2/gcc322-ggc_page-speedup.patch
deleted file mode 100644
index 564433ddd952..000000000000
--- a/sys-devel/gcc/files/3.2.2/gcc322-ggc_page-speedup.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- gcc-3.2.2/gcc/ggc-page.c.orig 2003-03-22 03:52:54.000000000 +0200
-+++ gcc-3.2.2/gcc/ggc-page.c 2003-03-22 03:54:17.000000000 +0200
-@@ -344,11 +344,11 @@
- this factor times the allocation at the end of the last collection.
- In other words, total allocation must expand by (this factor minus
- one) before collection is performed. */
--#define GGC_MIN_EXPAND_FOR_GC (1.3)
-+#define GGC_MIN_EXPAND_FOR_GC (2.0)
-
--/* Bound `allocated_last_gc' to 16MB, to prevent the memory expansion
-+/* Bound `allocated_last_gc' to 32MB, to prevent the memory expansion
- test from triggering too often when the heap is small. */
--#define GGC_MIN_LAST_ALLOCATED (16 * 1024 * 1024)
-+#define GGC_MIN_LAST_ALLOCATED (32 * 1024 * 1024)
-
- /* Allocate pages in chunks of this size, to throttle calls to memory
- allocation routines. The first page is used, the rest go onto the
diff --git a/sys-devel/gcc/files/3.2.3/gcc-3.2.3-mergel-fix.patch b/sys-devel/gcc/files/3.2.3/gcc-3.2.3-mergel-fix.patch
deleted file mode 100644
index bc763ae54939..000000000000
--- a/sys-devel/gcc/files/3.2.3/gcc-3.2.3-mergel-fix.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-diff -ruN gcc-3.2.3.orig/gcc/config/rs6000/altivec.h gcc-3.2.3/gcc/config/rs6000/altivec.h
---- gcc-3.2.3.orig/gcc/config/rs6000/altivec.h 2003-07-03 02:47:36.000000000 +0200
-+++ gcc-3.2.3/gcc/config/rs6000/altivec.h 2003-07-03 02:49:17.000000000 +0200
-@@ -8535,4 +8535,57 @@
-
- #endif /* __cplusplus */
-
-+/*lu_zero@gentoo.org mergel issue workaround*/
-+static inline vector signed char my_vmrglb (vector signed char const A,
-+ vector signed char const B)
-+{
-+ static const vector unsigned char lowbyte = {
-+ 0x08, 0x18, 0x09, 0x19, 0x0a, 0x1a, 0x0b, 0x1b,
-+ 0x0c, 0x1c, 0x0d, 0x1d, 0x0e, 0x1e, 0x0f, 0x1f
-+ };
-+ return vec_perm (A, B, lowbyte);
-+}
-+
-+static inline vector signed short my_vmrglh (vector signed short const A,
-+ vector signed short const B)
-+{
-+ static const vector unsigned char lowhalf = {
-+ 0x08, 0x09, 0x18, 0x19, 0x0a, 0x0b, 0x1a, 0x1b,
-+ 0x0c, 0x0d, 0x1c, 0x1d, 0x0e, 0x0f, 0x1e, 0x1f
-+ };
-+ return vec_perm (A, B, lowhalf);
-+}
-+
-+static inline vector signed int my_vmrglw (vector signed int const A,
-+ vector signed int const B)
-+{
-+ static const vector unsigned char lowword = {
-+ 0x08, 0x09, 0x0a, 0x0b, 0x18, 0x19, 0x1a, 0x1b,
-+ 0x0c, 0x0d, 0x0e, 0x0f, 0x1c, 0x1d, 0x1e, 0x1f
-+ };
-+ return vec_perm (A, B, lowword);
-+}
-+/*#define my_vmrglb my_vmrglb
-+#define my_vmrglh my_vmrglh
-+#define my_vmrglw my_vmrglw
-+*/
-+#undef vec_mergel
-+
-+#define vec_mergel(a1, a2) \
-+__ch (__bin_args_eq (vector signed char, (a1), vector signed char, (a2)), \
-+ ((vector signed char) my_vmrglb ((vector signed char) (a1), (vector signed char) (a2))), \
-+__ch (__bin_args_eq (vector unsigned char, (a1), vector unsigned char, (a2)), \
-+ ((vector unsigned char) my_vmrglb ((vector signed char) (a1), (vector signed char) (a2))), \
-+__ch (__bin_args_eq (vector signed short, (a1), vector signed short, (a2)), \
-+ ((vector signed short) my_vmrglh ((vector signed short) (a1), (vector signed short) (a2))), \
-+__ch (__bin_args_eq (vector unsigned short, (a1), vector unsigned short, (a2)), \
-+ ((vector unsigned short) my_vmrglh ((vector signed short) (a1), (vector signed short) (a2))), \
-+__ch (__bin_args_eq (vector float, (a1), vector float, (a2)), \
-+ ((vector float) my_vmrglw ((vector signed int) (a1), (vector signed int) (a2))), \
-+__ch (__bin_args_eq (vector signed int, (a1), vector signed int, (a2)), \
-+ ((vector signed int) my_vmrglw ((vector signed int) (a1), (vector signed int) (a2))), \
-+__ch (__bin_args_eq (vector unsigned int, (a1), vector unsigned int, (a2)), \
-+ ((vector unsigned int) my_vmrglw ((vector signed int) (a1), (vector signed int) (a2))), \
-+ __altivec_link_error_invalid_argument ())))))))
-+
- #endif /* _ALTIVEC_H */
diff --git a/sys-devel/gcc/files/3.2.3/gcc-3.2.3-move-propolice-into-glibc.patch b/sys-devel/gcc/files/3.2.3/gcc-3.2.3-move-propolice-into-glibc.patch
deleted file mode 100644
index d037cd103e93..000000000000
--- a/sys-devel/gcc/files/3.2.3/gcc-3.2.3-move-propolice-into-glibc.patch
+++ /dev/null
@@ -1,120 +0,0 @@
-diff -u -r -N gcc-3.2.3.ORIG/gcc/libgcc-std.ver gcc-3.2.3/gcc/libgcc-std.ver
---- gcc-3.2.3.ORIG/gcc/libgcc-std.ver 2003-11-11 18:12:52.000000000 +0100
-+++ gcc-3.2.3/gcc/libgcc-std.ver 2003-11-11 18:19:31.000000000 +0100
-@@ -176,6 +176,7 @@
- _Unwind_SjLj_Resume
-
- # stack smash handler symbols
-- __guard
-- __stack_smash_handler
-+ # these can be found in glibc now
-+ # __guard
-+ # __stack_smash_handler
- }
-diff -u -r -N gcc-3.2.3.ORIG/gcc/libgcc2.c gcc-3.2.3/gcc/libgcc2.c
---- gcc-3.2.3.ORIG/gcc/libgcc2.c 2003-11-11 18:12:52.000000000 +0100
-+++ gcc-3.2.3/gcc/libgcc2.c 2003-11-11 18:20:44.000000000 +0100
-@@ -2052,100 +2052,7 @@
- #endif /* L_exit */
-
- #ifdef L_stack_smash_handler
--#include <stdio.h>
--#include <string.h>
--#include <fcntl.h>
--#include <unistd.h>
--
--#ifdef _POSIX_SOURCE
--#include <signal.h>
--#endif
--
--#if defined(HAVE_SYSLOG)
--#include <sys/types.h>
--#include <sys/socket.h>
--#include <sys/un.h>
--
--#include <sys/syslog.h>
--#ifndef _PATH_LOG
--#define _PATH_LOG "/dev/log"
--#endif
--#endif
--
--long __guard[8] = {0,0,0,0,0,0,0,0};
--static void __guard_setup (void) __attribute__ ((constructor)) ;
--static void __guard_setup (void)
--{
-- int fd;
-- if (__guard[0]!=0) return;
-- fd = open ("/dev/urandom", 0);
-- if (fd != -1) {
-- ssize_t size = read (fd, (char*)&__guard, sizeof(__guard));
-- close (fd) ;
-- if (size == sizeof(__guard)) return;
-- }
-- /* If a random generator can't be used, the protector switches the guard
-- to the "terminator canary" */
-- ((char*)__guard)[0] = 0; ((char*)__guard)[1] = 0;
-- ((char*)__guard)[2] = '\n'; ((char*)__guard)[3] = 255;
--}
--void __stack_smash_handler (char func[], int damaged ATTRIBUTE_UNUSED)
--{
--#if defined (__GNU_LIBRARY__)
-- extern char * __progname;
--#endif
-- const char message[] = ": stack smashing attack in function ";
-- int bufsz = 256, len;
-- char buf[bufsz];
--#if defined(HAVE_SYSLOG)
-- int LogFile;
-- struct sockaddr_un SyslogAddr; /* AF_UNIX address of local logger */
--#endif
--#ifdef _POSIX_SOURCE
-- {
-- sigset_t mask;
-- sigfillset(&mask);
-- sigdelset(&mask, SIGABRT); /* Block all signal handlers */
-- sigprocmask(SIG_BLOCK, &mask, NULL); /* except SIGABRT */
-- }
--#endif
--
-- strcpy(buf, "<2>"); len=3; /* send LOG_CRIT */
--#if defined (__GNU_LIBRARY__)
-- strncat(buf, __progname, bufsz-len-1); len = strlen(buf);
--#endif
-- if (bufsz>len) {strncat(buf, message, bufsz-len-1); len = strlen(buf);}
-- if (bufsz>len) {strncat(buf, func, bufsz-len-1); len = strlen(buf);}
--
-- /* print error message */
-- write (STDERR_FILENO, buf+3, len-3);
--#if defined(HAVE_SYSLOG)
-- if ((LogFile = socket(AF_UNIX, SOCK_DGRAM, 0)) != -1) {
--
-- /*
-- * Send "found" message to the "/dev/log" path
-- */
-- SyslogAddr.sun_family = AF_UNIX;
-- (void)strncpy(SyslogAddr.sun_path, _PATH_LOG,
-- sizeof(SyslogAddr.sun_path) - 1);
-- SyslogAddr.sun_path[sizeof(SyslogAddr.sun_path) - 1] = '\0';
-- sendto(LogFile, buf, len, 0, (struct sockaddr *)&SyslogAddr,
-- sizeof(SyslogAddr));
-- }
--#endif
--
--#ifdef _POSIX_SOURCE
-- { /* Make sure the default handler is associated with SIGABRT */
-- struct sigaction sa;
--
-- memset(&sa, 0, sizeof(struct sigaction));
-- sigfillset(&sa.sa_mask); /* Block all signals */
-- sa.sa_flags = 0;
-- sa.sa_handler = SIG_DFL;
-- sigaction(SIGABRT, &sa, NULL);
-- (void)kill(getpid(), SIGABRT);
-- }
--#endif
-- _exit(127);
--}
-+extern long __guard[8];
-+extern void __guard_setup (void);
-+extern void __stack_smash_handler (char func[], int damaged);
- #endif
diff --git a/sys-devel/gcc/files/3.2.3/gcc-3.2.3-poisoned-malloc.patch b/sys-devel/gcc/files/3.2.3/gcc-3.2.3-poisoned-malloc.patch
deleted file mode 100644
index 2bdd26df4e39..000000000000
--- a/sys-devel/gcc/files/3.2.3/gcc-3.2.3-poisoned-malloc.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-fix building gcc-3.2.3 with newer versions of gcc
-
-http://bugs.gentoo.org/225743
-http://gcc.gnu.org/ml/gcc-help/2008-01/msg00040.html
-http://www.archivum.info/gnu.gcc.help/2008-05/msg00093.html
-
---- gcc-3.2.3/gcc/read-rtl.c
-+++ gcc-3.2.3/gcc/read-rtl.c
-@@ -659,7 +659,7 @@
- {
- ungetc (c, infile);
- list_counter++;
-- obstack_ptr_grow (&vector_stack, (PTR) read_rtx (infile));
-+ obstack_ptr_grow (&vector_stack, read_rtx (infile));
- }
- if (list_counter > 0)
- {
---- gcc-3.2.3/gcc/system.h
-+++ gcc-3.2.3/gcc/system.h
-@@ -589,7 +589,9 @@
- #undef realloc
- #undef calloc
- #undef strdup
-+#if ! (defined(FLEX_SCANNER) || defined(YYBISON) || defined(YYBYACC))
- #pragma GCC poison malloc realloc calloc strdup
-+#endif
-
- /* Old target macros that have moved to the target hooks structure. */
- #pragma GCC poison ASM_OPEN_PAREN ASM_CLOSE_PAREN \
-@@ -628,4 +630,11 @@
-
- #endif /* GCC >= 3.0 */
-
-+#if defined(FLEX_SCANNER) || defined(YYBISON) || defined(YYBYACC)
-+/* Flex and bison use malloc and realloc. Yuk. Note that this means
-+ really_call_* cannot be used in a .l or .y file. */
-+#define malloc xmalloc
-+#define realloc xrealloc
-+#endif
-+
- #endif /* ! GCC_SYSTEM_H */
diff --git a/sys-devel/gcc/files/3.2.3/gcc-323-propolice-version.patch b/sys-devel/gcc/files/3.2.3/gcc-323-propolice-version.patch
deleted file mode 100644
index 61b5eed9054d..000000000000
--- a/sys-devel/gcc/files/3.2.3/gcc-323-propolice-version.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- gcc/version.c.old 2003-03-26 10:43:47.000000000 -0500
-+++ gcc/version.c 2003-03-26 10:44:13.000000000 -0500
-@@ -1,4 +1,4 @@
- #include "ansidecl.h"
- #include "version.h"
-
--const char *const version_string = "3.2.3 20030422 (Gentoo Linux 1.4 @PV@)";
-+const char *const version_string = "3.2.3 20030422 (Gentoo Linux 1.4 @PV@, propolice)";
-
---- gcc/f/version.c.old 2003-03-26 10:43:54.000000000 -0500
-+++ gcc/f/version.c 2003-03-26 10:44:27.000000000 -0500
-@@ -1,4 +1,4 @@
- #include "ansidecl.h"
- #include "f/version.h"
-
--const char *const ffe_version_string = "3.2.3 20030422 (Gentoo Linux 1.4 @PV@)";
-+const char *const ffe_version_string = "3.2.3 20030422 (Gentoo Linux 1.4 @PV@), propolice)";
diff --git a/sys-devel/gcc/files/3.2.3/gcc32-c++-classfn-member-template.patch b/sys-devel/gcc/files/3.2.3/gcc32-c++-classfn-member-template.patch
deleted file mode 100644
index 7e2e328dee7e..000000000000
--- a/sys-devel/gcc/files/3.2.3/gcc32-c++-classfn-member-template.patch
+++ /dev/null
@@ -1,108 +0,0 @@
-2003-03-29 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com>
-
- Backport from 3.3-branch:
-
- 2003-03-11 Jason Merrill <jason@redhat.com>
-
- PR c++/8660
- * cp/decl2.c (check_classfn): A member template only matches a
- member template.
-
-2003-03-29 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com>
-
- PR c++/10265
- * testsuite/g++.dg/template/member3.C: New test.
-
---- gcc-3.2.2/gcc/cp/decl2.c.c++-classfn-member-template 2003-03-20 10:11:54.000000000 +0100
-+++ gcc-3.2.2/gcc/cp/decl2.c 2003-04-02 11:14:29.000000000 +0200
-@@ -1288,6 +1288,7 @@ check_classfn (ctype, function)
- tree method_vec = CLASSTYPE_METHOD_VEC (complete_type (ctype));
- tree *methods = 0;
- tree *end = 0;
-+ int is_template;
-
- if (DECL_USE_TEMPLATE (function)
- && !(TREE_CODE (function) == TEMPLATE_DECL
-@@ -1305,6 +1306,10 @@ check_classfn (ctype, function)
- find the method, but we don't complain. */
- return NULL_TREE;
-
-+ /* OK, is this a definition of a member template? */
-+ is_template = (TREE_CODE (function) == TEMPLATE_DECL
-+ || (processing_template_decl - template_class_depth (ctype)));
-+
- if (method_vec != 0)
- {
- methods = &TREE_VEC_ELT (method_vec, 0);
-@@ -1344,6 +1349,11 @@ check_classfn (ctype, function)
- && TREE_CODE (TREE_TYPE (function)) == METHOD_TYPE)
- p1 = TREE_CHAIN (p1);
-
-+ /* A member template definition only matches a member template
-+ declaration. */
-+ if (is_template != (TREE_CODE (fndecl) == TEMPLATE_DECL))
-+ continue;
-+
- if (same_type_p (TREE_TYPE (TREE_TYPE (function)),
- TREE_TYPE (TREE_TYPE (fndecl)))
- && compparms (p1, p2)
---- gcc-3.2.2/gcc/testsuite/g++.dg/template/member2.C.c++-classfn-member-template 2003-04-02 11:14:29.000000000 +0200
-+++ gcc-3.2.2/gcc/testsuite/g++.dg/template/member2.C 2003-04-02 11:14:29.000000000 +0200
-@@ -0,0 +1,15 @@
-+// PR c++/8660
-+// Bug: we were treating the definition of the non-template as a definition
-+// of the template, which broke.
-+
-+/* { dg-do compile } */
-+
-+struct BadgerBuf
-+{
-+ void ReadPod();
-+ template<class B>
-+ void ReadPod();
-+};
-+
-+void BadgerBuf::ReadPod ()
-+ { ReadPod<int> (); }
---- gcc-3.2.2/gcc/testsuite/g++.dg/template/member3.C.c++-classfn-member-template 2003-04-02 11:14:29.000000000 +0200
-+++ gcc-3.2.2/gcc/testsuite/g++.dg/template/member3.C 2003-04-02 11:14:29.000000000 +0200
-@@ -0,0 +1,28 @@
-+// PR c++/10265
-+// Bug: we were treating the definition of the non-template as a definition
-+// of the template, which broke.
-+
-+/* { dg-do compile } */
-+
-+struct A {
-+ template<class T> void f();
-+ void f();
-+};
-+
-+template<class T> void A::f() { }
-+void A::f() { }
-+
-+struct B {
-+ template<class T> void f() { }
-+ void f() { }
-+};
-+
-+int main()
-+{
-+ A a;
-+ a.f();
-+ a.f<int>();
-+ B b;
-+ b.f();
-+ b.f<int>();
-+}
---- gcc-3.2.2/gcc/testsuite/g++.old-deja/g++.mike/err1.C.c++-classfn-member-template 1998-12-16 22:44:46.000000000 +0100
-+++ gcc-3.2.2/gcc/testsuite/g++.old-deja/g++.mike/err1.C 2003-04-02 12:47:12.000000000 +0200
-@@ -2,7 +2,7 @@
-
- struct gorf {
- int stuff;
-- void snarf();
-+ void snarf(); // ERROR -
- };
-
- template <class T> void gorf::snarf() { return; } // ERROR -
diff --git a/sys-devel/gcc/files/3.2.3/gcc32-mklibgcc-serialize-crtfiles.patch b/sys-devel/gcc/files/3.2.3/gcc32-mklibgcc-serialize-crtfiles.patch
deleted file mode 100644
index 42db8fd5eaff..000000000000
--- a/sys-devel/gcc/files/3.2.3/gcc32-mklibgcc-serialize-crtfiles.patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- gcc-3.2.2/gcc/mklibgcc.in.mklibgcc-serialize-crtfiles 2003-02-04 05:04:51.000000000 -0500
-+++ gcc-3.2.2/gcc/mklibgcc.in 2003-03-16 18:01:48.000000000 -0500
-@@ -404,6 +404,9 @@ echo ' if [ -d $$d ]; then true; else
- echo ' done'
- echo ' if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi'
-
-+# serialize build, since they may have to generate a new c-parse.y but
-+# two jobs could be started in parallel thus colliding
-+prev_out=""
- for f in $EXTRA_MULTILIB_PARTS; do
- for ml in $MULTILIBS; do
- dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
-@@ -418,12 +421,13 @@ for f in $EXTRA_MULTILIB_PARTS; do
- *) targ=$out ;;
- esac
-
-- echo $out: stmp-dirs
-+ echo $out: stmp-dirs $prev_out
- echo " $make_compile" \\
- echo ' LIBGCC2_CFLAGS="$(LIBGCC2_CFLAGS)' $flags '" ' \\
- echo ' MULTILIB_CFLAGS="'$flags'"' T=$t $targ
-
- all="$all $out"
-+ prev_out="$out"
- done
- done
-
diff --git a/sys-devel/gcc/files/3.2.3/gcc323-gentoo-branding.patch b/sys-devel/gcc/files/3.2.3/gcc323-gentoo-branding.patch
deleted file mode 100644
index 65fc1b5d7f15..000000000000
--- a/sys-devel/gcc/files/3.2.3/gcc323-gentoo-branding.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-diff -Naurp gcc-3.2.3.orig/gcc/ada/gnatvsn.ads gcc-3.2.3/gcc/ada/gnatvsn.ads
---- gcc-3.2.3.orig/gcc/ada/gnatvsn.ads 2003-04-22 02:16:06.000000000 -0400
-+++ gcc-3.2.3/gcc/ada/gnatvsn.ads 2003-04-26 12:20:22.000000000 -0400
-@@ -38,7 +38,7 @@
-
- package Gnatvsn is
-
-- Gnat_Version_String : constant String := "3.2.3 20030422 (release)";
-+ Gnat_Version_String : constant String := "3.2.3 20030422 (Gentoo 1.4)";
- -- Version output when GNAT (compiler), or its related tools, including
- -- GNATBIND, GNATCHOP, GNATFIND, GNATLINK, GNATMAKE, GNATXREF, are run
- -- (with appropriate verbose option switch set).
-diff -Naurp gcc-3.2.3.orig/gcc/f/version.c gcc-3.2.3/gcc/f/version.c
---- gcc-3.2.3.orig/gcc/f/version.c 2003-04-22 02:16:09.000000000 -0400
-+++ gcc-3.2.3/gcc/f/version.c 2003-04-26 12:25:38.000000000 -0400
-@@ -1,4 +1,4 @@
- #include "ansidecl.h"
- #include "f/version.h"
-
--const char *const ffe_version_string = "3.2.3 20030422 (release)";
-+const char *const ffe_version_string = "3.2.3 20030422 (Gentoo Linux 1.4 @PV@)";
-diff -Naurp gcc-3.2.3.orig/gcc/system.h gcc-3.2.3/gcc/system.h
---- gcc-3.2.3.orig/gcc/system.h 2003-03-30 20:14:02.000000000 -0500
-+++ gcc-3.2.3/gcc/system.h 2003-04-26 12:24:55.000000000 -0400
-@@ -26,7 +26,7 @@ Software Foundation, 59 Temple Place - S
- /* This is the location of the online document giving information how
- to report bugs. If you change this string, also check for strings
- not under control of the preprocessor. */
--#define GCCBUGURL "<URL:http://gcc.gnu.org/bugs.html>"
-+#define GCCBUGURL "<URL:http://bugs.gentoo.org/>"
-
- /* We must include stdarg.h/varargs.h before stdio.h. */
- #ifdef ANSI_PROTOTYPES
-diff -Naurp gcc-3.2.3.orig/gcc/version.c gcc-3.2.3/gcc/version.c
---- gcc-3.2.3.orig/gcc/version.c 2003-04-22 02:16:03.000000000 -0400
-+++ gcc-3.2.3/gcc/version.c 2003-04-26 12:25:28.000000000 -0400
-@@ -1,4 +1,4 @@
- #include "ansidecl.h"
- #include "version.h"
-
--const char *const version_string = "3.2.3";
-+const char *const version_string = "3.2.3 20030422 (Gentoo Linux 1.4 @PV@)";
diff --git a/sys-devel/gcc/files/3.2.3/gcc323-hppa-default_assemble_visibility.patch b/sys-devel/gcc/files/3.2.3/gcc323-hppa-default_assemble_visibility.patch
deleted file mode 100644
index d9684875e58f..000000000000
--- a/sys-devel/gcc/files/3.2.3/gcc323-hppa-default_assemble_visibility.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff -u -r -N gcc-3.2.3.orig/gcc/output.h gcc-3.2.3/gcc/output.h
---- gcc-3.2.3.orig/gcc/output.h 2003-07-14 17:55:33.000000000 +0200
-+++ gcc-3.2.3/gcc/output.h 2003-07-14 17:58:16.000000000 +0200
-@@ -257,8 +257,13 @@
-
- extern void assemble_alias PARAMS ((tree, tree));
-
-+#endif
-+
-+/* hppa breaks when this is put into TREE_CODE */
- extern void default_assemble_visibility PARAMS ((tree, const char *));
-
-+#ifdef TREE_CODE
-+
- /* Output a string of literal assembler code
- for an `asm' keyword used between functions. */
- extern void assemble_asm PARAMS ((tree));
diff --git a/sys-devel/gcc/files/3.3.6/gcc-3.3.6-cross-compile.patch b/sys-devel/gcc/files/3.3.6/gcc-3.3.6-cross-compile.patch
deleted file mode 100644
index ff9b42bf96c9..000000000000
--- a/sys-devel/gcc/files/3.3.6/gcc-3.3.6-cross-compile.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-Some notes on the 'bootstrap with or without libc headers' debate:
-http://linuxfromscratch.org/pipermail/lfs-dev/2005-July/052409.html
-http://gcc.gnu.org/ml/gcc/2005-07/msg01195.html
-
---- gcc/configure.in
-+++ gcc/configure.in
-@@ -1276,8 +1276,9 @@
- # This prevents libgcc2 from containing any code which requires libc
- # support.
- inhibit_libc=
--if { test x$host != x$target && test "x$with_headers" = x &&
-- test "x$with_sysroot" = x ; } || test x$with_newlib = xyes ; then
-+if { { test x$host != x$target && test "x$with_sysroot" = x ; } ||
-+ test x$with_newlib = xyes ; } &&
-+ { test "x$with_headers" = x || test "x$with_headers" = xno ; } ; then
- inhibit_libc=-Dinhibit_libc
- fi
- AC_SUBST(inhibit_libc)
---- gcc/configure
-+++ gcc/configure
-@@ -1276,8 +1276,9 @@
- # This prevents libgcc2 from containing any code which requires libc
- # support.
- inhibit_libc=
--if { test x$host != x$target && test "x$with_headers" = x &&
-- test "x$with_sysroot" = x ; } || test x$with_newlib = xyes ; then
-+if { { test x$host != x$target && test "x$with_sysroot" = x ; } ||
-+ test x$with_newlib = xyes ; } &&
-+ { test "x$with_headers" = x || test "x$with_headers" = xno ; } ; then
- inhibit_libc=-Dinhibit_libc
- fi
- AC_SUBST(inhibit_libc)
---- gcc/config/alpha/linux.h
-+++ gcc/config/alpha/linux.h
-@@ -72,6 +72,7 @@
- /* Do code reading to identify a signal frame, and set the frame
- state data appropriately. See unwind-dw2.c for the structs. */
-
-+#ifndef inhibit_libc
- #ifdef IN_LIBGCC2
- #include <signal.h>
- #include <sys/ucontext.h>
-@@ -121,3 +122,4 @@
- (FS)->retaddr_column = 64; \
- goto SUCCESS; \
- } while (0)
-+#endif /* inhibit_libc */
---- gcc/config/i386/linux.h
-+++ gcc/config/i386/linux.h
-@@ -240,6 +240,7 @@
- /* Do code reading to identify a signal frame, and set the frame
- state data appropriately. See unwind-dw2.c for the structs. */
-
-+#ifndef inhibit_libc
- #ifdef IN_LIBGCC2
- /* There's no sys/ucontext.h for some (all?) libc1, so no
- signal-turned-exceptions for them. There's also no configure-run for
-@@ -304,3 +305,4 @@
- } while (0)
- #endif /* not USE_GNULIBC_1 */
- #endif /* IN_LIBGCC2 */
-+#endif /* inhibit_libc */
diff --git a/sys-devel/gcc/files/3.4.0/gcc-3.4.0-cc1-no-stack-protector.patch b/sys-devel/gcc/files/3.4.0/gcc-3.4.0-cc1-no-stack-protector.patch
deleted file mode 100644
index 72bce28a552b..000000000000
--- a/sys-devel/gcc/files/3.4.0/gcc-3.4.0-cc1-no-stack-protector.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- gcc/Makefile.in.mps 2004-06-01 22:06:17.000000000 +0200
-+++ gcc/Makefile.in 2004-06-01 22:06:56.000000000 +0200
-@@ -1845,7 +1845,7 @@ $(out_object_file): $(out_file) $(CONFIG
- output.h $(INSN_ATTR_H) $(SYSTEM_H) toplev.h $(TARGET_H) libfuncs.h \
- $(TARGET_DEF_H) function.h sched-int.h $(TM_P_H) $(EXPR_H) $(OPTABS_H) \
- langhooks.h
-- $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
-+ $(CC) -c $(ALL_CFLAGS) -fno-stack-protector $(ALL_CPPFLAGS) $(INCLUDES) \
- $(out_file) $(OUTPUT_OPTION)
-
- # Build auxiliary files that support ecoff format.
diff --git a/sys-devel/gcc/files/3.4.1/gcc-3.4.1-r2-gentoo-branding.patch b/sys-devel/gcc/files/3.4.1/gcc-3.4.1-r2-gentoo-branding.patch
deleted file mode 100644
index 88c2cfab22a2..000000000000
--- a/sys-devel/gcc/files/3.4.1/gcc-3.4.1-r2-gentoo-branding.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- gcc/version.c.old 2004-05-20 05:20:46.352804640 -0400
-+++ gcc/version.c 2004-05-20 05:23:53.833303272 -0400
-@@ -5,7 +5,7 @@
- please modify this string to indicate that, e.g. by putting your
- organization's name in parentheses at the end of the string. */
-
--const char version_string[] = "3.4.2 20040803 (prerelease)";
-+const char version_string[] = "3.4.1 @GENTOO@";
-
- /* This is the location of the online document giving instructions for
- reporting bugs. If you distribute a modified version of GCC,
-@@ -14,4 +14,4 @@
- forward us bugs reported to you, if you determine that they are
- not bugs in your modifications.) */
-
--const char bug_report_url[] = "<URL:http://gcc.gnu.org/bugs.html>";
-+const char bug_report_url[] = "<URL:http://bugs.gentoo.org/>";
diff --git a/sys-devel/gcc/files/mkinfodir b/sys-devel/gcc/files/mkinfodir
deleted file mode 100644
index a62840ee86ee..000000000000
--- a/sys-devel/gcc/files/mkinfodir
+++ /dev/null
@@ -1,233 +0,0 @@
-#!/bin/bash
-# $Id: mkinfodir,v 1.1 2001/09/01 07:56:19 drobbins Exp $
-# Generate the top-level Info node, given a directory of Info files
-# and (optionally) a skeleton file. The output will be suitable for a
-# top-level dir file. The skeleton file contains info topic names in the
-# order they should appear in the output. There are three special
-# lines that alter the behavior: a line consisting of just "--" causes
-# the next line to be echoed verbatim to the output. A line
-# containing just "%%" causes all the remaining filenames (wildcards
-# allowed) in the rest of the file to be ignored. A line containing
-# just "!!" exits the script when reached (unless preceded by a line
-# containing just "--"). Once the script reaches the end of the
-# skeleton file, it goes through the remaining files in the directory
-# in order, putting their entries at the end. The script will use the
-# ENTRY information in each info file if it exists. Otherwise it will
-# make a minimal entry.
-
-# sent by Jeffrey Osier <jeffrey@cygnus.com>, who thinks it came from
-# zoo@winternet.com (david d `zoo' zuhn)
-
-# modified 7 April 1995 by Joe Harrington <jh@tecate.gsfc.nasa.gov> to
-# take special flags
-
-INFODIR=$1
-if [ $# = 2 ] ; then
- SKELETON=$2
-else
- SKELETON=/dev/null
-fi
-
-skip=
-
-if [ $# -gt 2 ] ; then
- echo usage: $0 info-directory [ skeleton-file ] 1>&2
- exit 1
-elif [ -z "${INFODIR}" ] ; then
- INFODIR="%%DEFAULT_INFO_DIR%%"
-else
- true
-fi
-
-if [ ! -d ${INFODIR} ] ; then
- echo "$0: first argument must specify a directory"
- exit 1
-fi
-
-### output the dir header
-echo "-*- Text -*-"
-echo "This file was generated automatically by $0."
-echo "This version was generated on `date`"
-echo "by `whoami`@`hostname` for `(cd ${INFODIR}; pwd)`"
-
-cat << moobler
-\$Id: mkinfodir,v 1.1 2001/09/01 07:56:19 drobbins Exp $
-This is the file .../info/dir, which contains the topmost node of the
-Info hierarchy. The first time you invoke Info you start off
-looking at that node, which is (dir)Top.
-
-File: dir Node: Top This is the top of the INFO tree
-
- This (the Directory node) gives a menu of major topics.
- Typing "q" exits, "?" lists all Info commands, "d" returns here,
- "h" gives a primer for first-timers,
- "mEmacs<Return>" visits the Emacs topic, etc.
-
- In Emacs, you can click mouse button 2 on a menu item or cross reference
- to select it.
-
-* Menu: The list of major topics begins on the next line.
-
-moobler
-
-### go through the list of files in the skeleton. If an info file
-### exists, grab the ENTRY information from it. If an entry exists
-### use it, otherwise create a minimal dir entry.
-###
-### Then remove that file from the list of existing files. If any
-### additional files remain (ones that don't have a skeleton entry),
-### then generate entries for those in the same way, putting the info for
-### those at the end....
-
-infofiles=`(cd ${INFODIR}; /bin/ls | grep -v '\-[0-9]*\.gz$' | grep -v '\-[0-9]*$' | egrep -v '^dir$|^dir\.info$|^dir\.orig$')`
-
-# echoing gets clobbered by backquotes; we do it the hard way...
-lines=`wc $SKELETON | awk '{print $1}'`
-line=1
-while [ $lines -ge $line ] ; do
- # Read one line from the file. This is so that we can echo lines with
- # whitespace and quoted characters in them.
- fileline=`awk NR==$line $SKELETON`
-
- # flag fancy features
- if [ ! -z "$echoline" ] ; then # echo line
- echo "$fileline"
- fileline=
- echoline=
- elif [ "${fileline}" = "--" ] ; then # should we echo the next line?
- echoline=1
- elif [ "${fileline}" = "%%" ] ; then # eliminate remaining files from dir?
- skip=1
- elif [ "${fileline}" = "!!" ] ; then # quit now
- exit 0
- fi
-
- # handle files if they exist
- for file in $fileline"" ; do # expand wildcards ("" handles blank lines)
-
- fname=
-
- if [ -z "$echoline" -a ! -z "$file" ] ; then
-
- # Find the file to operate upon. Check both possible names.
- infoname=`echo $file | sed 's/\.gz$//'`
- infoname=`echo $infoname | sed 's/\.info$//'`
- noext=
- ext=
- if [ -f ${INFODIR}/$infoname ] ; then
- noext=$infoname
- fi
- if [ -f ${INFODIR}/${infoname}.info ] ; then
- ext=${infoname}.info
- fi
- if [ -f ${INFODIR}/${infoname}.info.gz ] ; then
- ext=${infoname}.info.gz
- fi
- # If it exists with both names take what was said in the file.
- if [ ! -z "$ext" -a ! -z "$noext" ]; then
- fname=$file
- warn="### Warning: $ext and $noext both exist! Using ${file}. ###"
- elif [ ! \( -z "$ext" -a -z "$noext" \) ]; then
- # just take the name if it exists only once
- fname=${noext}${ext}
- fi
-
- # if we found something and aren't skipping, do the entry
- if [ ! -z "$fname" ] ; then
- if [ -z "$skip" ] ; then
-
- if [ ! -z "$warn" ] ; then # issue any warning
- echo $warn
- warn=
- fi
- if [ "${fname##*.}" = "gz" ] ; then
- entry=`zcat ${INFODIR}/${fname} | sed -e '1,/START-INFO-DIR-ENTRY/d' \
- -e '/END-INFO-DIR-ENTRY/,$d' `
- else
- entry=`sed -e '1,/START-INFO-DIR-ENTRY/d' \
- -e '/END-INFO-DIR-ENTRY/,$d' ${INFODIR}/$fname`
- fi
- if [ ! -z "${entry}" ] ; then
- echo "${entry}"
- else
- echo "* ${infoname}: (${infoname})."
- fi
- fi
-
- # remove the name from the directory listing
- infofiles=`echo "" ${infofiles} "" | sed -e "s/ ${fname} / /" -e "s/ / /g"`
-
- fi
-
- fi
-
- done
-
- line=`expr $line + 1`
-done
-
-if [ -z "${infofiles}" ] ; then
- exit 0
-elif [ $lines -gt 0 ]; then
- echo
-fi
-
-# Sort remaining files by INFO-DIR-SECTION.
-prevsect=
-filesectdata=`(cd ${INFODIR}; fgrep INFO-DIR-SECTION /dev/null ${infofiles} | \
- fgrep -v 'INFO-DIR-SECTION Miscellaneous' | \
- sort -t: -k2 -k1 | tr ' ' '_')`
-for sectdata in ${filesectdata}; do
- file=`echo ${sectdata} | cut -d: -f1`
- section=`sed -n -e 's/^INFO-DIR-SECTION //p' ${INFODIR}/${file}`
- infofiles=`echo "" ${infofiles} "" | sed -e "s/ ${file} / /" -e "s/ / /g"`
-
- if [ "${prevsect}" != "${section}" ] ; then
- if [ ! -z "${prevsect}" ] ; then
- echo ""
- fi
- echo "${section}"
- prevsect="${section}"
- fi
- infoname=`echo $file | sed 's/\.gz$//'`
- infoname=`echo $infoname | sed 's/\.info$//'`
- if [ "${file##*.}" = "gz" ] ; then
- entry=`zcat ${INFODIR}/$file | sed -e '1,/START-INFO-DIR-ENTRY/d' \
- -e '/END-INFO-DIR-ENTRY/,$d' `
- else
- entry=`sed -e '1,/START-INFO-DIR-ENTRY/d' \
- -e '/END-INFO-DIR-ENTRY/,$d' ${INFODIR}/$file`
- fi
- if [ ! -z "${entry}" ] ; then
- echo "${entry}"
- elif [ ! -d "${INFODIR}/${file}" ] ; then
- echo "* ${infoname}: (${infoname})."
- fi
-done
-
-# Process miscellaneous files.
-for file in ${infofiles}; do
- if [ ! -z "${prevsect}" ] ; then
- echo ""
- echo "Miscellaneous"
- prevsect=""
- fi
-
- infoname=`echo $file | sed 's/\.gz$//'`
- infoname=`echo $infoname | sed 's/\.info$//'`
- if [ "${file##*.}" = "gz" ] ; then
- entry=`zcat ${INFODIR}/${file} | sed -e '1,/START-INFO-DIR-ENTRY/d' \
- -e '/END-INFO-DIR-ENTRY/,$d'`
- else
- entry=`sed -e '1,/START-INFO-DIR-ENTRY/d' \
- -e '/END-INFO-DIR-ENTRY/,$d' ${INFODIR}/$file`
- fi
-
-
- if [ ! -z "${entry}" ] ; then
- echo "${entry}"
- elif [ ! -d "${INFODIR}/${file}" ] ; then
- echo "* ${infoname}: (${infoname})."
- fi
-done
-
diff --git a/sys-devel/gcc/gcc-4.3.3-r2.ebuild b/sys-devel/gcc/gcc-4.3.3-r2.ebuild
deleted file mode 100644
index 24d73b773442..000000000000
--- a/sys-devel/gcc/gcc-4.3.3-r2.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.3.3-r2.ebuild,v 1.17 2013/04/12 06:47:58 ulm Exp $
-
-PATCH_VER="1.2"
-UCLIBC_VER="1.1"
-
-# Hardened gcc 4 stuff
-PIE_VER="10.1.5"
-SPECS_VER="0.9.4"
-
-# arch/libc configurations known to be stable or untested with {PIE,SSP,FORTIFY}-by-default
-PIE_GLIBC_STABLE="x86 amd64 ~ppc ~ppc64 ~arm ~sparc"
-PIE_UCLIBC_STABLE="x86 arm"
-#SSP_STABLE="amd64 x86 ppc ppc64 ~arm ~sparc"
-#SSP_UCLIBC_STABLE=""
-
-inherit toolchain
-
-DESCRIPTION="The GNU Compiler Collection"
-
-LICENSE="GPL-3+ LGPL-3+ || ( GPL-3+ libgcc libstdc++ ) FDL-1.2+"
-KEYWORDS="~alpha ~amd64 ~arm -hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
-
-RDEPEND=""
-DEPEND="${RDEPEND}
- ppc? ( >=${CATEGORY}/binutils-2.17 )
- ppc64? ( >=${CATEGORY}/binutils-2.17 )
- >=${CATEGORY}/binutils-2.15.94"
-if [[ ${CATEGORY} != cross-* ]] ; then
- PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
-fi
-
-src_unpack() {
- toolchain_src_unpack
-
- use vanilla && return 0
-
- sed -i 's/use_fixproto=yes/:/' gcc/config.gcc #PR33200
-
- [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch
-
- [[ ${CTARGET} == *-softfloat-* ]] && epatch "${FILESDIR}"/4.3.2/gcc-4.3.2-softfloat.patch
-}
diff --git a/sys-devel/gcc/gcc-4.3.4.ebuild b/sys-devel/gcc/gcc-4.3.4.ebuild
deleted file mode 100644
index 909e8e366f97..000000000000
--- a/sys-devel/gcc/gcc-4.3.4.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.3.4.ebuild,v 1.24 2013/10/05 04:08:32 dirtyepic Exp $
-
-PATCH_VER="1.4"
-UCLIBC_VER="1.0"
-
-# Hardened gcc 4 stuff
-PIE_VER="10.1.5"
-SPECS_VER="0.9.4"
-
-# arch/libc configurations known to be stable or untested with {PIE,SSP,FORTIFY}-by-default
-PIE_GLIBC_STABLE="x86 amd64 ~ppc ~ppc64 ~arm ~sparc"
-PIE_UCLIBC_STABLE="x86 arm"
-#SSP_STABLE="amd64 x86 ppc ppc64 ~arm ~sparc"
-#SSP_UCLIBC_STABLE=""
-
-inherit toolchain
-
-DESCRIPTION="The GNU Compiler Collection"
-
-LICENSE="GPL-3+ LGPL-3+ || ( GPL-3+ libgcc libstdc++ ) FDL-1.2+"
-KEYWORDS="alpha amd64 arm -hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd"
-
-RDEPEND=""
-DEPEND="${RDEPEND}
- ppc? ( >=${CATEGORY}/binutils-2.17 )
- ppc64? ( >=${CATEGORY}/binutils-2.17 )
- >=${CATEGORY}/binutils-2.15.94"
-if [[ ${CATEGORY} != cross-* ]] ; then
- PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
-fi
-
-src_unpack() {
- toolchain_src_unpack
-
- use vanilla && return 0
-
- sed -i 's/use_fixproto=yes/:/' gcc/config.gcc #PR33200
-
- [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch
-
- [[ ${CTARGET} == *-softfloat-* ]] && epatch "${FILESDIR}"/4.3.2/gcc-4.3.2-softfloat.patch
-}
diff --git a/sys-devel/gcc/gcc-4.3.5.ebuild b/sys-devel/gcc/gcc-4.3.5.ebuild
deleted file mode 100644
index 8a21dcaab084..000000000000
--- a/sys-devel/gcc/gcc-4.3.5.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.3.5.ebuild,v 1.11 2013/04/12 06:47:58 ulm Exp $
-
-PATCH_VER="1.1"
-UCLIBC_VER="1.0"
-
-# Hardened gcc 4 stuff
-PIE_VER="10.1.5"
-SPECS_VER="0.9.4"
-
-# arch/libc configurations known to be stable or untested with {PIE,SSP,FORTIFY}-by-default
-PIE_GLIBC_STABLE="x86 amd64 ppc ppc64 arm sparc"
-PIE_UCLIBC_STABLE="x86 arm"
-#SSP_STABLE="amd64 x86 ppc ppc64 ~arm ~sparc"
-#SSP_UCLIBC_STABLE=""
-
-inherit toolchain
-
-DESCRIPTION="The GNU Compiler Collection"
-
-LICENSE="GPL-3+ LGPL-3+ || ( GPL-3+ libgcc libstdc++ ) FDL-1.2+"
-KEYWORDS="~alpha ~amd64 ~arm -hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
-
-RDEPEND=""
-DEPEND="${RDEPEND}
- ppc? ( >=${CATEGORY}/binutils-2.17 )
- ppc64? ( >=${CATEGORY}/binutils-2.17 )
- >=${CATEGORY}/binutils-2.15.94"
-if [[ ${CATEGORY} != cross-* ]] ; then
- PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
-fi
-
-src_unpack() {
- toolchain_src_unpack
-
- use vanilla && return 0
-
- sed -i 's/use_fixproto=yes/:/' gcc/config.gcc #PR33200
-
- [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch
-
- [[ ${CTARGET} == *-softfloat-* ]] && epatch "${FILESDIR}"/4.3.2/gcc-4.3.2-softfloat.patch
-}
diff --git a/sys-devel/gcc/gcc-4.4.2.ebuild b/sys-devel/gcc/gcc-4.4.2.ebuild
deleted file mode 100644
index b6d21d922eb6..000000000000
--- a/sys-devel/gcc/gcc-4.4.2.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.4.2.ebuild,v 1.13 2013/04/12 06:47:58 ulm Exp $
-
-PATCH_VER="1.0"
-UCLIBC_VER="1.0"
-
-# Hardened gcc 4 stuff
-#PIE_VER="10.1.5"
-#SPECS_VER="0.9.4"
-
-# arch/libc configurations known to be stable or untested with {PIE,SSP,FORTIFY}-by-default
-#PIE_GLIBC_STABLE="x86 amd64 ~ppc ~ppc64 ~arm ~sparc"
-#PIE_UCLIBC_STABLE="x86 arm"
-#SSP_STABLE="amd64 x86 ppc ppc64 ~arm ~sparc"
-#SSP_UCLIBC_STABLE=""
-
-inherit toolchain
-
-DESCRIPTION="The GNU Compiler Collection"
-
-LICENSE="GPL-3+ LGPL-3+ || ( GPL-3+ libgcc libstdc++ gcc-runtime-library-exception-3.1 ) FDL-1.2+"
-KEYWORDS="~alpha ~amd64 ~arm -hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 -sparc ~x86 ~x86-fbsd"
-
-RDEPEND=""
-DEPEND="${RDEPEND}
- elibc_glibc? ( >=sys-libs/glibc-2.8 )
- ppc? ( >=${CATEGORY}/binutils-2.17 )
- ppc64? ( >=${CATEGORY}/binutils-2.17 )
- >=${CATEGORY}/binutils-2.15.94"
-if [[ ${CATEGORY} != cross-* ]] ; then
- PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
-fi
-
-src_unpack() {
- toolchain_src_unpack
-
- use vanilla && return 0
-
- sed -i 's/use_fixproto=yes/:/' gcc/config.gcc #PR33200
-
- [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch
-
- [[ ${CTARGET} == *-softfloat-* ]] && epatch "${FILESDIR}"/4.4.0/gcc-4.4.0-softfloat.patch
-}
diff --git a/sys-devel/gcc/gcc-4.4.3-r3.ebuild b/sys-devel/gcc/gcc-4.4.3-r3.ebuild
deleted file mode 100644
index f302a4c9c5a7..000000000000
--- a/sys-devel/gcc/gcc-4.4.3-r3.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.4.3-r3.ebuild,v 1.16 2013/10/05 04:08:32 dirtyepic Exp $
-
-PATCH_VER="1.4"
-UCLIBC_VER="1.0"
-
-# Hardened gcc 4 stuff
-PIE_VER="0.4.5"
-SPECS_VER="0.2.0"
-# arch/libc configurations known to be stable with {PIE,SSP}-by-default
-PIE_GLIBC_STABLE="x86 amd64 ppc ppc64 arm ia64"
-PIE_UCLIBC_STABLE="x86 amd64 arm ppc ppc64"
-SSP_STABLE="amd64 x86 amd64 ppc ppc64 arm"
-# uclibc need tls and nptl support for SSP support
-SSP_UCLIBC_STABLE=""
-#end Hardened stuff
-
-inherit toolchain
-
-DESCRIPTION="The GNU Compiler Collection"
-
-LICENSE="GPL-3+ LGPL-3+ || ( GPL-3+ libgcc libstdc++ gcc-runtime-library-exception-3.1 ) FDL-1.2+"
-KEYWORDS="~alpha ~amd64 arm -hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
-
-RDEPEND=""
-DEPEND="${RDEPEND}
- elibc_glibc? ( >=sys-libs/glibc-2.8 )
- ppc? ( >=${CATEGORY}/binutils-2.17 )
- ppc64? ( >=${CATEGORY}/binutils-2.17 )
- >=${CATEGORY}/binutils-2.15.94"
-if [[ ${CATEGORY} != cross-* ]] ; then
- PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
-fi
-
-src_unpack() {
- toolchain_src_unpack
-
- use vanilla && return 0
-
- sed -i 's/use_fixproto=yes/:/' gcc/config.gcc #PR33200
-
- [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch
-
- [[ ${CTARGET} == *-softfloat-* ]] && epatch "${FILESDIR}"/4.4.0/gcc-4.4.0-softfloat.patch
-}
diff --git a/sys-devel/gcc/gcc-4.4.4-r2.ebuild b/sys-devel/gcc/gcc-4.4.4-r2.ebuild
deleted file mode 100644
index a89289081a31..000000000000
--- a/sys-devel/gcc/gcc-4.4.4-r2.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.4.4-r2.ebuild,v 1.19 2013/10/05 04:08:32 dirtyepic Exp $
-
-PATCH_VER="1.4"
-UCLIBC_VER="1.0"
-
-# Hardened gcc 4 stuff
-PIE_VER="0.4.5"
-SPECS_VER="0.2.0"
-SPECS_GCC_VER="4.4.3"
-# arch/libc configurations known to be stable with {PIE,SSP}-by-default
-PIE_GLIBC_STABLE="x86 amd64 ppc ppc64 arm ia64"
-PIE_UCLIBC_STABLE="x86 arm amd64 ppc ppc64"
-SSP_STABLE="amd64 x86 ppc ppc64 arm"
-# uclibc need tls and nptl support for SSP support
-SSP_UCLIBC_STABLE=""
-#end Hardened stuff
-
-inherit toolchain
-
-DESCRIPTION="The GNU Compiler Collection"
-
-LICENSE="GPL-3+ LGPL-3+ || ( GPL-3+ libgcc libstdc++ gcc-runtime-library-exception-3.1 ) FDL-1.2+"
-KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd"
-
-RDEPEND=""
-DEPEND="${RDEPEND}
- elibc_glibc? ( >=sys-libs/glibc-2.8 )
- ppc? ( >=${CATEGORY}/binutils-2.17 )
- ppc64? ( >=${CATEGORY}/binutils-2.17 )
- >=${CATEGORY}/binutils-2.15.94"
-if [[ ${CATEGORY} != cross-* ]] ; then
- PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
-fi
-
-src_unpack() {
- toolchain_src_unpack
-
- use vanilla && return 0
-
- sed -i 's/use_fixproto=yes/:/' gcc/config.gcc #PR33200
-
- [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch
-
- [[ ${CTARGET} == *-softfloat-* ]] && epatch "${FILESDIR}"/4.4.0/gcc-4.4.0-softfloat.patch
-}
diff --git a/sys-devel/gcc/gcc-4.4.5.ebuild b/sys-devel/gcc/gcc-4.4.5.ebuild
deleted file mode 100644
index 1bb7bcd4eb0e..000000000000
--- a/sys-devel/gcc/gcc-4.4.5.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.4.5.ebuild,v 1.17 2013/10/05 04:08:32 dirtyepic Exp $
-
-PATCH_VER="1.3"
-UCLIBC_VER="1.0"
-
-# Hardened gcc 4 stuff
-PIE_VER="0.4.5"
-SPECS_VER="0.2.0"
-SPECS_GCC_VER="4.4.3"
-# arch/libc configurations known to be stable with {PIE,SSP}-by-default
-PIE_GLIBC_STABLE="x86 amd64 ppc ppc64 arm ia64"
-PIE_UCLIBC_STABLE="x86 arm amd64 ppc ppc64"
-SSP_STABLE="amd64 x86 ppc ppc64 arm"
-# uclibc need tls and nptl support for SSP support
-SSP_UCLIBC_STABLE=""
-#end Hardened stuff
-
-inherit toolchain
-
-DESCRIPTION="The GNU Compiler Collection"
-
-LICENSE="GPL-3+ LGPL-3+ || ( GPL-3+ libgcc libstdc++ gcc-runtime-library-exception-3.1 ) FDL-1.2+"
-KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd"
-
-RDEPEND=""
-DEPEND="${RDEPEND}
- elibc_glibc? ( >=sys-libs/glibc-2.8 )
- ppc? ( >=${CATEGORY}/binutils-2.17 )
- ppc64? ( >=${CATEGORY}/binutils-2.17 )
- >=${CATEGORY}/binutils-2.15.94"
-if [[ ${CATEGORY} != cross-* ]] ; then
- PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
-fi
-
-src_unpack() {
- toolchain_src_unpack
- use vanilla && return 0
-
- sed -i 's/use_fixproto=yes/:/' gcc/config.gcc #PR33200
-
- [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch
- [[ ${CTARGET} == *-softfloat-* ]] && epatch "${FILESDIR}"/4.4.0/gcc-4.4.0-softfloat.patch
-}
diff --git a/sys-devel/gcc/gcc-4.4.6-r1.ebuild b/sys-devel/gcc/gcc-4.4.6-r1.ebuild
deleted file mode 100644
index 6cef3f01315a..000000000000
--- a/sys-devel/gcc/gcc-4.4.6-r1.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.4.6-r1.ebuild,v 1.13 2013/10/05 04:08:32 dirtyepic Exp $
-
-PATCH_VER="1.0"
-UCLIBC_VER="1.0"
-
-# Hardened gcc 4 stuff
-PIE_VER="0.4.5"
-SPECS_VER="0.2.0"
-SPECS_GCC_VER="4.4.3"
-# arch/libc configurations known to be stable with {PIE,SSP}-by-default
-PIE_GLIBC_STABLE="x86 amd64 ppc ppc64 arm ia64"
-PIE_UCLIBC_STABLE="x86 arm amd64 ppc ppc64"
-SSP_STABLE="amd64 x86 ppc ppc64 arm"
-# uclibc need tls and nptl support for SSP support
-SSP_UCLIBC_STABLE=""
-#end Hardened stuff
-
-inherit toolchain
-
-DESCRIPTION="The GNU Compiler Collection"
-
-LICENSE="GPL-3+ LGPL-3+ || ( GPL-3+ libgcc libstdc++ gcc-runtime-library-exception-3.1 ) FDL-1.2+"
-KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd"
-
-RDEPEND=""
-DEPEND="${RDEPEND}
- elibc_glibc? ( >=sys-libs/glibc-2.8 )
- ppc? ( >=${CATEGORY}/binutils-2.17 )
- ppc64? ( >=${CATEGORY}/binutils-2.17 )
- >=${CATEGORY}/binutils-2.15.94"
-if [[ ${CATEGORY} != cross-* ]] ; then
- PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
-fi
-
-src_unpack() {
- toolchain_src_unpack
- use vanilla && return 0
-
- sed -i 's/use_fixproto=yes/:/' gcc/config.gcc #PR33200
-
- [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch
- [[ ${CTARGET} == *-softfloat-* ]] && epatch "${FILESDIR}"/4.4.0/gcc-4.4.0-softfloat.patch
-}