mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-03-22 01:54:32 -05:00
remove old patches
This commit is contained in:
parent
49de6eea9c
commit
ed40973170
|
|
@ -1,48 +0,0 @@
|
|||
diff -Nbaur binutils-2.20.1/gold/i386.cc binutils-2.20.1-ppc/gold/i386.cc
|
||||
--- binutils-2.20.1/gold/i386.cc 2010-01-14 10:48:42.000000000 +0000
|
||||
+++ binutils-2.20.1-ppc/gold/i386.cc 2010-10-01 21:06:06.000000000 +0100
|
||||
@@ -2729,7 +2729,7 @@
|
||||
if (!object->has_no_split_stack())
|
||||
object->error(_("failed to match split-stack sequence at "
|
||||
"section %u offset %0zx"),
|
||||
- shndx, fnoffset);
|
||||
+ shndx, (size_t)fnoffset);
|
||||
return;
|
||||
}
|
||||
|
||||
diff -Nbaur binutils-2.20.1/gold/incremental.cc binutils-2.20.1-ppc/gold/incremental.cc
|
||||
--- binutils-2.20.1/gold/incremental.cc 2009-10-16 08:42:50.000000000 +0100
|
||||
+++ binutils-2.20.1-ppc/gold/incremental.cc 2010-10-01 21:06:06.000000000 +0100
|
||||
@@ -389,7 +389,7 @@
|
||||
}
|
||||
|
||||
int size;
|
||||
- bool big_endian;
|
||||
+ bool big_endian = false;
|
||||
std::string error;
|
||||
if (!elfcpp::Elf_recognizer::is_valid_header(p, want, &size, &big_endian,
|
||||
&error))
|
||||
diff -Nbaur binutils-2.20.1/gold/object.cc binutils-2.20.1-ppc/gold/object.cc
|
||||
--- binutils-2.20.1/gold/object.cc 2010-01-14 10:48:42.000000000 +0000
|
||||
+++ binutils-2.20.1-ppc/gold/object.cc 2010-10-01 21:06:06.000000000 +0100
|
||||
@@ -2323,7 +2323,7 @@
|
||||
*punconfigured = false;
|
||||
|
||||
std::string error;
|
||||
- bool big_endian;
|
||||
+ bool big_endian=false;
|
||||
int size;
|
||||
if (!elfcpp::Elf_recognizer::is_valid_header(p, bytes, &size,
|
||||
&big_endian, &error))
|
||||
diff -Nbaur binutils-2.20.1/gold/x86_64.cc binutils-2.20.1-ppc/gold/x86_64.cc
|
||||
--- binutils-2.20.1/gold/x86_64.cc 2010-01-14 10:48:43.000000000 +0000
|
||||
+++ binutils-2.20.1-ppc/gold/x86_64.cc 2010-10-01 21:06:07.000000000 +0100
|
||||
@@ -2718,7 +2718,7 @@
|
||||
if (!object->has_no_split_stack())
|
||||
object->error(_("failed to match split-stack sequence at "
|
||||
"section %u offset %0zx"),
|
||||
- shndx, fnoffset);
|
||||
+ shndx, (size_t)fnoffset);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -1,118 +0,0 @@
|
|||
diff -Nbaur gcc-4.5.0/gcc/config/arm/t-arm-elf gcc-4.5.0-arm/gcc/config/arm/t-arm-elf
|
||||
--- gcc-4.5.0/gcc/config/arm/t-arm-elf 2009-08-06 15:27:45.000000000 +0100
|
||||
+++ gcc-4.5.0-arm/gcc/config/arm/t-arm-elf 2010-06-17 12:13:28.000000000 +0100
|
||||
@@ -36,30 +36,30 @@
|
||||
MULTILIB_EXCEPTIONS =
|
||||
MULTILIB_MATCHES =
|
||||
|
||||
-#MULTILIB_OPTIONS += march=armv7
|
||||
-#MULTILIB_DIRNAMES += thumb2
|
||||
-#MULTILIB_EXCEPTIONS += march=armv7* marm/*march=armv7*
|
||||
-#MULTILIB_MATCHES += march?armv7=march?armv7-a
|
||||
-#MULTILIB_MATCHES += march?armv7=march?armv7-r
|
||||
-#MULTILIB_MATCHES += march?armv7=march?armv7-m
|
||||
-#MULTILIB_MATCHES += march?armv7=mcpu?cortex-a8
|
||||
-#MULTILIB_MATCHES += march?armv7=mcpu?cortex-r4
|
||||
-#MULTILIB_MATCHES += march?armv7=mcpu?cortex-m3
|
||||
+MULTILIB_OPTIONS += march=armv7
|
||||
+MULTILIB_DIRNAMES += thumb2
|
||||
+MULTILIB_EXCEPTIONS += march=armv7* marm/*march=armv7*
|
||||
+MULTILIB_MATCHES += march?armv7=march?armv7-a
|
||||
+MULTILIB_MATCHES += march?armv7=march?armv7-r
|
||||
+MULTILIB_MATCHES += march?armv7=march?armv7-m
|
||||
+MULTILIB_MATCHES += march?armv7=mcpu?cortex-a8
|
||||
+MULTILIB_MATCHES += march?armv7=mcpu?cortex-r4
|
||||
+MULTILIB_MATCHES += march?armv7=mcpu?cortex-m3
|
||||
|
||||
# Not quite true. We can support hard-vfp calling in Thumb2, but how do we
|
||||
# express that here? Also, we really need architecture v5e or later
|
||||
# (mcrr etc).
|
||||
-MULTILIB_OPTIONS += mfloat-abi=hard
|
||||
-MULTILIB_DIRNAMES += fpu
|
||||
-MULTILIB_EXCEPTIONS += *mthumb/*mfloat-abi=hard*
|
||||
+# MULTILIB_OPTIONS += mfloat-abi=hard
|
||||
+# MULTILIB_DIRNAMES += fpu
|
||||
+# MULTILIB_EXCEPTIONS += *mthumb/*mfloat-abi=hard*
|
||||
|
||||
# MULTILIB_OPTIONS += mcpu=ep9312
|
||||
# MULTILIB_DIRNAMES += ep9312
|
||||
# MULTILIB_EXCEPTIONS += *mthumb/*mcpu=ep9312*
|
||||
#
|
||||
-# MULTILIB_OPTIONS += mlittle-endian/mbig-endian
|
||||
-# MULTILIB_DIRNAMES += le be
|
||||
-# MULTILIB_MATCHES += mbig-endian=mbe mlittle-endian=mle
|
||||
+MULTILIB_OPTIONS += mlittle-endian/mbig-endian
|
||||
+MULTILIB_DIRNAMES += le be
|
||||
+MULTILIB_MATCHES += mbig-endian=mbe mlittle-endian=mle
|
||||
#
|
||||
# MULTILIB_OPTIONS += mhard-float/msoft-float
|
||||
# MULTILIB_DIRNAMES += fpu soft
|
||||
diff -Nbaur gcc-4.5.0/gcc/config/arm/unknown-elf.h gcc-4.5.0-arm/gcc/config/arm/unknown-elf.h
|
||||
--- gcc-4.5.0/gcc/config/arm/unknown-elf.h 2009-02-20 15:20:38.000000000 +0000
|
||||
+++ gcc-4.5.0-arm/gcc/config/arm/unknown-elf.h 2010-06-17 12:13:28.000000000 +0100
|
||||
@@ -97,4 +97,4 @@
|
||||
udivmoddi4, which will depend on the exception unwind routines,
|
||||
which will depend on abort, which is defined in libc. */
|
||||
#undef LINK_GCC_C_SEQUENCE_SPEC
|
||||
-#define LINK_GCC_C_SEQUENCE_SPEC "--start-group %G %L --end-group"
|
||||
+#define LINK_GCC_C_SEQUENCE_SPEC "--start-group %G %L %(libgloss) --end-group"
|
||||
diff -Nbaur gcc-4.5.0/gcc/gcc.c gcc-4.5.0-arm/gcc/gcc.c
|
||||
--- gcc-4.5.0/gcc/gcc.c 2010-02-11 12:23:08.000000000 +0000
|
||||
+++ gcc-4.5.0-arm/gcc/gcc.c 2010-06-17 12:19:01.000000000 +0100
|
||||
@@ -678,6 +678,11 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+#ifndef LIBGLOSS_SPEC
|
||||
+# define LIBGLOSS_SPEC "-lsysbase"
|
||||
+#endif
|
||||
+
|
||||
+
|
||||
/* config.h can define STARTFILE_SPEC to override the default crt0 files. */
|
||||
#ifndef STARTFILE_SPEC
|
||||
#define STARTFILE_SPEC \
|
||||
@@ -834,6 +839,7 @@
|
||||
static const char *mflib_spec = MFLIB_SPEC;
|
||||
static const char *link_gomp_spec = "";
|
||||
static const char *libgcc_spec = LIBGCC_SPEC;
|
||||
+static const char *libgloss_spec = LIBGLOSS_SPEC;
|
||||
static const char *endfile_spec = ENDFILE_SPEC;
|
||||
static const char *startfile_spec = STARTFILE_SPEC;
|
||||
static const char *switches_need_spaces = SWITCHES_NEED_SPACES;
|
||||
@@ -1674,6 +1680,7 @@
|
||||
INIT_STATIC_SPEC ("mflib", &mflib_spec),
|
||||
INIT_STATIC_SPEC ("link_gomp", &link_gomp_spec),
|
||||
INIT_STATIC_SPEC ("libgcc", &libgcc_spec),
|
||||
+ INIT_STATIC_SPEC ("libgloss", &libgloss_spec),
|
||||
INIT_STATIC_SPEC ("startfile", &startfile_spec),
|
||||
INIT_STATIC_SPEC ("switches_need_spaces", &switches_need_spaces),
|
||||
INIT_STATIC_SPEC ("cross_compile", &cross_compile),
|
||||
diff -Nbaur gcc-4.5.0/gcc/sched-deps.c gcc-4.5.0-arm/gcc/sched-deps.c
|
||||
--- gcc-4.5.0/gcc/sched-deps.c 2010-03-30 22:00:47.000000000 +0100
|
||||
+++ gcc-4.5.0-arm/gcc/sched-deps.c 2010-06-17 12:13:28.000000000 +0100
|
||||
@@ -2274,6 +2274,12 @@
|
||||
FIRST_STACK_REG + nregs);
|
||||
}
|
||||
#endif
|
||||
+
|
||||
+ /* If the stack pointer is being modified, flush out all memory
|
||||
+ references as they may become invalid if moved across the
|
||||
+ stack adjustment. */
|
||||
+ if (dest == stack_pointer_rtx)
|
||||
+ flush_pending_lists (deps, insn, true, true);
|
||||
}
|
||||
else if (MEM_P (dest))
|
||||
{
|
||||
diff -Nbaur gcc-4.5.0/libcpp/Makefile.in gcc-4.5.0-arm/libcpp/Makefile.in
|
||||
--- gcc-4.5.0/libcpp/Makefile.in 2010-04-14 10:30:07.000000000 +0100
|
||||
+++ gcc-4.5.0-arm/libcpp/Makefile.in 2010-06-17 12:13:28.000000000 +0100
|
||||
@@ -212,8 +212,7 @@
|
||||
# Note that we put the dependencies into a .Tpo file, then move them
|
||||
# into place if the compile succeeds. We need this because gcc does
|
||||
# not atomically write the dependency output file.
|
||||
-COMPILE = $(COMPILE.base) -o $@ -MT $@ -MMD -MP -MF $(DEPDIR)/$*.Tpo
|
||||
-POSTCOMPILE = @mv $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
||||
+COMPILE = $(COMPILE.base) -o $@
|
||||
else
|
||||
COMPILE = source='$<' object='$@' libtool=no DEPDIR=$(DEPDIR) $(DEPMODE) \
|
||||
$(depcomp) $(COMPILE.base)
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user