summaryrefslogtreecommitdiffstats
path: root/patches/gcc-4.3.2/generic/uclibc
diff options
context:
space:
mode:
Diffstat (limited to 'patches/gcc-4.3.2/generic/uclibc')
-rw-r--r--patches/gcc-4.3.2/generic/uclibc/100-uclibc-conf.patch42
-rw-r--r--patches/gcc-4.3.2/generic/uclibc/104-gnuhurd-uclibc-conf.patch18
-rw-r--r--patches/gcc-4.3.2/generic/uclibc/301-missing-execinfo_h.patch17
-rw-r--r--patches/gcc-4.3.2/generic/uclibc/302-c99-snprintf.patch17
-rw-r--r--patches/gcc-4.3.2/generic/uclibc/305-libmudflap-susv3-legacy.patch53
-rw-r--r--patches/gcc-4.3.2/generic/uclibc/993-arm_insn-opinit-RTX_CODE-fixup.patch46
-rw-r--r--patches/gcc-4.3.2/generic/uclibc/995-short-enums.diff48
-rw-r--r--patches/gcc-4.3.2/generic/uclibc/998-gcc-4.3.0-fix-header.00.patch19
8 files changed, 0 insertions, 260 deletions
diff --git a/patches/gcc-4.3.2/generic/uclibc/100-uclibc-conf.patch b/patches/gcc-4.3.2/generic/uclibc/100-uclibc-conf.patch
deleted file mode 100644
index ee4e26a..0000000
--- a/patches/gcc-4.3.2/generic/uclibc/100-uclibc-conf.patch
+++ /dev/null
@@ -1,42 +0,0 @@
----
- contrib/regression/objs-gcc.sh | 4 ++++
- libjava/classpath/ltconfig | 4 ++--
- 2 files changed, 6 insertions(+), 2 deletions(-)
-
-Index: gcc-4.3.1/contrib/regression/objs-gcc.sh
-===================================================================
---- gcc-4.3.1.orig/contrib/regression/objs-gcc.sh
-+++ gcc-4.3.1/contrib/regression/objs-gcc.sh
-@@ -105,6 +105,10 @@ if [ $H_REAL_TARGET = $H_REAL_HOST -a $H
- then
- make all-gdb all-dejagnu all-ld || exit 1
- make install-gdb install-dejagnu install-ld || exit 1
-+elif [ $H_REAL_TARGET = $H_REAL_HOST -a $H_REAL_TARGET = i686-pc-linux-uclibc ]
-+ then
-+ make all-gdb all-dejagnu all-ld || exit 1
-+ make install-gdb install-dejagnu install-ld || exit 1
- elif [ $H_REAL_TARGET = $H_REAL_HOST ] ; then
- make bootstrap || exit 1
- make install || exit 1
-Index: gcc-4.3.1/libjava/classpath/ltconfig
-===================================================================
---- gcc-4.3.1.orig/libjava/classpath/ltconfig
-+++ gcc-4.3.1/libjava/classpath/ltconfig
-@@ -603,7 +603,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-
-
- # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
- case $host_os in
--linux-gnu*) ;;
-+linux-gnu*|linux-uclibc*) ;;
- linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
- esac
-
-@@ -1251,7 +1251,7 @@ linux-gnuoldld* | linux-gnuaout* | linux
- ;;
-
- # This must be Linux ELF.
--linux-gnu*)
-+linux*)
- version_type=linux
- need_lib_prefix=no
- need_version=no
diff --git a/patches/gcc-4.3.2/generic/uclibc/104-gnuhurd-uclibc-conf.patch b/patches/gcc-4.3.2/generic/uclibc/104-gnuhurd-uclibc-conf.patch
deleted file mode 100644
index 3e7b25a..0000000
--- a/patches/gcc-4.3.2/generic/uclibc/104-gnuhurd-uclibc-conf.patch
+++ /dev/null
@@ -1,18 +0,0 @@
----
- gcc/config.gcc | 3 +++
- 1 file changed, 3 insertions(+)
-
-Index: gcc-4.3.1/gcc/config.gcc
-===================================================================
---- gcc-4.3.1.orig/gcc/config.gcc
-+++ gcc-4.3.1/gcc/config.gcc
-@@ -529,6 +529,9 @@ case ${target} in
- alpha*)
- tm_file="${cpu_type}/${cpu_type}.h alpha/elf.h alpha/linux.h alpha/linux-elf.h gnu.h ${tm_file}"
- ;;
-+ i[34567]86-*hurd*-*)
-+ tm_file="${cpu_type}/${cpu_type}.h i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/gnu.h gnu.h ${tm_file}"
-+ ;;
- i[34567]86-*-*)
- tm_file="${cpu_type}/${cpu_type}.h i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/linux.h gnu.h ${tm_file}"
- ;;
diff --git a/patches/gcc-4.3.2/generic/uclibc/301-missing-execinfo_h.patch b/patches/gcc-4.3.2/generic/uclibc/301-missing-execinfo_h.patch
deleted file mode 100644
index 3a7853e..0000000
--- a/patches/gcc-4.3.2/generic/uclibc/301-missing-execinfo_h.patch
+++ /dev/null
@@ -1,17 +0,0 @@
----
- boehm-gc/include/gc.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: gcc-4.3.1/boehm-gc/include/gc.h
-===================================================================
---- gcc-4.3.1.orig/boehm-gc/include/gc.h
-+++ gcc-4.3.1/boehm-gc/include/gc.h
-@@ -503,7 +503,7 @@ GC_API GC_PTR GC_malloc_atomic_ignore_of
- #if defined(__linux__) || defined(__GLIBC__)
- # include <features.h>
- # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \
-- && !defined(__ia64__)
-+ && !defined(__ia64__) && !defined(__UCLIBC__)
- # ifndef GC_HAVE_BUILTIN_BACKTRACE
- # define GC_HAVE_BUILTIN_BACKTRACE
- # endif
diff --git a/patches/gcc-4.3.2/generic/uclibc/302-c99-snprintf.patch b/patches/gcc-4.3.2/generic/uclibc/302-c99-snprintf.patch
deleted file mode 100644
index 4ead184..0000000
--- a/patches/gcc-4.3.2/generic/uclibc/302-c99-snprintf.patch
+++ /dev/null
@@ -1,17 +0,0 @@
----
- libstdc++-v3/include/c_global/cstdio | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: gcc-4.3.1/libstdc++-v3/include/c_global/cstdio
-===================================================================
---- gcc-4.3.1.orig/libstdc++-v3/include/c_global/cstdio
-+++ gcc-4.3.1/libstdc++-v3/include/c_global/cstdio
-@@ -144,7 +144,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
-
- _GLIBCXX_END_NAMESPACE
-
--#if _GLIBCXX_USE_C99
-+#if _GLIBCXX_USE_C99 || defined __UCLIBC__
-
- #undef snprintf
- #undef vfscanf
diff --git a/patches/gcc-4.3.2/generic/uclibc/305-libmudflap-susv3-legacy.patch b/patches/gcc-4.3.2/generic/uclibc/305-libmudflap-susv3-legacy.patch
deleted file mode 100644
index 69f50fa..0000000
--- a/patches/gcc-4.3.2/generic/uclibc/305-libmudflap-susv3-legacy.patch
+++ /dev/null
@@ -1,53 +0,0 @@
----
- libmudflap/mf-hooks2.c | 10 +++++-----
- 1 file changed, 5 insertions(+), 5 deletions(-)
-
-Index: gcc-4.3.1/libmudflap/mf-hooks2.c
-===================================================================
---- gcc-4.3.1.orig/libmudflap/mf-hooks2.c
-+++ gcc-4.3.1/libmudflap/mf-hooks2.c
-@@ -427,7 +427,7 @@ WRAPPER2(void, bzero, void *s, size_t n)
- {
- TRACE ("%s\n", __PRETTY_FUNCTION__);
- MF_VALIDATE_EXTENT(s, n, __MF_CHECK_WRITE, "bzero region");
-- bzero (s, n);
-+ memset (s, 0, n);
- }
-
-
-@@ -437,7 +437,7 @@ WRAPPER2(void, bcopy, const void *src, v
- TRACE ("%s\n", __PRETTY_FUNCTION__);
- MF_VALIDATE_EXTENT(src, n, __MF_CHECK_READ, "bcopy src");
- MF_VALIDATE_EXTENT(dest, n, __MF_CHECK_WRITE, "bcopy dest");
-- bcopy (src, dest, n);
-+ memmove (dest, src, n);
- }
-
-
-@@ -447,7 +447,7 @@ WRAPPER2(int, bcmp, const void *s1, cons
- TRACE ("%s\n", __PRETTY_FUNCTION__);
- MF_VALIDATE_EXTENT(s1, n, __MF_CHECK_READ, "bcmp 1st arg");
- MF_VALIDATE_EXTENT(s2, n, __MF_CHECK_READ, "bcmp 2nd arg");
-- return bcmp (s1, s2, n);
-+ return n == 0 ? 0 : memcmp (s1, s2, n);
- }
-
-
-@@ -456,7 +456,7 @@ WRAPPER2(char *, index, const char *s, i
- size_t n = strlen (s);
- TRACE ("%s\n", __PRETTY_FUNCTION__);
- MF_VALIDATE_EXTENT(s, CLAMPADD(n, 1), __MF_CHECK_READ, "index region");
-- return index (s, c);
-+ return strchr (s, c);
- }
-
-
-@@ -465,7 +465,7 @@ WRAPPER2(char *, rindex, const char *s,
- size_t n = strlen (s);
- TRACE ("%s\n", __PRETTY_FUNCTION__);
- MF_VALIDATE_EXTENT(s, CLAMPADD(n, 1), __MF_CHECK_READ, "rindex region");
-- return rindex (s, c);
-+ return strrchr (s, c);
- }
-
- /* XXX: stpcpy, memccpy */
diff --git a/patches/gcc-4.3.2/generic/uclibc/993-arm_insn-opinit-RTX_CODE-fixup.patch b/patches/gcc-4.3.2/generic/uclibc/993-arm_insn-opinit-RTX_CODE-fixup.patch
deleted file mode 100644
index 209aece..0000000
--- a/patches/gcc-4.3.2/generic/uclibc/993-arm_insn-opinit-RTX_CODE-fixup.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-gcc/ChangeLog
-2007-11-27 Bernhard Fischer <>
-
- * config/arm/arm-protos.h (arm_vector_mode_supported_p,
- arm_hard_regno_mode_ok, const_ok_for_arm): Do not hide non-rtx related
- function prototypes in RTX_CODE.
- * genopinit.c: Include tm_p.h.
-
----
- gcc/config/arm/arm-protos.h | 3 +--
- gcc/genopinit.c | 1 +
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-Index: gcc-4.3.1/gcc/config/arm/arm-protos.h
-===================================================================
---- gcc-4.3.1.orig/gcc/config/arm/arm-protos.h
-+++ gcc-4.3.1/gcc/config/arm/arm-protos.h
-@@ -40,15 +40,14 @@ extern HOST_WIDE_INT thumb_compute_initi
- unsigned int);
- extern unsigned int arm_dbx_register_number (unsigned int);
- extern void arm_output_fn_unwind (FILE *, bool);
--
-
- #ifdef TREE_CODE
- extern int arm_return_in_memory (const_tree);
- #endif
--#ifdef RTX_CODE
- extern bool arm_vector_mode_supported_p (enum machine_mode);
- extern int arm_hard_regno_mode_ok (unsigned int, enum machine_mode);
- extern int const_ok_for_arm (HOST_WIDE_INT);
-+#ifdef RTX_CODE
- extern int arm_split_constant (RTX_CODE, enum machine_mode, rtx,
- HOST_WIDE_INT, rtx, rtx, int);
- extern RTX_CODE arm_canonicalize_comparison (RTX_CODE, enum machine_mode,
-Index: gcc-4.3.1/gcc/genopinit.c
-===================================================================
---- gcc-4.3.1.orig/gcc/genopinit.c
-+++ gcc-4.3.1/gcc/genopinit.c
-@@ -487,6 +487,7 @@ from the machine description file `md'.
- printf ("#include \"expr.h\"\n");
- printf ("#include \"optabs.h\"\n");
- printf ("#include \"reload.h\"\n\n");
-+ printf ("#include \"tm_p.h\"\n\n");
-
- printf ("void\ninit_all_optabs (void)\n{\n");
-
diff --git a/patches/gcc-4.3.2/generic/uclibc/995-short-enums.diff b/patches/gcc-4.3.2/generic/uclibc/995-short-enums.diff
deleted file mode 100644
index 3be84a4..0000000
--- a/patches/gcc-4.3.2/generic/uclibc/995-short-enums.diff
+++ /dev/null
@@ -1,48 +0,0 @@
-see gcc PR34205
----
- gcc/c-common.h | 1 +
- gcc/rtl.h | 4 +++-
- gcc/tree.h | 1 +
- 3 files changed, 5 insertions(+), 1 deletion(-)
-
-Index: gcc-4.3.1/gcc/tree.h
-===================================================================
---- gcc-4.3.1.orig/gcc/tree.h
-+++ gcc-4.3.1/gcc/tree.h
-@@ -39,6 +39,7 @@ enum tree_code {
-
- LAST_AND_UNUSED_TREE_CODE /* A convenient way to get a value for
- NUM_TREE_CODES. */
-+ ,__LAST_AND_UNUSED_TREE_CODE=32767 /* Force 16bit width. */
- };
-
- #undef DEFTREECODE
-Index: gcc-4.3.1/gcc/rtl.h
-===================================================================
---- gcc-4.3.1.orig/gcc/rtl.h
-+++ gcc-4.3.1/gcc/rtl.h
-@@ -48,9 +48,11 @@ enum rtx_code {
- #include "rtl.def" /* rtl expressions are documented here */
- #undef DEF_RTL_EXPR
-
-- LAST_AND_UNUSED_RTX_CODE}; /* A convenient way to get a value for
-+ LAST_AND_UNUSED_RTX_CODE /* A convenient way to get a value for
- NUM_RTX_CODE.
- Assumes default enum value assignment. */
-+ ,__LAST_AND_UNUSED_RTX_CODE=32767 /* Force 16bit width. */
-+};
-
- #define NUM_RTX_CODE ((int) LAST_AND_UNUSED_RTX_CODE)
- /* The cast here, saves many elsewhere. */
-Index: gcc-4.3.1/gcc/c-common.h
-===================================================================
---- gcc-4.3.1.orig/gcc/c-common.h
-+++ gcc-4.3.1/gcc/c-common.h
-@@ -125,6 +125,7 @@ enum rid
- RID_LAST_AT = RID_AT_IMPLEMENTATION,
- RID_FIRST_PQ = RID_IN,
- RID_LAST_PQ = RID_ONEWAY
-+ ,__LAST_AND_UNUSED_RID=32767 /* Force 16bit width. */
- };
-
- #define OBJC_IS_AT_KEYWORD(rid) \
diff --git a/patches/gcc-4.3.2/generic/uclibc/998-gcc-4.3.0-fix-header.00.patch b/patches/gcc-4.3.2/generic/uclibc/998-gcc-4.3.0-fix-header.00.patch
deleted file mode 100644
index 546198c..0000000
--- a/patches/gcc-4.3.2/generic/uclibc/998-gcc-4.3.0-fix-header.00.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-\\\\
-\\ gcc PR33200
----
- gcc/config.gcc | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: gcc-4.3.1/gcc/config.gcc
-===================================================================
---- gcc-4.3.1.orig/gcc/config.gcc
-+++ gcc-4.3.1/gcc/config.gcc
-@@ -2316,7 +2316,7 @@ sh-*-symbianelf* | sh[12346l]*-*-symbian
- if test x${enable_incomplete_targets} = xyes ; then
- tm_defines="$tm_defines SUPPORT_SH1=1 SUPPORT_SH2E=1 SUPPORT_SH4=1 SUPPORT_SH4_SINGLE=1 SUPPORT_SH2A=1 SUPPORT_SH2A_SINGLE=1 SUPPORT_SH5_32MEDIA=1 SUPPORT_SH5_32MEDIA_NOFPU=1 SUPPORT_SH5_64MEDIA=1 SUPPORT_SH5_64MEDIA_NOFPU=1"
- fi
-- use_fixproto=yes
-+ # XXX: why? use_fixproto=yes
- ;;
- sh-*-rtems*)
- tmake_file="sh/t-sh sh/t-elf t-rtems sh/t-rtems"