summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2011-07-01 08:10:12 +0000
committerImre Kaloz <kaloz@openwrt.org>2011-07-01 08:10:12 +0000
commit7c4a91b216aeea9e5cc5facfa13a12e2a023fe87 (patch)
tree5eb2e82e2fa2708061b9e354ec209d729f8e357d /toolchain
parent0b250e312364e230c70e21a05ebea7000edb14c8 (diff)
downloadmtk-20170518-7c4a91b216aeea9e5cc5facfa13a12e2a023fe87.zip
mtk-20170518-7c4a91b216aeea9e5cc5facfa13a12e2a023fe87.tar.gz
mtk-20170518-7c4a91b216aeea9e5cc5facfa13a12e2a023fe87.tar.bz2
upgrade the linaro gcc to 2011.06
SVN-Revision: 27326
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/gcc/common.mk4
-rw-r--r--toolchain/gcc/patches/linaro/840-armv4_pass_fix-v4bx_to_ld.patch2
-rw-r--r--toolchain/gcc/patches/linaro/850-use_shared_libgcc.patch8
-rw-r--r--toolchain/gcc/patches/linaro/995-fa526.patch2
4 files changed, 8 insertions, 8 deletions
diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk
index 1ef14a8..f0e22bf 100644
--- a/toolchain/gcc/common.mk
+++ b/toolchain/gcc/common.mk
@@ -37,11 +37,11 @@ ifdef CONFIG_GCC_VERSION_LLVM
HOST_BUILD_DIR:=$(BUILD_DIR_TOOLCHAIN)/$(GCC_DIR)
else
ifeq ($(CONFIG_GCC_VERSION),"linaro")
- PKG_REV:=4.5-2011.05-0
+ PKG_REV:=4.5-2011.06-0
PKG_VERSION:=4.5.4
PKG_SOURCE_URL:=http://launchpad.net/gcc-linaro/4.5/$(PKG_REV)/+download/
PKG_SOURCE:=$(PKG_NAME)-linaro-$(PKG_REV).tar.bz2
- PKG_MD5SUM:=7ec3e08bc39fe24f3c14006c003f5669
+ PKG_MD5SUM:=34562e19a3ea5baf05a2046c7da0a00b
GCC_DIR:=gcc-linaro-$(PKG_REV)
HOST_BUILD_DIR:=$(BUILD_DIR_TOOLCHAIN)/$(GCC_DIR)
else
diff --git a/toolchain/gcc/patches/linaro/840-armv4_pass_fix-v4bx_to_ld.patch b/toolchain/gcc/patches/linaro/840-armv4_pass_fix-v4bx_to_ld.patch
index 7966936..41b790a 100644
--- a/toolchain/gcc/patches/linaro/840-armv4_pass_fix-v4bx_to_ld.patch
+++ b/toolchain/gcc/patches/linaro/840-armv4_pass_fix-v4bx_to_ld.patch
@@ -15,6 +15,6 @@
LINUX_OR_ANDROID_LD (LINUX_TARGET_LINK_SPEC, \
- LINUX_TARGET_LINK_SPEC " " ANDROID_LINK_SPEC)
+ LINUX_TARGET_LINK_SPEC " " ANDROID_LINK_SPEC) \
-
+
#undef CC1_SPEC
#define CC1_SPEC \
diff --git a/toolchain/gcc/patches/linaro/850-use_shared_libgcc.patch b/toolchain/gcc/patches/linaro/850-use_shared_libgcc.patch
index ce54731..902edf5 100644
--- a/toolchain/gcc/patches/linaro/850-use_shared_libgcc.patch
+++ b/toolchain/gcc/patches/linaro/850-use_shared_libgcc.patch
@@ -3,7 +3,7 @@
@@ -95,10 +95,6 @@
#define ENDFILE_SPEC \
LINUX_OR_ANDROID_LD (LINUX_TARGET_ENDFILE_SPEC, ANDROID_ENDFILE_SPEC)
-
+
-/* Use the default LIBGCC_SPEC, not the version in linux-elf.h, as we
- do not use -lfloat. */
-#undef LIBGCC_SPEC
@@ -24,7 +24,7 @@
#define LINUX_TARGET_LINK_SPEC "%{h*} %{version:-v} \
--- a/gcc/config/linux.h
+++ b/gcc/config/linux.h
-@@ -116,6 +116,10 @@
+@@ -116,6 +116,10 @@ see the files COPYING3 and COPYING.RUNTI
#define USE_LD_AS_NEEDED 1
#endif
@@ -37,7 +37,7 @@
-muclibc or -mglibc or -mbionic has been passed to change the default. */
--- a/gcc/mkmap-symver.awk
+++ b/gcc/mkmap-symver.awk
-@@ -132,5 +132,5 @@
+@@ -132,5 +132,5 @@ function output(lib) {
else if (inherit[lib])
printf("} %s;\n", inherit[lib]);
else
@@ -46,7 +46,7 @@
}
--- a/libgcc/Makefile.in
+++ b/libgcc/Makefile.in
-@@ -265,7 +265,7 @@
+@@ -265,7 +265,7 @@ ifeq ($(enable_shared),yes)
# For -fvisibility=hidden. We need both a -fvisibility=hidden on
# the command line, and a #define to prevent libgcc2.h etc from
# overriding that with #pragmas.
diff --git a/toolchain/gcc/patches/linaro/995-fa526.patch b/toolchain/gcc/patches/linaro/995-fa526.patch
index bffe4d3..700bb4a 100644
--- a/toolchain/gcc/patches/linaro/995-fa526.patch
+++ b/toolchain/gcc/patches/linaro/995-fa526.patch
@@ -214,7 +214,7 @@
+
--- a/gcc/config/arm/t-arm
+++ b/gcc/config/arm/t-arm
-@@ -23,6 +23,7 @@ MD_INCLUDES= $(srcdir)/config/arm/arm-t
+@@ -23,6 +23,7 @@ MD_INCLUDES= $(srcdir)/config/arm/arm-tu
$(srcdir)/config/arm/arm-generic.md \
$(srcdir)/config/arm/arm1020e.md \
$(srcdir)/config/arm/arm1026ejs.md \