* [gentoo-commits] proj/gcc-patches:master commit in: 3.3.6/gentoo/
@ 2018-09-15 18:46 Sergei Trofimovich
0 siblings, 0 replies; 11+ messages in thread
From: Sergei Trofimovich @ 2018-09-15 18:46 UTC (permalink / raw
To: gentoo-commits
commit: 57827a2dbb31f225eaeb61a296fdbf0d49c88dc5
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 15 18:45:48 2018 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Sep 15 18:45:48 2018 +0000
URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=57827a2d
3.3.6: Fix for removal of struct ucontext in glibc 2.26
Fix by Christian Schmidt.
Bug: https://bugs.gentoo.org/664486
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
3.3.6/gentoo/89_all_gcc-3.3.x-ucontext.patch | 58 ++++++++++++++++++++++++++++
3.3.6/gentoo/README.history | 2 +
2 files changed, 60 insertions(+)
diff --git a/3.3.6/gentoo/89_all_gcc-3.3.x-ucontext.patch b/3.3.6/gentoo/89_all_gcc-3.3.x-ucontext.patch
new file mode 100644
index 0000000..dd5bfe9
--- /dev/null
+++ b/3.3.6/gentoo/89_all_gcc-3.3.x-ucontext.patch
@@ -0,0 +1,58 @@
+Fix for removal of struct ucontext in glibc 2.26
+
+Fix by Christian Schmidt.
+
+Bug: https://bugs.gentoo.org/664486
+--- a/gcc/config/alpha/linux.h
++++ b/gcc/config/alpha/linux.h
+@@ -89,7 +89,7 @@ Boston, MA 02111-1307, USA. */
+ { \
+ struct rt_sigframe { \
+ siginfo_t info; \
+- struct ucontext uc; \
++ ucontext_t uc; \
+ } *rt_ = (CONTEXT)->cfa; \
+ sc_ = &rt_->uc.uc_mcontext; \
+ } \
+--- a/gcc/config/i386/linux.h
++++ b/gcc/config/i386/linux.h
+@@ -260,7 +260,7 @@ Boston, MA 02111-1307, USA. */
+ siginfo_t *pinfo; \
+ void *puc; \
+ siginfo_t info; \
+- struct ucontext uc; \
++ ucontext_t uc; \
+ } *rt_ = (CONTEXT)->cfa; \
+ sc_ = (struct sigcontext *) &rt_->uc.uc_mcontext; \
+ } \
+--- a/gcc/config/i386/linux64.h
++++ b/gcc/config/i386/linux64.h
+@@ -112,7 +112,7 @@ Boston, MA 02111-1307, USA. */
+ if (*(unsigned char *)(pc_+0) == 0x48 \
+ && *(unsigned long *)(pc_+1) == 0x050f0000000fc0c7) \
+ { \
+- struct ucontext *uc_ = (CONTEXT)->cfa; \
++ ucontext_t *uc_ = (CONTEXT)->cfa; \
+ sc_ = (struct sigcontext *) &uc_->uc_mcontext; \
+ } \
+ else \
+@@ -182,7 +182,7 @@ Boston, MA 02111-1307, USA. */
+ siginfo_t *pinfo; \
+ void *puc; \
+ siginfo_t info; \
+- struct ucontext uc; \
++ ucontext_t uc; \
+ } *rt_ = (CONTEXT)->cfa; \
+ sc_ = (struct sigcontext *) &rt_->uc.uc_mcontext; \
+ } \
+--- a/gcc/config/rs6000/linux.h
++++ b/gcc/config/rs6000/linux.h
+@@ -101,7 +101,7 @@ Boston, MA 02111-1307, USA. */
+
+ struct kernel_old_ucontext {
+ unsigned long uc_flags;
+- struct ucontext *uc_link;
++ ucontext_t *uc_link;
+ stack_t uc_stack;
+ struct sigcontext_struct uc_mcontext;
+ sigset_t uc_sigmask;
diff --git a/3.3.6/gentoo/README.history b/3.3.6/gentoo/README.history
index a2b5ae8..bc906b3 100644
--- a/3.3.6/gentoo/README.history
+++ b/3.3.6/gentoo/README.history
@@ -1,3 +1,5 @@
+1.10 TODO
+ + 89_all_gcc-3.3.x-ucontext.patch
1.9 06 Apr 2015
R 05_all_gcc-4.3.x-siginfo.patch -> 05_all_gcc-3.3.x-siginfo.patch
+ 10_all_gcc-3.4.6-c-parse-bison-3.patch
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] proj/gcc-patches:master commit in: 3.3.6/gentoo/
@ 2018-09-30 12:16 Sergei Trofimovich
0 siblings, 0 replies; 11+ messages in thread
From: Sergei Trofimovich @ 2018-09-30 12:16 UTC (permalink / raw
To: gentoo-commits
commit: c0986555810d6795912a6a20185197c4e612bedd
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 30 12:16:13 2018 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Sep 30 12:16:13 2018 +0000
URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=c0986555
3.3.6: add 90_all_libtool-pass-all.patch
Fix shared library detection by libtool.
Before the patch libtool was not able to see
through linker scripts and rejected -lc and -lm existence.
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
3.3.6/gentoo/90_all_libtool-pass-all.patch | 163 +++++++++++++++++++++++++++++
3.3.6/gentoo/README.history | 2 +
2 files changed, 165 insertions(+)
diff --git a/3.3.6/gentoo/90_all_libtool-pass-all.patch b/3.3.6/gentoo/90_all_libtool-pass-all.patch
new file mode 100644
index 0000000..735c5ea
--- /dev/null
+++ b/3.3.6/gentoo/90_all_libtool-pass-all.patch
@@ -0,0 +1,163 @@
+Unbreak libc and libm detection by libtool when those
+are linker scripts: use file presence as a signal,
+not the output of 'file' command on linux-gnu*.
+
+Backport of upstream patch:
+
+From 7f93fe7a469fb4d342d90736e801fcafb23b5a8b Mon Sep 17 00:00:00 2001
+From: kcook <kcook@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Wed, 24 Nov 2004 22:04:38 +0000
+Subject: [PATCH] 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
+
+ * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Import linux-gnu case
+ from CVS libtool to always pass_all.
+ * boehm-gc/configure: Regenerate.
+ * libffi/configure: Regenerate.
+ * libgfortran/configure: Regenerate.
+ * libjava/configure: Regenerate.
+ * libobjc/configure: Regenerate.
+ * libstdc++-v3/configure: Regenerate.
+ * zlib/configure: Regenerate.
+
+
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91200 138bc75d-0d04-0410-961f-82ee72b054a4
+---
+ ChangeLog | 5 +
+ boehm-gc/ChangeLog | 4 +
+ boehm-gc/configure | 11 +-
+ libffi/ChangeLog | 4 +
+ libffi/configure | 11 +-
+ libgfortran/ChangeLog | 4 +
+ libgfortran/configure | 13 +-
+ libjava/ChangeLog | 4 +
+ libjava/aclocal.m4 | 2 +-
+ libjava/configure | 322 +++++++++++++++++++++++++----------------
+ libobjc/ChangeLog | 4 +
+ libobjc/configure | 13 +-
+ libstdc++-v3/ChangeLog | 4 +
+ libstdc++-v3/configure | 13 +-
+ libtool.m4 | 9 +-
+ zlib/ChangeLog.gcj | 4 +
+ zlib/configure | 11 +-
+ 17 files changed, 249 insertions(+), 189 deletions(-)
+
+--- a/boehm-gc/configure
++++ b/boehm-gc/configure
+@@ -4317,13 +4317,6 @@ irix5* | irix6*)
+
+ # This must be Linux ELF.
+ linux-gnu*)
+- case $host_cpu in
+- alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* )
+- lt_cv_deplibs_check_method=pass_all ;;
+- *)
+- # glibc up to 2.1.1 does not perform some relocations on ARM
+- lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
+- esac
+- lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
++ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+--- a/libffi/configure
++++ b/libffi/configure
+@@ -3454,13 +3454,6 @@ irix5* | irix6*)
+
+ # This must be Linux ELF.
+ linux-gnu*)
+- case $host_cpu in
+- alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* )
+- lt_cv_deplibs_check_method=pass_all ;;
+- *)
+- # glibc up to 2.1.1 does not perform some relocations on ARM
+- lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
+- esac
+- lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
++ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+--- a/libjava/configure
++++ b/libjava/configure
+@@ -4337,13 +4347,6 @@ irix5* | irix6*)
+
+ # This must be Linux ELF.
+ linux-gnu*)
+- case $host_cpu in
+- alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* )
+- lt_cv_deplibs_check_method=pass_all ;;
+- *)
+- # glibc up to 2.1.1 does not perform some relocations on ARM
+- lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
+- esac
+- lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
++ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+--- a/libobjc/configure
++++ b/libobjc/configure
+@@ -3269,13 +3269,6 @@ irix5* | irix6*)
+
+ # This must be Linux ELF.
+ linux-gnu*)
+- case $host_cpu in
+- alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* )
+- lt_cv_deplibs_check_method=pass_all ;;
+- *)
+- # glibc up to 2.1.1 does not perform some relocations on ARM
+- lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
+- esac
+- lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
++ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+index e87d8b27130..0024e82faa2 100755
+--- a/libstdc++-v3/configure
++++ b/libstdc++-v3/configure
+@@ -3995,13 +3995,6 @@ irix5* | irix6*)
+
+ # This must be Linux ELF.
+ linux-gnu*)
+- case $host_cpu in
+- alpha* | hppa* | i*86 | m68* | powerpc* | sparc* | ia64* | sh* )
+- lt_cv_deplibs_check_method=pass_all ;;
+- *)
+- # glibc up to 2.1.1 does not perform some relocations on ARM
+- lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
+- esac
+- lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
++ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+--- a/libtool.m4
++++ b/libtool.m4
+@@ -679,13 +679,6 @@ irix5* | irix6*)
+
+ # This must be Linux ELF.
+ linux-gnu*)
+- case $host_cpu in
+- alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* )
+- lt_cv_deplibs_check_method=pass_all ;;
+- *)
+- # glibc up to 2.1.1 does not perform some relocations on ARM
+- lt_cv_deplibs_check_method=['file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'] ;;
+- esac
+- lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
++ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+--- a/zlib/configure
++++ b/zlib/configure
+@@ -3423,13 +3423,6 @@ irix5* | irix6*)
+
+ # This must be Linux ELF.
+ linux-gnu*)
+- case $host_cpu in
+- alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* )
+- lt_cv_deplibs_check_method=pass_all ;;
+- *)
+- # glibc up to 2.1.1 does not perform some relocations on ARM
+- lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
+- esac
+- lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
++ lt_cv_deplibs_check_method=pass_all
+ ;;
+
diff --git a/3.3.6/gentoo/README.history b/3.3.6/gentoo/README.history
index bc906b3..8cf625a 100644
--- a/3.3.6/gentoo/README.history
+++ b/3.3.6/gentoo/README.history
@@ -1,5 +1,7 @@
1.10 TODO
+ 89_all_gcc-3.3.x-ucontext.patch
+ + 90_all_libtool-pass-all.patch
+
1.9 06 Apr 2015
R 05_all_gcc-4.3.x-siginfo.patch -> 05_all_gcc-3.3.x-siginfo.patch
+ 10_all_gcc-3.4.6-c-parse-bison-3.patch
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] proj/gcc-patches:master commit in: 3.3.6/gentoo/
@ 2018-09-30 16:45 Sergei Trofimovich
0 siblings, 0 replies; 11+ messages in thread
From: Sergei Trofimovich @ 2018-09-30 16:45 UTC (permalink / raw
To: gentoo-commits
commit: f4cf8c88325985c2bc2ffe7d4828b410b73732ce
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 30 16:44:40 2018 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Sep 30 16:44:40 2018 +0000
URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=f4cf8c88
3.3.6: fix stage1 bulding against modern toolchain
One new patche:
- 91_all_libexec-gcc-binutils.patch: add /usr/libexec/gcc/<TARGET> to search path
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
3.3.6/gentoo/91_all_libexec-gcc-binutils.patch | 61 ++++++++++++++++++++++++++
3.3.6/gentoo/README.history | 1 +
2 files changed, 62 insertions(+)
diff --git a/3.3.6/gentoo/91_all_libexec-gcc-binutils.patch b/3.3.6/gentoo/91_all_libexec-gcc-binutils.patch
new file mode 100644
index 0000000..8e0e774
--- /dev/null
+++ b/3.3.6/gentoo/91_all_libexec-gcc-binutils.patch
@@ -0,0 +1,61 @@
+Before gcc-3.4 gcc libraries and searched executables
+were in /usr/lib/gcc-lib/<TARGET> (STANDARD_EXEC_PREFIX)
+
+After gcc-3.4 the split happened:
+- /usr/lib/gcc/<TARGET> for libraries (STARDARD_EXEC_PREFIX)
+- /usr/libexec/gcc/<TARGET> for executables (STANDARD_LIBEXEC_PREFIX)
+
+This patch adds STANDARD_LIBEXEC_PREFIX to allow bootstrapping
+on 3.4+-only system.
+--- a/gcc/Makefile.in
++++ b/gcc/Makefile.in
+@@ -323,8 +323,13 @@ exec_prefix = @exec_prefix@
+ bindir = @bindir@
+ # Directory in which to put the directories used by the compiler.
+ libdir = @libdir@
++# Directory in which GCC puts its executables.
++libexecdir = @libexecdir@
++
+ # Directory in which the compiler finds executables, libraries, etc.
+ libsubdir = $(libdir)/gcc-lib/$(target_alias)/$(version)
++# Directory in which the compiler finds executables
++libexecsubdir = $(libexecdir)/gcc/$(target_alias)/$(version)
+ # Used to produce a relative $(gcc_tooldir) in gcc.o
+ unlibsubdir = ../../..
+ # Directory in which to find other cross-compilation tools and headers.
+@@ -726,6 +731,7 @@ ORDINARY_FLAGS_TO_PASS = \
+ "gcc_tooldir=$(gcc_tooldir)" \
+ "bindir=$(bindir)" \
+ "libsubdir=$(libsubdir)" \
++ "libexecsubdir=$(libsubdir)" \
+ "datadir=$(datadir)" \
+ "localedir=$(localedir)"
+ FLAGS_TO_PASS = $(ORDINARY_FLAGS_TO_PASS) "CC=@cc_set_by_configure@" \
+@@ -1297,6 +1303,7 @@ c-dump.o : c-dump.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(C_TREE_H) tree-dump.h
+ DRIVER_DEFINES = \
+ -DSTANDARD_STARTFILE_PREFIX=\"$(unlibsubdir)/\" \
+ -DSTANDARD_EXEC_PREFIX=\"$(libdir)/gcc-lib/\" \
++ -DSTANDARD_LIBEXEC_PREFIX=\"$(libexecdir)/gcc/\" \
+ -DDEFAULT_TARGET_VERSION=\"$(version)\" \
+ -DDEFAULT_TARGET_MACHINE=\"$(target_alias)\" \
+ -DSTANDARD_BINDIR_PREFIX=\"$(bindir)/\" \
+--- a/gcc/gcc.c
++++ b/gcc/gcc.c
+@@ -1346,6 +1346,8 @@ static const char *const standard_exec_prefix = STANDARD_EXEC_PREFIX;
+ static const char *const standard_exec_prefix_1 = "/usr/lib/gcc/";
+ static const char *md_exec_prefix = MD_EXEC_PREFIX;
+
++static const char *standard_libexec_prefix = STANDARD_LIBEXEC_PREFIX;
++
+ static const char *md_startfile_prefix = MD_STARTFILE_PREFIX;
+ static const char *md_startfile_prefix_1 = MD_STARTFILE_PREFIX_1;
+ static const char *const standard_startfile_prefix = STANDARD_STARTFILE_PREFIX;
+@@ -3718,6 +3720,8 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n"
+ PREFIX_PRIORITY_LAST, 2, warn_std_ptr, 0);
+ add_prefix (&exec_prefixes, standard_exec_prefix_1, "BINUTILS",
+ PREFIX_PRIORITY_LAST, 2, warn_std_ptr, 0);
++ add_prefix (&exec_prefixes, standard_libexec_prefix, "BINUTILS",
++ PREFIX_PRIORITY_LAST, 2, warn_std_ptr, 0);
+ #endif
+
+ add_prefix (&startfile_prefixes, standard_exec_prefix, "BINUTILS",
diff --git a/3.3.6/gentoo/README.history b/3.3.6/gentoo/README.history
index 8cf625a..dc6baaf 100644
--- a/3.3.6/gentoo/README.history
+++ b/3.3.6/gentoo/README.history
@@ -1,6 +1,7 @@
1.10 TODO
+ 89_all_gcc-3.3.x-ucontext.patch
+ 90_all_libtool-pass-all.patch
+ + 91_all_libexec-gcc-binutils.patch
1.9 06 Apr 2015
R 05_all_gcc-4.3.x-siginfo.patch -> 05_all_gcc-3.3.x-siginfo.patch
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] proj/gcc-patches:master commit in: 3.3.6/gentoo/
@ 2018-09-30 17:23 Sergei Trofimovich
0 siblings, 0 replies; 11+ messages in thread
From: Sergei Trofimovich @ 2018-09-30 17:23 UTC (permalink / raw
To: gentoo-commits
commit: 1b793c9a0df943a167dcab7fae0e43333d78946c
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 30 17:20:03 2018 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Sep 30 17:20:03 2018 +0000
URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=1b793c9a
3.3.6: cut 1.10 patchset
Three new patches:
+ 89_all_gcc-3.3.x-ucontext.patch
+ 90_all_libtool-pass-all.patch
+ 91_all_libexec-gcc-binutils.patch
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
3.3.6/gentoo/README.history | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/3.3.6/gentoo/README.history b/3.3.6/gentoo/README.history
index dc6baaf..c7e6497 100644
--- a/3.3.6/gentoo/README.history
+++ b/3.3.6/gentoo/README.history
@@ -1,4 +1,4 @@
-1.10 TODO
+1.10 30 Sep 2018
+ 89_all_gcc-3.3.x-ucontext.patch
+ 90_all_libtool-pass-all.patch
+ 91_all_libexec-gcc-binutils.patch
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] proj/gcc-patches:master commit in: 3.3.6/gentoo/
@ 2018-11-30 23:41 Sergei Trofimovich
0 siblings, 0 replies; 11+ messages in thread
From: Sergei Trofimovich @ 2018-11-30 23:41 UTC (permalink / raw
To: gentoo-commits
commit: a980d0914a363bcf99c36dadc120f9057f5f389d
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 30 23:41:32 2018 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Nov 30 23:41:32 2018 +0000
URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=a980d091
3.3.6: backport libjava ucontext fix
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
3.3.6/gentoo/92_all_ucontext-to-ucontext_t.patch | 13 +++++++++++++
3.3.6/gentoo/README.history | 3 +++
2 files changed, 16 insertions(+)
diff --git a/3.3.6/gentoo/92_all_ucontext-to-ucontext_t.patch b/3.3.6/gentoo/92_all_ucontext-to-ucontext_t.patch
new file mode 100644
index 0000000..f1439df
--- /dev/null
+++ b/3.3.6/gentoo/92_all_ucontext-to-ucontext_t.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/664486
+
+--- a/libjava/include/x86_64-signal.h
++++ b/libjava/include/x86_64-signal.h
+@@ -40,7 +40,7 @@ do \
+ /* Advance the program counter so that it is after the start of the \
+ instruction: the x86_64 exception handler expects \
+ the PC to point to the instruction after a call. */ \
+- struct ucontext *_uc = (struct ucontext *)_p; \
++ ucontext_t *_uc = (ucontext_t *)_p; \
+ volatile struct sigcontext *_sc = (struct sigcontext *) &_uc->uc_mcontext; \
+ _sc->rip += 2; \
+ } \
diff --git a/3.3.6/gentoo/README.history b/3.3.6/gentoo/README.history
index c7e6497..72369ca 100644
--- a/3.3.6/gentoo/README.history
+++ b/3.3.6/gentoo/README.history
@@ -1,3 +1,6 @@
+1.11 TODO
+ + 92_all_ucontext-to-ucontext_t.patch
+
1.10 30 Sep 2018
+ 89_all_gcc-3.3.x-ucontext.patch
+ 90_all_libtool-pass-all.patch
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] proj/gcc-patches:master commit in: 3.3.6/gentoo/
@ 2019-06-01 10:06 Sergei Trofimovich
0 siblings, 0 replies; 11+ messages in thread
From: Sergei Trofimovich @ 2019-06-01 10:06 UTC (permalink / raw
To: gentoo-commits
commit: 84637238db0c659d70ccd99d6627281da626a445
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 1 10:05:54 2019 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Jun 1 10:05:54 2019 +0000
URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=84637238
3.3.6: cut 1.11 patchset
Single new patch:
92_all_ucontext-to-ucontext_t.patch:fix libjava build on modern glibc
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
3.3.6/gentoo/README.history | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/3.3.6/gentoo/README.history b/3.3.6/gentoo/README.history
index 72369ca..46eaa56 100644
--- a/3.3.6/gentoo/README.history
+++ b/3.3.6/gentoo/README.history
@@ -1,4 +1,4 @@
-1.11 TODO
+1.11 1 Jun 2019
+ 92_all_ucontext-to-ucontext_t.patch
1.10 30 Sep 2018
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] proj/gcc-patches:master commit in: 3.3.6/gentoo/
@ 2019-06-12 21:33 Sergei Trofimovich
0 siblings, 0 replies; 11+ messages in thread
From: Sergei Trofimovich @ 2019-06-12 21:33 UTC (permalink / raw
To: gentoo-commits
commit: d4d82b8263f1f25af91e14fd309dbac111c42bf3
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 12 21:33:07 2019 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Jun 12 21:33:07 2019 +0000
URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=d4d82b82
3.3.6: backport gperf inline fix and flag_jni qualifier mismatch
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
3.3.6/gentoo/93_all_gperf-inline.patch | 22 ++++++++++++++++++++++
3.3.6/gentoo/94_all_flag_jni.patch | 11 +++++++++++
3.3.6/gentoo/README.history | 4 ++++
3 files changed, 37 insertions(+)
diff --git a/3.3.6/gentoo/93_all_gperf-inline.patch b/3.3.6/gentoo/93_all_gperf-inline.patch
new file mode 100644
index 0000000..f99a50e
--- /dev/null
+++ b/3.3.6/gentoo/93_all_gperf-inline.patch
@@ -0,0 +1,22 @@
+--- a/gcc/java/keyword.gperf
++++ b/gcc/java/keyword.gperf
+@@ -33,7 +33,7 @@ static unsigned int hash PARAMS ((const char *, unsigned int));
+ #ifdef __GNUC__
+ __inline
+ #endif
+-const struct java_keyword *java_keyword PARAMS ((const char *, unsigned int));
++static const struct java_keyword *java_keyword PARAMS ((const char *, unsigned int));
+ %%
+ abstract, ABSTRACT_TK
+ default, DEFAULT_TK
+--- a/gcc/java/keyword.h
++++ b/gcc/java/keyword.h
+@@ -33,7 +33,7 @@ static unsigned int hash PARAMS ((const char *, unsigned int));
+ #ifdef __GNUC__
+ __inline
+ #endif
+-const struct java_keyword *java_keyword PARAMS ((const char *, unsigned int));
++static const struct java_keyword *java_keyword PARAMS ((const char *, unsigned int));
+
+ #define TOTAL_KEYWORDS 52
+ #define MIN_WORD_LENGTH 2
diff --git a/3.3.6/gentoo/94_all_flag_jni.patch b/3.3.6/gentoo/94_all_flag_jni.patch
new file mode 100644
index 0000000..965e0b1
--- /dev/null
+++ b/3.3.6/gentoo/94_all_flag_jni.patch
@@ -0,0 +1,11 @@
+--- a/gcc/java/gjavah.c
++++ b/gcc/java/gjavah.c
+@@ -52,7 +52,7 @@ FILE *out = NULL;
+ static int found_error = 0;
+
+ /* Nonzero if we're generating JNI output. */
+-static int flag_jni = 0;
++int flag_jni = 0;
+
+ /* When nonzero, warn when source file is newer than matching class
+ file. */
diff --git a/3.3.6/gentoo/README.history b/3.3.6/gentoo/README.history
index 46eaa56..45d7c53 100644
--- a/3.3.6/gentoo/README.history
+++ b/3.3.6/gentoo/README.history
@@ -1,3 +1,7 @@
+2 TODO
+ + 93_all_gperf-inline.patch
+ + 94_all_flag_jni.patch
+
1.11 1 Jun 2019
+ 92_all_ucontext-to-ucontext_t.patch
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] proj/gcc-patches:master commit in: 3.3.6/gentoo/
@ 2019-06-15 19:11 Sergei Trofimovich
0 siblings, 0 replies; 11+ messages in thread
From: Sergei Trofimovich @ 2019-06-15 19:11 UTC (permalink / raw
To: gentoo-commits
commit: cf90c7cf2f497ef6b6e46d776f171a21660bf0c4
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 15 19:09:58 2019 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Jun 15 19:09:58 2019 +0000
URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=cf90c7cf
3.3.6: cut 2 patchset
Two new patches:
93_all_gperf-inline.patch: fix gcj compilation on modern gcc.
94_all_flag_jni.patch: fix gcj compilation on modern gcc.
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
3.3.6/gentoo/README.history | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/3.3.6/gentoo/README.history b/3.3.6/gentoo/README.history
index 45d7c53..a0da777 100644
--- a/3.3.6/gentoo/README.history
+++ b/3.3.6/gentoo/README.history
@@ -1,4 +1,4 @@
-2 TODO
+2 06 Jun 2019
+ 93_all_gperf-inline.patch
+ 94_all_flag_jni.patch
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] proj/gcc-patches:master commit in: 3.3.6/gentoo/
@ 2019-10-21 22:16 Sergei Trofimovich
0 siblings, 0 replies; 11+ messages in thread
From: Sergei Trofimovich @ 2019-10-21 22:16 UTC (permalink / raw
To: gentoo-commits
commit: 807060a220c9d72a090c3282b7fa4f07aff584fc
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 21 22:14:54 2019 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Oct 21 22:14:54 2019 +0000
URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=807060a2
3.3.6: drop arch-conditional patches
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
3.3.6/gentoo/01_ppc_gcc33-multi32-hack.patch | 68 -------------------------
3.3.6/gentoo/01_sparc_gcc33-multi32-hack.patch | 68 -------------------------
3.3.6/gentoo/09_arm_gcc32-arm-reload1-fix.patch | 21 --------
3.3.6/gentoo/README.history | 5 ++
4 files changed, 5 insertions(+), 157 deletions(-)
diff --git a/3.3.6/gentoo/01_ppc_gcc33-multi32-hack.patch b/3.3.6/gentoo/01_ppc_gcc33-multi32-hack.patch
deleted file mode 100644
index 61a26cb..0000000
--- a/3.3.6/gentoo/01_ppc_gcc33-multi32-hack.patch
+++ /dev/null
@@ -1,68 +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 2003-05-15 18:06:04.000000000 -0400
-+++ gcc/gcc.c 2003-05-20 10:31:15.000000000 -0400
-@@ -3003,6 +3003,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;
-@@ -3493,6 +3495,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;
-@@ -3555,6 +3558,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:
-
-@@ -3621,6 +3631,26 @@ 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 */
-+ /* HACK START */
-+ if (!m64 && !used_B && !strncmp (spec_machine, "ppc64-", 6))
-+ {
-+ const char *ppc32_exec_prefix =
-+ concat (standard_exec_prefix, "ppc-", spec_machine + 6,
-+ dir_separator_str, spec_version, dir_separator_str, NULL);
-+ add_prefix (&exec_prefixes, ppc32_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/3.3.6/gentoo/01_sparc_gcc33-multi32-hack.patch b/3.3.6/gentoo/01_sparc_gcc33-multi32-hack.patch
deleted file mode 100644
index 61a26cb..0000000
--- a/3.3.6/gentoo/01_sparc_gcc33-multi32-hack.patch
+++ /dev/null
@@ -1,68 +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 2003-05-15 18:06:04.000000000 -0400
-+++ gcc/gcc.c 2003-05-20 10:31:15.000000000 -0400
-@@ -3003,6 +3003,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;
-@@ -3493,6 +3495,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;
-@@ -3555,6 +3558,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:
-
-@@ -3621,6 +3631,26 @@ 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 */
-+ /* HACK START */
-+ if (!m64 && !used_B && !strncmp (spec_machine, "ppc64-", 6))
-+ {
-+ const char *ppc32_exec_prefix =
-+ concat (standard_exec_prefix, "ppc-", spec_machine + 6,
-+ dir_separator_str, spec_version, dir_separator_str, NULL);
-+ add_prefix (&exec_prefixes, ppc32_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/3.3.6/gentoo/09_arm_gcc32-arm-reload1-fix.patch b/3.3.6/gentoo/09_arm_gcc32-arm-reload1-fix.patch
deleted file mode 100644
index 0d5588e..0000000
--- a/3.3.6/gentoo/09_arm_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/3.3.6/gentoo/README.history b/3.3.6/gentoo/README.history
index a0da777..4271566 100644
--- a/3.3.6/gentoo/README.history
+++ b/3.3.6/gentoo/README.history
@@ -1,3 +1,8 @@
+3 TODO
+ - 01_ppc_gcc33-multi32-hack.patch
+ - 01_sparc_gcc33-multi32-hack.patch
+ - 09_arm_gcc32-arm-reload1-fix.patch
+
2 06 Jun 2019
+ 93_all_gperf-inline.patch
+ 94_all_flag_jni.patch
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] proj/gcc-patches:master commit in: 3.3.6/gentoo/
@ 2020-05-29 21:27 Sergei Trofimovich
0 siblings, 0 replies; 11+ messages in thread
From: Sergei Trofimovich @ 2020-05-29 21:27 UTC (permalink / raw
To: gentoo-commits
commit: 3ef54028c4714b1592d4d6340947d85ea47d30e2
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri May 29 21:01:29 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri May 29 21:01:29 2020 +0000
URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=3ef54028
3.3.6: abandon branch, ebuild was deleted from ::gentoo
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
3.3.6/gentoo/README.history | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/3.3.6/gentoo/README.history b/3.3.6/gentoo/README.history
index 4271566..b870424 100644
--- a/3.3.6/gentoo/README.history
+++ b/3.3.6/gentoo/README.history
@@ -1,4 +1,4 @@
-3 TODO
+3 Abandoned
- 01_ppc_gcc33-multi32-hack.patch
- 01_sparc_gcc33-multi32-hack.patch
- 09_arm_gcc32-arm-reload1-fix.patch
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] proj/gcc-patches:master commit in: 3.3.6/gentoo/
@ 2021-07-24 9:58 Sergei Trofimovich
0 siblings, 0 replies; 11+ messages in thread
From: Sergei Trofimovich @ 2021-07-24 9:58 UTC (permalink / raw
To: gentoo-commits
commit: fe89846e4d9086d8e3451059713b57a481426126
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 24 09:49:06 2021 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Jul 24 09:49:06 2021 +0000
URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=fe89846e
3.3.6: normalize patches against patch -p1
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
3.3.6/gentoo/00_all_alpha-mieee-default.patch | 4 +--
3.3.6/gentoo/02_all_gcc33-ice-hack.patch | 12 +++----
3.3.6/gentoo/08_all_gcc-3.3.6-cross-compile.patch | 16 ++++-----
3.3.6/gentoo/09_all_gcc-3.4.6-c-parse-bison.patch | 4 +--
3.3.6/gentoo/10_all_gcc333-debian-arm-getoff.patch | 8 ++---
3.3.6/gentoo/11_all_gcc333-debian-arm-ldm.patch | 4 +--
3.3.6/gentoo/12_all_gcc-3.3-arm-pr22528.patch | 4 +--
.../12_all_gcc333_pre20040408-stack-size.patch | 5 ++-
3.3.6/gentoo/17_all_gcc33-c99-numbers.patch | 9 ++---
3.3.6/gentoo/25_all_gcc-3.3.3-libiberty-pic.patch | 4 +--
3.3.6/gentoo/25_all_gcc33-libstdc++-pic.patch | 8 ++---
3.3.6/gentoo/26_all_gcc33-m68k-const.patch | 4 +--
3.3.6/gentoo/28_all_gcc33-m68k-loop.patch | 4 +--
3.3.6/gentoo/29_all_gcc33-m68k-subreg.patch | 5 ++-
3.3.6/gentoo/40_all_gcc33-warn-unused-result.patch | 36 +++++++++----------
3.3.6/gentoo/54_all_pr10692-fix.patch | 9 ++---
3.3.6/gentoo/55_all_pr17684.patch | 40 +++++++++++-----------
3.3.6/gentoo/56_all_pr18153.patch | 12 +++----
3.3.6/gentoo/57_all_pr18380.patch | 8 ++---
3.3.6/gentoo/58_all_pr18508.patch | 28 +++++++--------
3.3.6/gentoo/59_all_pr23241.patch | 9 ++---
3.3.6/gentoo/88_all_gcc-3.3-make-SHELL.patch | 4 +--
3.3.6/gentoo/README.history | 24 +++++++++++++
23 files changed, 134 insertions(+), 127 deletions(-)
diff --git a/3.3.6/gentoo/00_all_alpha-mieee-default.patch b/3.3.6/gentoo/00_all_alpha-mieee-default.patch
index 9d9f807..3132e98 100644
--- a/3.3.6/gentoo/00_all_alpha-mieee-default.patch
+++ b/3.3.6/gentoo/00_all_alpha-mieee-default.patch
@@ -14,8 +14,8 @@ because it'd make behavior across OS's inconsistent:
This makes sense for upstream, but Gentoo is more concerned about packages
behaving the same across arches under Linux.
---- gcc/config/alpha/alpha.h
-+++ gcc/config/alpha/alpha.h
+--- a/gcc/config/alpha/alpha.h
++++ b/gcc/config/alpha/alpha.h
@@ -96,7 +96,7 @@
while (0)
#endif
diff --git a/3.3.6/gentoo/02_all_gcc33-ice-hack.patch b/3.3.6/gentoo/02_all_gcc33-ice-hack.patch
index c48d168..60e976b 100644
--- a/3.3.6/gentoo/02_all_gcc33-ice-hack.patch
+++ b/3.3.6/gentoo/02_all_gcc33-ice-hack.patch
@@ -1,5 +1,5 @@
---- gcc/system.h.jj 2003-04-11 14:10:24.000000000 -0400
-+++ gcc/system.h 2003-06-05 12:18:46.000000000 -0400
+--- a/gcc/system.h.jj 2003-04-11 14:10:24.000000000 -0400
++++ b/gcc/system.h 2003-06-05 12:18:46.000000000 -0400
@@ -148,6 +148,10 @@ extern int errno;
# endif
#endif
@@ -11,8 +11,8 @@
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
---- gcc/gcc.c.jj 2003-06-03 07:22:13.000000000 -0400
-+++ gcc/gcc.c 2003-06-05 12:18:46.000000000 -0400
+--- a/gcc/gcc.c.jj 2003-06-03 07:22:13.000000000 -0400
++++ b/gcc/gcc.c 2003-06-05 12:18:46.000000000 -0400
@@ -109,6 +109,10 @@ extern int getrusage PARAMS ((int, struc
#define TARGET_OBJECT_SUFFIX ".o"
#endif
@@ -290,8 +290,8 @@
/* Search for a file named NAME trying various prefixes including the
user's -B prefix and some standard ones.
Return the absolute file name found. If nothing is found, return NAME. */
---- gcc/diagnostic.c.jj 2003-06-03 08:45:21.000000000 -0400
-+++ gcc/diagnostic.c 2003-06-05 12:20:06.000000000 -0400
+--- a/gcc/diagnostic.c.jj 2003-06-03 08:45:21.000000000 -0400
++++ b/gcc/diagnostic.c 2003-06-05 12:20:06.000000000 -0400
@@ -1208,7 +1208,7 @@ internal_error VPARAMS ((const char *msg
"Please submit a full bug report,\n\
with preprocessed source if appropriate.\n\
diff --git a/3.3.6/gentoo/08_all_gcc-3.3.6-cross-compile.patch b/3.3.6/gentoo/08_all_gcc-3.3.6-cross-compile.patch
index ff9b42b..58e53d9 100644
--- a/3.3.6/gentoo/08_all_gcc-3.3.6-cross-compile.patch
+++ b/3.3.6/gentoo/08_all_gcc-3.3.6-cross-compile.patch
@@ -2,8 +2,8 @@ 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
+--- a/gcc/configure.in
++++ b/gcc/configure.in
@@ -1276,8 +1276,9 @@
# This prevents libgcc2 from containing any code which requires libc
# support.
@@ -16,8 +16,8 @@ http://gcc.gnu.org/ml/gcc/2005-07/msg01195.html
inhibit_libc=-Dinhibit_libc
fi
AC_SUBST(inhibit_libc)
---- gcc/configure
-+++ gcc/configure
+--- a/gcc/configure
++++ b/gcc/configure
@@ -1276,8 +1276,9 @@
# This prevents libgcc2 from containing any code which requires libc
# support.
@@ -30,8 +30,8 @@ http://gcc.gnu.org/ml/gcc/2005-07/msg01195.html
inhibit_libc=-Dinhibit_libc
fi
AC_SUBST(inhibit_libc)
---- gcc/config/alpha/linux.h
-+++ gcc/config/alpha/linux.h
+--- a/gcc/config/alpha/linux.h
++++ b/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. */
@@ -45,8 +45,8 @@ http://gcc.gnu.org/ml/gcc/2005-07/msg01195.html
goto SUCCESS; \
} while (0)
+#endif /* inhibit_libc */
---- gcc/config/i386/linux.h
-+++ gcc/config/i386/linux.h
+--- a/gcc/config/i386/linux.h
++++ b/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. */
diff --git a/3.3.6/gentoo/09_all_gcc-3.4.6-c-parse-bison.patch b/3.3.6/gentoo/09_all_gcc-3.4.6-c-parse-bison.patch
index 2a81424..6404d58 100644
--- a/3.3.6/gentoo/09_all_gcc-3.4.6-c-parse-bison.patch
+++ b/3.3.6/gentoo/09_all_gcc-3.4.6-c-parse-bison.patch
@@ -4,8 +4,8 @@ https://bugs.gentoo.org/348893
* c-parse.in (structsp_attr): Fix for bison 2.4.1 pedantry.
---- branches/gcc-3_4-branch/gcc/c-parse.in 2004/10/14 23:12:53 89061
-+++ branches/gcc-3_4-branch/gcc/c-parse.in 2009/11/02 22:14:49 153828
+--- a/gcc/c-parse.in 2004/10/14 23:12:53 89061
++++ b/gcc/c-parse.in 2009/11/02 22:14:49 153828
@@ -1730,7 +1730,7 @@
structsp_attr:
diff --git a/3.3.6/gentoo/10_all_gcc333-debian-arm-getoff.patch b/3.3.6/gentoo/10_all_gcc333-debian-arm-getoff.patch
index 86704f9..73d8e6f 100644
--- a/3.3.6/gentoo/10_all_gcc333-debian-arm-getoff.patch
+++ b/3.3.6/gentoo/10_all_gcc333-debian-arm-getoff.patch
@@ -1,5 +1,5 @@
---- gcc/config/arm/arm.c 2003-06-14 15:20:53.000000000 +0100
-+++ gcc/config/arm/arm.c 2004-03-06 15:15:32.000000000 +0000
+--- a/gcc/config/arm/arm.c 2003-06-14 15:20:53.000000000 +0100
++++ b/gcc/config/arm/arm.c 2004-03-06 15:15:32.000000000 +0000
@@ -2364,6 +2394,40 @@
return 1;
}
@@ -79,8 +79,8 @@
#endif /* !ARM_PE */
---- gcc/config/arm/arm.h Fri Mar 5 18:49:44 2004
-+++ gcc/config/arm/arm.h Fri Mar 5 15:04:31 2004
+--- a/gcc/config/arm/arm.h Fri Mar 5 18:49:44 2004
++++ b/gcc/config/arm/arm.h Fri Mar 5 15:04:31 2004
@@ -1870,6 +1870,7 @@
Note, '@' and '*' have already been taken. */
#define SHORT_CALL_FLAG_CHAR '^'
diff --git a/3.3.6/gentoo/11_all_gcc333-debian-arm-ldm.patch b/3.3.6/gentoo/11_all_gcc333-debian-arm-ldm.patch
index eb94347..b680a7e 100644
--- a/3.3.6/gentoo/11_all_gcc333-debian-arm-ldm.patch
+++ b/3.3.6/gentoo/11_all_gcc333-debian-arm-ldm.patch
@@ -1,5 +1,5 @@
---- gcc/config/arm/arm.c Fri Mar 5 18:49:42 2004
-+++ gcc/config/arm/arm.c Fri Mar 5 16:00:21 2004
+--- a/gcc/config/arm/arm.c Fri Mar 5 18:49:42 2004
++++ b/gcc/config/arm/arm.c Fri Mar 5 16:00:21 2004
@@ -7598,6 +7629,26 @@
return_used_this_function = 0;
}
diff --git a/3.3.6/gentoo/12_all_gcc-3.3-arm-pr22528.patch b/3.3.6/gentoo/12_all_gcc-3.3-arm-pr22528.patch
index 996e763..4433a35 100644
--- a/3.3.6/gentoo/12_all_gcc-3.3-arm-pr22528.patch
+++ b/3.3.6/gentoo/12_all_gcc-3.3-arm-pr22528.patch
@@ -6,8 +6,8 @@ http://gcc.gnu.org/ml/gcc-patches/2003-11/msg00832.html
* arm.md (storehi): Avoid use of explicit subreg.
(storehi_bigend, storeinthi, movhi_bigend): Likewise.
---- gcc/config/arm/arm.md
-+++ gcc/config/arm/arm.md
+--- a/gcc/config/arm/arm.md
++++ b/gcc/config/arm/arm.md
@@ -4275,7 +4275,7 @@
(set (match_dup 2)
(ashiftrt:SI (match_operand 0 "" "") (const_int 8)))
diff --git a/3.3.6/gentoo/12_all_gcc333_pre20040408-stack-size.patch b/3.3.6/gentoo/12_all_gcc333_pre20040408-stack-size.patch
index df99f87..f70f208 100644
--- a/3.3.6/gentoo/12_all_gcc333_pre20040408-stack-size.patch
+++ b/3.3.6/gentoo/12_all_gcc333_pre20040408-stack-size.patch
@@ -1,6 +1,5 @@
-diff -ruN gcc-20040408.orig/gcc/config/rs6000/rs6000.c gcc-20040408/gcc/config/rs6000/rs6000.c
---- gcc-20040408.orig/gcc/config/rs6000/rs6000.c 2004-04-15 12:55:07.044634360 +0200
-+++ gcc-20040408/gcc/config/rs6000/rs6000.c 2004-04-15 13:24:50.544501168 +0200
+--- a/gcc/config/rs6000/rs6000.c 2004-04-15 12:55:07.044634360 +0200
++++ b/gcc/config/rs6000/rs6000.c 2004-04-15 13:24:50.544501168 +0200
@@ -10937,7 +10937,7 @@
info_ptr->varargs_size = RS6000_VARARGS_AREA;
info_ptr->vars_size = RS6000_ALIGN (get_frame_size (), 8);
diff --git a/3.3.6/gentoo/17_all_gcc33-c99-numbers.patch b/3.3.6/gentoo/17_all_gcc33-c99-numbers.patch
index ca3a36a..f6e9d59 100644
--- a/3.3.6/gentoo/17_all_gcc33-c99-numbers.patch
+++ b/3.3.6/gentoo/17_all_gcc33-c99-numbers.patch
@@ -1,10 +1,5 @@
-Index: gcc/cppexp.c
-===================================================================
-RCS file: /cvs/gcc/gcc/gcc/cppexp.c,v
-retrieving revision 1.136
-diff -u -p -r1.136 cppexp.c
---- gcc/cppexp.c 19 Dec 2002 05:18:04 -0000 1.136
-+++ gcc/cppexp.c 13 Mar 2003 20:41:04 -0000
+--- a/gcc/cppexp.c 19 Dec 2002 05:18:04 -0000 1.136
++++ b/gcc/cppexp.c 13 Mar 2003 20:41:04 -0000
@@ -175,7 +175,8 @@ cpp_classify_number (pfile, token)
str++;
diff --git a/3.3.6/gentoo/25_all_gcc-3.3.3-libiberty-pic.patch b/3.3.6/gentoo/25_all_gcc-3.3.3-libiberty-pic.patch
index 214c44b..628ad14 100644
--- a/3.3.6/gentoo/25_all_gcc-3.3.3-libiberty-pic.patch
+++ b/3.3.6/gentoo/25_all_gcc-3.3.3-libiberty-pic.patch
@@ -1,5 +1,5 @@
---- libiberty/Makefile.in.mps 2004-05-13 15:53:17.000000000 +0200
-+++ libiberty/Makefile.in 2004-05-13 15:52:53.000000000 +0200
+--- a/libiberty/Makefile.in.mps 2004-05-13 15:53:17.000000000 +0200
++++ b/libiberty/Makefile.in 2004-05-13 15:52:53.000000000 +0200
@@ -224,6 +224,7 @@ $(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA
$(AR) $(AR_FLAGS) $(TARGETLIB) \
$(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
diff --git a/3.3.6/gentoo/25_all_gcc33-libstdc++-pic.patch b/3.3.6/gentoo/25_all_gcc33-libstdc++-pic.patch
index f1413b8..2a7786e 100644
--- a/3.3.6/gentoo/25_all_gcc33-libstdc++-pic.patch
+++ b/3.3.6/gentoo/25_all_gcc33-libstdc++-pic.patch
@@ -1,7 +1,7 @@
# DP: Build and install libstdc++_pic.a library.
---- gcc/libstdc++-v3/src/Makefile.am
-+++ gcc/libstdc++-v3/src/Makefile.am
+--- a/libstdc++-v3/src/Makefile.am
++++ b/libstdc++-v3/src/Makefile.am
@@ -224,6 +224,13 @@
@OPT_LDFLAGS@ @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@
@@ -16,8 +16,8 @@
# Added bits to build debug library.
if GLIBCPP_BUILD_DEBUG
all-local: build_debug
---- gcc/libstdc++-v3/src/Makefile.in
-+++ gcc/libstdc++-v3/src/Makefile.in
+--- a/libstdc++-v3/src/Makefile.in
++++ b/libstdc++-v3/src/Makefile.in
@@ -415,7 +415,7 @@
installcheck: installcheck-am
install-info-am:
diff --git a/3.3.6/gentoo/26_all_gcc33-m68k-const.patch b/3.3.6/gentoo/26_all_gcc33-m68k-const.patch
index 5fbe00c..2593c1e 100644
--- a/3.3.6/gentoo/26_all_gcc33-m68k-const.patch
+++ b/3.3.6/gentoo/26_all_gcc33-m68k-const.patch
@@ -3,8 +3,8 @@
# PR optimization/9812
# * config/m68k/m68k.md: Avoid forcing fp constants into memory.
---- gcc/config/m68k/m68k.md 17 Mar 2003 10:22:00 -0000 1.48.8.1.4.3
-+++ gcc/config/m68k/m68k.md 7 Apr 2003 18:05:03 -0000
+--- a/gcc/config/m68k/m68k.md 17 Mar 2003 10:22:00 -0000 1.48.8.1.4.3
++++ b/gcc/config/m68k/m68k.md 7 Apr 2003 18:05:03 -0000
@@ -675,7 +675,7 @@
(define_insn ""
diff --git a/3.3.6/gentoo/28_all_gcc33-m68k-loop.patch b/3.3.6/gentoo/28_all_gcc33-m68k-loop.patch
index e3e0691..7475361 100644
--- a/3.3.6/gentoo/28_all_gcc33-m68k-loop.patch
+++ b/3.3.6/gentoo/28_all_gcc33-m68k-loop.patch
@@ -1,8 +1,8 @@
# Add workaround for wrong code generation on m68k (leading to
# miscompilation of bash and coreutils at -O1 or -O2).
---- gcc/loop.c 21 Dec 2002 20:25:40 -0000 1.389.2.7.2.7
-+++ gcc/loop.c 27 Mar 2003 09:50:18 -0000
+--- a/gcc/loop.c 21 Dec 2002 20:25:40 -0000 1.389.2.7.2.7
++++ b/gcc/loop.c 27 Mar 2003 09:50:18 -0000
@@ -1154,7 +1154,7 @@
/* Now that we've moved some things out of the loop, we might be able to
diff --git a/3.3.6/gentoo/29_all_gcc33-m68k-subreg.patch b/3.3.6/gentoo/29_all_gcc33-m68k-subreg.patch
index ce6d1c3..748963e 100644
--- a/3.3.6/gentoo/29_all_gcc33-m68k-subreg.patch
+++ b/3.3.6/gentoo/29_all_gcc33-m68k-subreg.patch
@@ -3,9 +3,8 @@
# * gcc/final.c (alter_subreg): Adjust stack offset for a paradoxical
# SUBREG, when it's pushed on the stack.
-diff -u -p -r1.241.2.4 final.c
---- gcc/final.c 24 May 2002 21:26:50 -0000 1.241.2.4
-+++ gcc/final.c 3 Apr 2003 22:55:06 -0000
+--- a/gcc/final.c 24 May 2002 21:26:50 -0000 1.241.2.4
++++ b/gcc/final.c 3 Apr 2003 22:55:06 -0000
@@ -2738,7 +2738,15 @@ alter_subreg (xp)
/* simplify_subreg does not remove subreg from volatile references.
We are required to. */
diff --git a/3.3.6/gentoo/40_all_gcc33-warn-unused-result.patch b/3.3.6/gentoo/40_all_gcc33-warn-unused-result.patch
index d5a996f..c56d4d8 100644
--- a/3.3.6/gentoo/40_all_gcc33-warn-unused-result.patch
+++ b/3.3.6/gentoo/40_all_gcc33-warn-unused-result.patch
@@ -21,8 +21,8 @@
* gcc.dg/attr-warn-unused-result.c: New test.
---- gcc/c-common.c.jj 2003-07-31 17:59:06.000000000 -0400
-+++ gcc/c-common.c 2003-09-16 12:22:15.000000000 -0400
+--- a/gcc/c-common.c.jj 2003-07-31 17:59:06.000000000 -0400
++++ b/gcc/c-common.c 2003-09-16 12:22:15.000000000 -0400
@@ -40,6 +40,7 @@ Software Foundation, 59 Temple Place - S
#include "except.h" /* For USING_SJLJ_EXCEPTIONS. */
#include "tree-inline.h"
@@ -103,8 +103,8 @@
/* Keep a list of vector type nodes we created in handle_vector_size_attribute,
to prevent us from duplicating type nodes unnecessarily.
The normal mechanism to prevent duplicates is to use type_hash_canon, but
---- gcc/calls.c.jj 2003-09-16 11:41:06.000000000 -0400
-+++ gcc/calls.c 2003-09-16 12:19:41.000000000 -0400
+--- a/gcc/calls.c.jj 2003-09-16 11:41:06.000000000 -0400
++++ b/gcc/calls.c 2003-09-16 12:19:41.000000000 -0400
@@ -2273,13 +2273,27 @@ expand_call (exp, target, ignore)
(*lang_hooks.mark_addressable) (fndecl);
}
@@ -134,8 +134,8 @@
#ifdef REG_PARM_STACK_SPACE
#ifdef MAYBE_REG_PARM_STACK_SPACE
---- gcc/c-common.h.jj 2003-07-31 17:59:06.000000000 -0400
-+++ gcc/c-common.h 2003-09-16 12:19:41.000000000 -0400
+--- a/gcc/c-common.h.jj 2003-07-31 17:59:06.000000000 -0400
++++ b/gcc/c-common.h 2003-09-16 12:19:41.000000000 -0400
@@ -39,6 +39,7 @@ Software Foundation, 59 Temple Place - S
2: STMT_LINENO_FOR_FN_P (in _STMT)
3: SCOPE_NO_CLEANUPS_P (in SCOPE_STMT)
@@ -156,8 +156,8 @@
/* LABEL_STMT accessor. This gives access to the label associated with
the given label statement. */
#define LABEL_STMT_LABEL(NODE) TREE_OPERAND (LABEL_STMT_CHECK (NODE), 0)
---- gcc/expr.c.jj 2003-09-16 11:41:14.000000000 -0400
-+++ gcc/expr.c 2003-09-16 12:55:32.000000000 -0400
+--- a/gcc/expr.c.jj 2003-09-16 11:41:14.000000000 -0400
++++ b/gcc/expr.c 2003-09-16 12:55:32.000000000 -0400
@@ -45,6 +45,7 @@ Software Foundation, 59 Temple Place - S
#include "langhooks.h"
#include "intl.h"
@@ -206,8 +206,8 @@
return to_return;
}
---- gcc/tree-inline.c.jj 2003-07-25 05:55:55.000000000 -0400
-+++ gcc/tree-inline.c 2003-09-16 12:19:41.000000000 -0400
+--- a/gcc/tree-inline.c.jj 2003-07-25 05:55:55.000000000 -0400
++++ b/gcc/tree-inline.c 2003-09-16 12:19:41.000000000 -0400
@@ -1202,6 +1202,9 @@ expand_call_inline (tp, walk_subtrees, d
expr = build1 (STMT_EXPR, TREE_TYPE (TREE_TYPE (fn)), make_node (COMPOUND_STMT));
/* There is no scope associated with the statement-expression. */
@@ -218,8 +218,8 @@
stmt = STMT_EXPR_STMT (expr);
#else /* INLINER_FOR_JAVA */
/* Build a block containing code to initialize the arguments, the
---- gcc/input.h.jj 2002-05-27 14:55:42.000000000 -0400
-+++ gcc/input.h 2003-09-16 12:19:41.000000000 -0400
+--- a/gcc/input.h.jj 2002-05-27 14:55:42.000000000 -0400
++++ b/gcc/input.h 2003-09-16 12:19:41.000000000 -0400
@@ -42,6 +42,9 @@ struct file_stack
The line member is not accurate for the innermost file on the stack. */
extern struct file_stack *input_file_stack;
@@ -230,8 +230,8 @@
/* Incremented on each change to input_file_stack. */
extern int input_file_stack_tick;
---- gcc/Makefile.in.jj 2003-08-12 10:12:01.000000000 -0400
-+++ gcc/Makefile.in 2003-09-16 12:20:33.000000000 -0400
+--- a/gcc/Makefile.in.jj 2003-08-12 10:12:01.000000000 -0400
++++ b/gcc/Makefile.in 2003-09-16 12:20:33.000000000 -0400
@@ -1250,7 +1250,8 @@ tlink.o: tlink.c $(DEMANGLE_H) $(HASHTAB
c-common.o : c-common.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(OBSTACK_H) \
$(C_COMMON_H) flags.h toplev.h output.h c-pragma.h $(RTL_H) $(GGC_H) \
@@ -251,8 +251,8 @@
builtins.o : builtins.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(TREE_H) flags.h \
$(TARGET_H) function.h $(REGS_H) $(EXPR_H) $(OPTABS_H) insn-config.h \
$(RECOG_H) output.h typeclass.h hard-reg-set.h toplev.h hard-reg-set.h \
---- gcc/doc/extend.texi.jj 2003-07-25 05:56:39.000000000 -0400
-+++ gcc/doc/extend.texi 2003-09-16 13:05:53.000000000 -0400
+--- a/gcc/doc/extend.texi.jj 2003-07-25 05:56:39.000000000 -0400
++++ b/gcc/doc/extend.texi 2003-09-16 13:05:53.000000000 -0400
@@ -1946,10 +1946,11 @@ attributes are currently defined for fun
@code{format}, @code{format_arg}, @code{no_instrument_function},
@code{section}, @code{constructor}, @code{destructor}, @code{used},
@@ -296,8 +296,8 @@
@item weak
@cindex @code{weak} attribute
The @code{weak} attribute causes the declaration to be emitted as a weak
---- gcc/testsuite/gcc.dg/attr-warn-unused-result.c.jj 2003-09-16 12:19:41.000000000 -0400
-+++ gcc/testsuite/gcc.dg/attr-warn-unused-result.c 2003-09-16 12:19:41.000000000 -0400
+--- a/gcc/testsuite/gcc.dg/attr-warn-unused-result.c.jj 2003-09-16 12:19:41.000000000 -0400
++++ b/gcc/testsuite/gcc.dg/attr-warn-unused-result.c 2003-09-16 12:19:41.000000000 -0400
@@ -0,0 +1,188 @@
+/* warn_unused_result attribute tests. */
+/* { dg-do compile } */
diff --git a/3.3.6/gentoo/54_all_pr10692-fix.patch b/3.3.6/gentoo/54_all_pr10692-fix.patch
index 8f483ec..54b6f0d 100644
--- a/3.3.6/gentoo/54_all_pr10692-fix.patch
+++ b/3.3.6/gentoo/54_all_pr10692-fix.patch
@@ -29,13 +29,8 @@ r~
# DP: a previous output reload to RELOAD_FOR_INPUT.
-Index: reload1.c
-===================================================================
-RCS file: /cvs/gcc/gcc/gcc/reload1.c,v
-retrieving revision 1.456
-diff -c -p -d -r1.456 reload1.c
-*** gcc/reload1.c 23 Dec 2004 04:53:48 -0000 1.456
---- gcc/reload1.c 6 Jan 2005 04:05:46 -0000
+*** a/gcc/reload1.c 23 Dec 2004 04:53:48 -0000 1.456
+--- b/gcc/reload1.c 6 Jan 2005 04:05:46 -0000
*************** do_input_reload (struct insn_chain *chai
*** 6822,6827 ****
--- 6822,6831 ----
diff --git a/3.3.6/gentoo/55_all_pr17684.patch b/3.3.6/gentoo/55_all_pr17684.patch
index 707681a..2669b87 100644
--- a/3.3.6/gentoo/55_all_pr17684.patch
+++ b/3.3.6/gentoo/55_all_pr17684.patch
@@ -30,8 +30,8 @@
files.
diff -urN gcc.old/Makefile.in gcc/Makefile.in
---- gcc.old/Makefile.in 2004-12-10 13:28:49.000000000 +0100
-+++ gcc/Makefile.in 2004-12-10 14:36:38.000000000 +0100
+--- a/gcc/Makefile.in 2004-12-10 13:28:49.000000000 +0100
++++ b/gcc/Makefile.in 2004-12-10 14:36:38.000000000 +0100
@@ -2678,8 +2678,9 @@
# that don't exist in the distribution.
INTL_CLEAN = intl.clean
@@ -116,8 +116,8 @@ diff -urN gcc.old/Makefile.in gcc/Makefile.in
cp stage4/$${f} . ; \
else true; \
diff -urN gcc.old/config/alpha/t-osf4 gcc/config/alpha/t-osf4
---- gcc.old/config/alpha/t-osf4 2003-01-26 12:35:07.000000000 +0100
-+++ gcc/config/alpha/t-osf4 2004-12-10 14:37:33.000000000 +0100
+--- a/gcc/config/alpha/t-osf4 2003-01-26 12:35:07.000000000 +0100
++++ b/gcc/config/alpha/t-osf4 2004-12-10 14:37:33.000000000 +0100
@@ -11,9 +11,13 @@
SHLIB_OBJS = @shlib_objs@
@@ -134,8 +134,8 @@ diff -urN gcc.old/config/alpha/t-osf4 gcc/config/alpha/t-osf4
# $(slibdir) double quoted to protect it from expansion while building
# libgcc.mk. We want this delayed until actual install time.
diff -urN gcc.old/config/arm/t-netbsd gcc/config/arm/t-netbsd
---- gcc.old/config/arm/t-netbsd 2003-01-26 12:35:08.000000000 +0100
-+++ gcc/config/arm/t-netbsd 2004-12-10 14:31:15.000000000 +0100
+--- a/gcc/config/arm/t-netbsd 2003-01-26 12:35:08.000000000 +0100
++++ b/gcc/config/arm/t-netbsd 2004-12-10 14:31:15.000000000 +0100
@@ -11,8 +11,12 @@
SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \
@@ -151,8 +151,8 @@ diff -urN gcc.old/config/arm/t-netbsd gcc/config/arm/t-netbsd
# $(slibdir) double quoted to protect it from expansion while building
# libgcc.mk. We want this delayed until actual install time.
diff -urN gcc.old/config/mips/t-iris5-6 gcc/config/mips/t-iris5-6
---- gcc.old/config/mips/t-iris5-6 2003-01-26 12:35:08.000000000 +0100
-+++ gcc/config/mips/t-iris5-6 2004-12-10 14:31:15.000000000 +0100
+--- a/gcc/config/mips/t-iris5-6 2003-01-26 12:35:08.000000000 +0100
++++ b/gcc/config/mips/t-iris5-6 2004-12-10 14:31:15.000000000 +0100
@@ -9,8 +9,12 @@
SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \
@@ -168,8 +168,8 @@ diff -urN gcc.old/config/mips/t-iris5-6 gcc/config/mips/t-iris5-6
# ??? Irix 6.5 seems to eat the option fine (if we somehow remove the
# -hidden_symbol option, which is documented to be ignored in conjunction
diff -urN gcc.old/config/pa/t-hpux-shlib gcc/config/pa/t-hpux-shlib
---- gcc.old/config/pa/t-hpux-shlib 2003-01-26 12:35:08.000000000 +0100
-+++ gcc/config/pa/t-hpux-shlib 2004-12-10 14:31:15.000000000 +0100
+--- a/gcc/config/pa/t-hpux-shlib 2003-01-26 12:35:08.000000000 +0100
++++ b/gcc/config/pa/t-hpux-shlib 2004-12-10 14:31:15.000000000 +0100
@@ -5,8 +5,12 @@
SHLIB_OBJS = @shlib_objs@
@@ -185,8 +185,8 @@ diff -urN gcc.old/config/pa/t-hpux-shlib gcc/config/pa/t-hpux-shlib
diff -urN gcc.old/config/sh/t-linux gcc/config/sh/t-linux
---- gcc.old/config/sh/t-linux 2004-07-26 02:47:35.000000000 +0200
-+++ gcc/config/sh/t-linux 2004-12-10 14:31:15.000000000 +0100
+--- a/gcc/config/sh/t-linux 2004-07-26 02:47:35.000000000 +0200
++++ b/gcc/config/sh/t-linux 2004-12-10 14:31:15.000000000 +0100
@@ -25,8 +25,12 @@
SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \
-Wl,--soname=$(SHLIB_SONAME) \
@@ -202,8 +202,8 @@ diff -urN gcc.old/config/sh/t-linux gcc/config/sh/t-linux
echo " Use the shared library, but some functions are only in"; \
echo " the static library. */"; \
diff -urN gcc.old/config/t-libunwind-elf gcc/config/t-libunwind-elf
---- gcc.old/config/t-libunwind-elf 2004-12-10 13:17:36.000000000 +0100
-+++ gcc/config/t-libunwind-elf 2004-12-10 14:31:15.000000000 +0100
+--- a/gcc/config/t-libunwind-elf 2004-12-10 13:17:36.000000000 +0100
++++ b/gcc/config/t-libunwind-elf 2004-12-10 14:31:15.000000000 +0100
@@ -10,9 +10,14 @@
SHLIBUNWIND_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared \
@@ -222,8 +222,8 @@ diff -urN gcc.old/config/t-libunwind-elf gcc/config/t-libunwind-elf
# $(slibdir) double quoted to protect it from expansion while building
diff -urN gcc.old/config/t-slibgcc-elf-ver gcc/config/t-slibgcc-elf-ver
---- gcc.old/config/t-slibgcc-elf-ver 2003-01-26 12:35:07.000000000 +0100
-+++ gcc/config/t-slibgcc-elf-ver 2004-12-10 14:31:18.000000000 +0100
+--- a/gcc/config/t-slibgcc-elf-ver 2003-01-26 12:35:07.000000000 +0100
++++ b/gcc/config/t-slibgcc-elf-ver 2004-12-10 14:31:18.000000000 +0100
@@ -13,8 +13,12 @@
SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \
-Wl,--soname=$(SHLIB_SONAME) \
@@ -239,8 +239,8 @@ diff -urN gcc.old/config/t-slibgcc-elf-ver gcc/config/t-slibgcc-elf-ver
# $(slibdir) double quoted to protect it from expansion while building
# libgcc.mk. We want this delayed until actual install time.
diff -urN gcc.old/config/t-slibgcc-sld gcc/config/t-slibgcc-sld
---- gcc.old/config/t-slibgcc-sld 2003-01-26 12:35:07.000000000 +0100
-+++ gcc/config/t-slibgcc-sld 2004-12-10 14:31:18.000000000 +0100
+--- a/gcc/config/t-slibgcc-sld 2003-01-26 12:35:07.000000000 +0100
++++ b/gcc/config/t-slibgcc-sld 2004-12-10 14:31:18.000000000 +0100
@@ -10,9 +10,13 @@
SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \
@@ -257,8 +257,8 @@ diff -urN gcc.old/config/t-slibgcc-sld gcc/config/t-slibgcc-sld
# $(slibdir) double quoted to protect it from expansion while building
# libgcc.mk. We want this delayed until actual install time.
diff -urN gcc.old/mklibgcc.in gcc/mklibgcc.in
---- gcc.old/mklibgcc.in 2004-12-10 14:19:28.000000000 +0100
-+++ gcc/mklibgcc.in 2004-12-10 14:31:18.000000000 +0100
+--- a/gcc/mklibgcc.in 2004-12-10 14:19:28.000000000 +0100
++++ b/gcc/mklibgcc.in 2004-12-10 14:31:18.000000000 +0100
@@ -503,6 +503,7 @@
echo ' done'
echo ' -for dir in '"${dirs}"'; do \'
diff --git a/3.3.6/gentoo/56_all_pr18153.patch b/3.3.6/gentoo/56_all_pr18153.patch
index f51e058..9e47431 100644
--- a/3.3.6/gentoo/56_all_pr18153.patch
+++ b/3.3.6/gentoo/56_all_pr18153.patch
@@ -14,8 +14,8 @@
-lunwind if possible.
diff -urN gcc.old/config.in gcc/config.in
---- gcc.old/config.in 2004-12-10 13:38:35.000000000 +0100
-+++ gcc/config.in 2004-12-10 14:46:47.000000000 +0100
+--- a/gcc/config.in 2004-12-10 13:38:35.000000000 +0100
++++ b/gcc/config.in 2004-12-10 14:46:47.000000000 +0100
@@ -228,6 +228,9 @@
/* Define if you have the <langinfo.h> header file. */
#undef HAVE_LANGINFO_H
@@ -27,8 +27,8 @@ diff -urN gcc.old/config.in gcc/config.in
#undef HAVE_LIMITS_H
diff -urN gcc.old/configure.in gcc/configure.in
---- gcc.old/configure.in 2004-12-10 13:48:59.000000000 +0100
-+++ gcc/configure.in 2004-12-10 14:54:52.000000000 +0100
+--- a/gcc/configure.in 2004-12-10 13:48:59.000000000 +0100
++++ b/gcc/configure.in 2004-12-10 14:54:52.000000000 +0100
@@ -2432,6 +2432,25 @@
fi
AC_MSG_RESULT($gcc_cv_ld_eh_frame_hdr)
@@ -56,8 +56,8 @@ diff -urN gcc.old/configure.in gcc/configure.in
gcc_cv_ld_as_needed=no
if test x$gcc_cv_gld_major_version != x -a x$gcc_cv_gld_minor_version != x; then
diff -urN gcc.old/gcc.c gcc/gcc.c
---- gcc.old/gcc.c 2004-12-10 13:17:41.000000000 +0100
-+++ gcc/gcc.c 2004-12-10 14:45:51.000000000 +0100
+--- a/gcc/gcc.c 2004-12-10 13:17:41.000000000 +0100
++++ b/gcc/gcc.c 2004-12-10 14:45:51.000000000 +0100
@@ -1584,7 +1584,11 @@
"-lgcc",
"-lgcc_eh"
diff --git a/3.3.6/gentoo/57_all_pr18380.patch b/3.3.6/gentoo/57_all_pr18380.patch
index 1044874..c7f8786 100644
--- a/3.3.6/gentoo/57_all_pr18380.patch
+++ b/3.3.6/gentoo/57_all_pr18380.patch
@@ -11,8 +11,8 @@
* unwind-dw2.c (_Unwind_FindTableEntry): Removed.
diff -ur gcc.old/config/ia64/unwind-ia64.h gcc/config/ia64/unwind-ia64.h
---- gcc.old/config/ia64/unwind-ia64.h 2001-05-12 08:03:20.000000000 +0200
-+++ gcc/config/ia64/unwind-ia64.h 2004-12-10 14:58:10.000000000 +0100
+--- a/gcc/config/ia64/unwind-ia64.h 2001-05-12 08:03:20.000000000 +0200
++++ b/gcc/config/ia64/unwind-ia64.h 2004-12-10 14:58:10.000000000 +0100
@@ -28,4 +28,5 @@
extern struct unw_table_entry *
@@ -21,8 +21,8 @@ diff -ur gcc.old/config/ia64/unwind-ia64.h gcc/config/ia64/unwind-ia64.h
+ unsigned long *gp)
+ __attribute__ ((__visibility__ ("hidden")));
diff -ur gcc.old/unwind-dw2.c gcc/unwind-dw2.c
---- gcc.old/unwind-dw2.c 2004-12-10 13:17:42.000000000 +0100
-+++ gcc/unwind-dw2.c 2004-12-10 14:58:10.000000000 +0100
+--- a/gcc/unwind-dw2.c 2004-12-10 13:17:42.000000000 +0100
++++ b/gcc/unwind-dw2.c 2004-12-10 14:58:10.000000000 +0100
@@ -1275,7 +1275,6 @@
alias (_Unwind_Backtrace);
alias (_Unwind_DeleteException);
diff --git a/3.3.6/gentoo/58_all_pr18508.patch b/3.3.6/gentoo/58_all_pr18508.patch
index 99f6cb3..67749b7 100644
--- a/3.3.6/gentoo/58_all_pr18508.patch
+++ b/3.3.6/gentoo/58_all_pr18508.patch
@@ -15,8 +15,8 @@
* config/t-slibgcc-sld (SHLIB_LINK): Likewise.
diff -urN gcc.old/config/alpha/t-osf4 gcc/config/alpha/t-osf4
---- gcc.old/config/alpha/t-osf4 2004-12-10 14:37:33.000000000 +0100
-+++ gcc/config/alpha/t-osf4 2004-12-10 15:02:55.000000000 +0100
+--- a/gcc/config/alpha/t-osf4 2004-12-10 14:37:33.000000000 +0100
++++ b/gcc/config/alpha/t-osf4 2004-12-10 15:02:55.000000000 +0100
@@ -15,7 +15,7 @@
-o $(SHLIB_NAME) @multilib_flags@ $(SHLIB_OBJS) -lc && \
rm -f $(SHLIB_SONAME) && \
@@ -27,8 +27,8 @@ diff -urN gcc.old/config/alpha/t-osf4 gcc/config/alpha/t-osf4
mv $(SHLIB_NAME).tmp $(SHLIB_NAME) && \
$(LN_S) $(SHLIB_NAME) $(SHLIB_SONAME)
diff -urN gcc.old/config/arm/t-netbsd gcc/config/arm/t-netbsd
---- gcc.old/config/arm/t-netbsd 2004-12-10 14:31:15.000000000 +0100
-+++ gcc/config/arm/t-netbsd 2004-12-10 15:02:55.000000000 +0100
+--- a/gcc/config/arm/t-netbsd 2004-12-10 14:31:15.000000000 +0100
++++ b/gcc/config/arm/t-netbsd 2004-12-10 15:02:55.000000000 +0100
@@ -14,7 +14,7 @@
-o $(SHLIB_NAME).tmp @multilib_flags@ $(SHLIB_OBJS) -lc && \
rm -f $(SHLIB_SONAME) && \
@@ -39,8 +39,8 @@ diff -urN gcc.old/config/arm/t-netbsd gcc/config/arm/t-netbsd
mv $(SHLIB_NAME).tmp $(SHLIB_NAME) && \
$(LN_S) $(SHLIB_NAME) $(SHLIB_SONAME)
diff -urN gcc.old/config/pa/t-hpux-shlib gcc/config/pa/t-hpux-shlib
---- gcc.old/config/pa/t-hpux-shlib 2004-12-10 14:31:15.000000000 +0100
-+++ gcc/config/pa/t-hpux-shlib 2004-12-10 15:03:51.000000000 +0100
+--- a/gcc/config/pa/t-hpux-shlib 2004-12-10 14:31:15.000000000 +0100
++++ b/gcc/config/pa/t-hpux-shlib 2004-12-10 15:03:51.000000000 +0100
@@ -8,7 +8,7 @@
-o $(SHLIB_NAME).tmp @multilib_flags@ $(SHLIB_OBJS) -lc && \
rm -f $(SHLIB_SONAME) && \
@@ -51,8 +51,8 @@ diff -urN gcc.old/config/pa/t-hpux-shlib gcc/config/pa/t-hpux-shlib
mv $(SHLIB_NAME).tmp $(SHLIB_NAME) && \
$(LN_S) $(SHLIB_NAME) $(SHLIB_SONAME)
diff -urN gcc.old/config/sh/t-linux gcc/config/sh/t-linux
---- gcc.old/config/sh/t-linux 2004-12-10 14:31:15.000000000 +0100
-+++ gcc/config/sh/t-linux 2004-12-10 15:03:51.000000000 +0100
+--- a/gcc/config/sh/t-linux 2004-12-10 14:31:15.000000000 +0100
++++ b/gcc/config/sh/t-linux 2004-12-10 15:03:51.000000000 +0100
@@ -28,7 +28,7 @@
-o $(SHLIB_NAME).tmp @multilib_flags@ $(SHLIB_OBJS) $(SHLIB_LC) && \
rm -f $(SHLIB_SOLINK) && \
@@ -63,8 +63,8 @@ diff -urN gcc.old/config/sh/t-linux gcc/config/sh/t-linux
mv $(SHLIB_NAME).tmp $(SHLIB_NAME) && \
(echo "/* GNU ld script"; \
diff -urN gcc.old/config/t-libunwind-elf gcc/config/t-libunwind-elf
---- gcc.old/config/t-libunwind-elf 2004-12-10 14:31:15.000000000 +0100
-+++ gcc/config/t-libunwind-elf 2004-12-10 15:03:51.000000000 +0100
+--- a/gcc/config/t-libunwind-elf 2004-12-10 14:31:15.000000000 +0100
++++ b/gcc/config/t-libunwind-elf 2004-12-10 15:03:51.000000000 +0100
@@ -14,8 +14,7 @@
@multilib_flags@ $(SHLIB_OBJS) -lc && \
rm -f $(SHLIB_SOLINK) && \
@@ -76,8 +76,8 @@ diff -urN gcc.old/config/t-libunwind-elf gcc/config/t-libunwind-elf
mv $(SHLIBUNWIND_NAME).tmp $(SHLIBUNWIND_NAME) && \
$(LN_S) $(SHLIBUNWIND_NAME) $(SHLIB_SOLINK)
diff -urN gcc.old/config/t-slibgcc-elf-ver gcc/config/t-slibgcc-elf-ver
---- gcc.old/config/t-slibgcc-elf-ver 2004-12-10 14:31:18.000000000 +0100
-+++ gcc/config/t-slibgcc-elf-ver 2004-12-10 15:03:54.000000000 +0100
+--- a/gcc/config/t-slibgcc-elf-ver 2004-12-10 14:31:18.000000000 +0100
++++ b/gcc/config/t-slibgcc-elf-ver 2004-12-10 15:03:54.000000000 +0100
@@ -16,7 +16,7 @@
-o $(SHLIB_NAME).tmp @multilib_flags@ $(SHLIB_OBJS) $(SHLIB_LC) && \
rm -f $(SHLIB_SOLINK) && \
@@ -88,8 +88,8 @@ diff -urN gcc.old/config/t-slibgcc-elf-ver gcc/config/t-slibgcc-elf-ver
mv $(SHLIB_NAME).tmp $(SHLIB_NAME) && \
$(LN_S) $(SHLIB_NAME) $(SHLIB_SOLINK)
diff -urN gcc.old/config/t-slibgcc-sld gcc/config/t-slibgcc-sld
---- gcc.old/config/t-slibgcc-sld 2004-12-10 14:31:18.000000000 +0100
-+++ gcc/config/t-slibgcc-sld 2004-12-10 15:03:54.000000000 +0100
+--- a/gcc/config/t-slibgcc-sld 2004-12-10 14:31:18.000000000 +0100
++++ b/gcc/config/t-slibgcc-sld 2004-12-10 15:03:54.000000000 +0100
@@ -14,7 +14,7 @@
@multilib_flags@ $(SHLIB_OBJS) -lc && \
rm -f $(SHLIB_SOLINK) && \
diff --git a/3.3.6/gentoo/59_all_pr23241.patch b/3.3.6/gentoo/59_all_pr23241.patch
index da98b22..c0b847f 100644
--- a/3.3.6/gentoo/59_all_pr23241.patch
+++ b/3.3.6/gentoo/59_all_pr23241.patch
@@ -4,13 +4,8 @@
http://gcc.gnu.org/ml/gcc-patches/2005-08/msg00446.html
-Index: gcc/combine.c
-===================================================================
-RCS file: /cvsroot/gcc/gcc/gcc/combine.c,v
-retrieving revision 1.325.2.19
-diff -c -3 -p -r1.325.2.19 combine.c
-*** gcc/combine.c 18 Jan 2005 08:39:05 -0000 1.325.2.19
---- gcc/combine.c 5 Aug 2005 18:50:13 -0000
+*** a/gcc/combine.c 18 Jan 2005 08:39:05 -0000 1.325.2.19
+--- b/gcc/combine.c 5 Aug 2005 18:50:13 -0000
*************** simplify_comparison (code, pop0, pop1)
*** 10863,10869 ****
/* (A - C1) always sign-extends, like C2. */
diff --git a/3.3.6/gentoo/88_all_gcc-3.3-make-SHELL.patch b/3.3.6/gentoo/88_all_gcc-3.3-make-SHELL.patch
index 9ce572c..ecf1f60 100644
--- a/3.3.6/gentoo/88_all_gcc-3.3-make-SHELL.patch
+++ b/3.3.6/gentoo/88_all_gcc-3.3-make-SHELL.patch
@@ -1,5 +1,5 @@
---- gcc/Makefile.in
-+++ gcc/Makefile.in
+--- a/gcc/Makefile.in
++++ b/gcc/Makefile.in
@@ -2365,6 +2365,7 @@
(MAKE="$(MAKE)"; srcdir=`cd $(srcdir)/fixinc && ${PWD_COMMAND}` ; \
CC="$(HOST_CC)"; CFLAGS="$(HOST_CFLAGS)"; LDFLAGS="$(HOST_LDFLAGS)"; \
diff --git a/3.3.6/gentoo/README.history b/3.3.6/gentoo/README.history
index b870424..cfe279d 100644
--- a/3.3.6/gentoo/README.history
+++ b/3.3.6/gentoo/README.history
@@ -1,3 +1,27 @@
+4 07 July 2021
+ U 00_all_alpha-mieee-default.patch
+ U 02_all_gcc33-ice-hack.patch
+ U 08_all_gcc-3.3.6-cross-compile.patch
+ U 09_all_gcc-3.4.6-c-parse-bison.patch
+ U 10_all_gcc333-debian-arm-getoff.patch
+ U 11_all_gcc333-debian-arm-ldm.patch
+ U 12_all_gcc-3.3-arm-pr22528.patch
+ U 12_all_gcc333_pre20040408-stack-size.patch
+ U 17_all_gcc33-c99-numbers.patch
+ U 25_all_gcc-3.3.3-libiberty-pic.patch
+ U 25_all_gcc33-libstdc++-pic.patch
+ U 26_all_gcc33-m68k-const.patch
+ U 28_all_gcc33-m68k-loop.patch
+ U 29_all_gcc33-m68k-subreg.patch
+ U 40_all_gcc33-warn-unused-result.patch
+ U 54_all_pr10692-fix.patch
+ U 55_all_pr17684.patch
+ U 56_all_pr18153.patch
+ U 57_all_pr18380.patch
+ U 58_all_pr18508.patch
+ U 59_all_pr23241.patch
+ U 88_all_gcc-3.3-make-SHELL.patch
+
3 Abandoned
- 01_ppc_gcc33-multi32-hack.patch
- 01_sparc_gcc33-multi32-hack.patch
^ permalink raw reply related [flat|nested] 11+ messages in thread
end of thread, other threads:[~2021-07-24 9:58 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-12 21:33 [gentoo-commits] proj/gcc-patches:master commit in: 3.3.6/gentoo/ Sergei Trofimovich
-- strict thread matches above, loose matches on Subject: below --
2021-07-24 9:58 Sergei Trofimovich
2020-05-29 21:27 Sergei Trofimovich
2019-10-21 22:16 Sergei Trofimovich
2019-06-15 19:11 Sergei Trofimovich
2019-06-01 10:06 Sergei Trofimovich
2018-11-30 23:41 Sergei Trofimovich
2018-09-30 17:23 Sergei Trofimovich
2018-09-30 16:45 Sergei Trofimovich
2018-09-30 12:16 Sergei Trofimovich
2018-09-15 18:46 Sergei Trofimovich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox