toolchain/gcc: upgrade Linaro GCC 4.9 to 4.9-2015.03

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45944
This commit is contained in:
Imre Kaloz 2015-06-11 11:57:11 +00:00
parent 950c0191c2
commit e856d62d0a
16 changed files with 34 additions and 38 deletions

View file

@ -42,11 +42,11 @@ ifeq ($(findstring linaro, $(CONFIG_GCC_VERSION)),linaro)
PKG_COMP:=xz PKG_COMP:=xz
endif endif
ifeq ($(CONFIG_GCC_VERSION),"4.9-linaro") ifeq ($(CONFIG_GCC_VERSION),"4.9-linaro")
LINARO_RELEASE:=14.10 LINARO_RELEASE:=15.03
PKG_REV:=4.9-2014.10 PKG_REV:=4.9-2015.03
PKG_VERSION:=4.9.2 PKG_VERSION:=4.9.3
PKG_VERSION_MAJOR:=4.9 PKG_VERSION_MAJOR:=4.9
PKG_MD5SUM:=230da25b1e7661a8659eb770c5c88442 PKG_MD5SUM:=f9d256d120adfbb45dd3e2d22b70cba9
PKG_COMP:=xz PKG_COMP:=xz
endif endif
ifneq ($(LINARO_RELEASE),) ifneq ($(LINARO_RELEASE),)

View file

@ -1,6 +1,6 @@
--- a/gcc/Makefile.in --- a/gcc/Makefile.in
+++ b/gcc/Makefile.in +++ b/gcc/Makefile.in
@@ -2842,18 +2842,10 @@ doc/gcc.info: $(TEXI_GCC_FILES) @@ -2847,18 +2847,10 @@ doc/gcc.info: $(TEXI_GCC_FILES)
doc/gccint.info: $(TEXI_GCCINT_FILES) doc/gccint.info: $(TEXI_GCCINT_FILES)
doc/cppinternals.info: $(TEXI_CPPINT_FILES) doc/cppinternals.info: $(TEXI_CPPINT_FILES)

View file

@ -1,6 +1,6 @@
--- a/gcc/config.gcc --- a/gcc/config.gcc
+++ b/gcc/config.gcc +++ b/gcc/config.gcc
@@ -594,7 +594,7 @@ case ${target} in @@ -595,7 +595,7 @@ case ${target} in
esac esac
# Common C libraries. # Common C libraries.
@ -9,7 +9,7 @@
# 32-bit x86 processors supported by --with-arch=. Each processor # 32-bit x86 processors supported by --with-arch=. Each processor
# MUST be separated by exactly one space. # MUST be separated by exactly one space.
@@ -719,6 +719,9 @@ case ${target} in @@ -720,6 +720,9 @@ case ${target} in
*-*-*uclibc*) *-*-*uclibc*)
tm_defines="$tm_defines DEFAULT_LIBC=LIBC_UCLIBC" tm_defines="$tm_defines DEFAULT_LIBC=LIBC_UCLIBC"
;; ;;

View file

@ -1,6 +1,6 @@
--- a/gcc/config.gcc --- a/gcc/config.gcc
+++ b/gcc/config.gcc +++ b/gcc/config.gcc
@@ -2334,6 +2334,10 @@ powerpc*-*-linux*) @@ -2344,6 +2344,10 @@ powerpc*-*-linux*)
powerpc*-*-linux*paired*) powerpc*-*-linux*paired*)
tm_file="${tm_file} rs6000/750cl.h" ;; tm_file="${tm_file} rs6000/750cl.h" ;;
esac esac
@ -13,7 +13,7 @@
fi fi
--- a/gcc/config/rs6000/linux64.h --- a/gcc/config/rs6000/linux64.h
+++ b/gcc/config/rs6000/linux64.h +++ b/gcc/config/rs6000/linux64.h
@@ -375,17 +375,21 @@ extern int dot_symbols; @@ -371,17 +371,21 @@ extern int dot_symbols;
#endif #endif
#define UCLIBC_DYNAMIC_LINKER32 "/lib/ld-uClibc.so.0" #define UCLIBC_DYNAMIC_LINKER32 "/lib/ld-uClibc.so.0"
#define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0" #define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0"

View file

@ -1,6 +1,6 @@
--- a/libstdc++-v3/configure.host --- a/libstdc++-v3/configure.host
+++ b/libstdc++-v3/configure.host +++ b/libstdc++-v3/configure.host
@@ -264,6 +264,13 @@ case "${host_os}" in @@ -263,6 +263,13 @@ case "${host_os}" in
os_include_dir="os/bsd/freebsd" os_include_dir="os/bsd/freebsd"
;; ;;
gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu) gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
@ -14,7 +14,7 @@
if [ "$uclibc" = "yes" ]; then if [ "$uclibc" = "yes" ]; then
os_include_dir="os/uclibc" os_include_dir="os/uclibc"
elif [ "$bionic" = "yes" ]; then elif [ "$bionic" = "yes" ]; then
@@ -272,6 +279,9 @@ case "${host_os}" in @@ -271,6 +278,9 @@ case "${host_os}" in
os_include_dir="os/gnu-linux" os_include_dir="os/gnu-linux"
fi fi
;; ;;

View file

@ -1,10 +1,8 @@
Index: gcc-linaro-4.8-2014.04/gcc/config/mips/linux64.h --- a/gcc/config/mips/linux64.h
=================================================================== +++ b/gcc/config/mips/linux64.h
--- gcc-linaro-4.8-2014.04.orig/gcc/config/mips/linux64.h 2014-10-23 15:52:48.999134219 -0700 @@ -39,6 +39,16 @@ along with GCC; see the file COPYING3.
+++ gcc-linaro-4.8-2014.04/gcc/config/mips/linux64.h 2014-10-23 15:59:19.815116979 -0700 "%{mnan=2008:/lib32/ld-uClibc-mipsn8.so.0;:/lib32/ld-uClibc.so.0}"
@@ -27,6 +27,16 @@
#define GLIBC_DYNAMIC_LINKERN32 "/lib32/ld.so.1"
#define UCLIBC_DYNAMIC_LINKERN32 "/lib32/ld-uClibc.so.0"
#define BIONIC_DYNAMIC_LINKERN32 "/system/bin/linker32" #define BIONIC_DYNAMIC_LINKERN32 "/system/bin/linker32"
+ +
+#if TARGET_ENDIAN_DEFAULT == 0 /* LE */ +#if TARGET_ENDIAN_DEFAULT == 0 /* LE */

View file

@ -1,6 +1,6 @@
--- a/gcc/config/arm/arm.h --- a/gcc/config/arm/arm.h
+++ b/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h
@@ -282,7 +282,7 @@ extern void (*arm_lang_output_object_att @@ -285,7 +285,7 @@ extern void (*arm_lang_output_object_att
/* Thumb-1 only. */ /* Thumb-1 only. */
#define TARGET_THUMB1_ONLY (TARGET_THUMB1 && !arm_arch_notm) #define TARGET_THUMB1_ONLY (TARGET_THUMB1 && !arm_arch_notm)

View file

@ -1,6 +1,6 @@
--- a/gcc/config/rs6000/rs6000.c --- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c
@@ -20853,7 +20853,7 @@ rs6000_savres_strategy (rs6000_stack_t * @@ -20869,7 +20869,7 @@ rs6000_savres_strategy (rs6000_stack_t *
/* Define cutoff for using out-of-line functions to save registers. */ /* Define cutoff for using out-of-line functions to save registers. */
if (DEFAULT_ABI == ABI_V4 || TARGET_ELF) if (DEFAULT_ABI == ABI_V4 || TARGET_ELF)
{ {

View file

@ -145,7 +145,7 @@
; On SVR4 targets, it also controls whether or not to emit a ; On SVR4 targets, it also controls whether or not to emit a
--- a/gcc/opts.c --- a/gcc/opts.c
+++ b/gcc/opts.c +++ b/gcc/opts.c
@@ -1536,6 +1536,17 @@ common_handle_option (struct gcc_options @@ -1572,6 +1572,17 @@ common_handle_option (struct gcc_options
opts, opts_set, loc, dc); opts, opts_set, loc, dc);
break; break;
@ -211,7 +211,7 @@
@item -Wstack-protector @item -Wstack-protector
@opindex Wstack-protector @opindex Wstack-protector
@opindex Wno-stack-protector @opindex Wno-stack-protector
@@ -7189,7 +7205,7 @@ so, the first branch is redirected to ei @@ -7194,7 +7210,7 @@ so, the first branch is redirected to ei
second branch or a point immediately following it, depending on whether second branch or a point immediately following it, depending on whether
the condition is known to be true or false. the condition is known to be true or false.

View file

@ -1,6 +1,6 @@
--- a/gcc/gcc.c --- a/gcc/gcc.c
+++ b/gcc/gcc.c +++ b/gcc/gcc.c
@@ -8106,7 +8106,10 @@ getenv_spec_function (int argc, const ch @@ -8105,7 +8105,10 @@ getenv_spec_function (int argc, const ch
value = getenv (argv[0]); value = getenv (argv[0]);
if (!value) if (!value)

View file

@ -48,9 +48,9 @@ sellcey@mips.com
--- a/gcc/config/mips/mips.c --- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c
@@ -19134,6 +19134,9 @@ mips_atomic_assign_expand_fenv (tree *ho @@ -19142,6 +19142,9 @@ mips_atomic_assign_expand_fenv (tree *ho
#undef TARGET_ATOMIC_ASSIGN_EXPAND_FENV #define TARGET_USE_BY_PIECES_INFRASTRUCTURE_P \
#define TARGET_ATOMIC_ASSIGN_EXPAND_FENV mips_atomic_assign_expand_fenv mips_use_by_pieces_infrastructure_p
+#undef TARGET_ASM_FILE_END +#undef TARGET_ASM_FILE_END
+#define TARGET_ASM_FILE_END file_end_indicate_exec_stack +#define TARGET_ASM_FILE_END file_end_indicate_exec_stack
@ -85,7 +85,7 @@ sellcey@mips.com
--- a/libgcc/config/mips/mips16.S --- a/libgcc/config/mips/mips16.S
+++ b/libgcc/config/mips/mips16.S +++ b/libgcc/config/mips/mips16.S
@@ -31,6 +31,10 @@ see the files COPYING3 and COPYING.RUNTI @@ -35,6 +35,10 @@ see the files COPYING3 and COPYING.RUNTI
values using the soft-float calling convention, but do the actual values using the soft-float calling convention, but do the actual
operation using the hard floating point instructions. */ operation using the hard floating point instructions. */

View file

@ -1,8 +1,6 @@
Index: gcc-linaro-4.9-2014.10/libstdc++-v3/include/Makefile.in --- a/libstdc++-v3/include/Makefile.in
=================================================================== +++ b/libstdc++-v3/include/Makefile.in
--- gcc-linaro-4.9-2014.10.orig/libstdc++-v3/include/Makefile.in 2013-11-16 12:44:48.000000000 -0500 @@ -1366,7 +1366,7 @@ stamp-bits: ${bits_headers}
+++ gcc-linaro-4.9-2014.10/libstdc++-v3/include/Makefile.in 2014-12-02 06:23:02.236660279 -0500
@@ -1366,7 +1366,7 @@
@$(STAMP) stamp-bits @$(STAMP) stamp-bits
stamp-bits-sup: stamp-bits ${bits_sup_headers} stamp-bits-sup: stamp-bits ${bits_sup_headers}