CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
zlib: update to 1.2.7
[crossrootfs.git] / gcc / gcc-4.6.1-gnueabihf.patch
CommitLineData
2c257760
VM
1--- gcc-4.6.1.orig/configure 2012-09-24 17:56:00.232164337 +0000
2+++ gcc-4.6.1/configure 2012-09-24 18:00:08.820172802 +0000
317a7556
VM
3@@ -3236,7 +3236,7 @@ case "${target}" in
4 noconfigdirs="$noconfigdirs target-libffi target-qthreads"
5 libgloss_dir=arm
6 ;;
7- arm*-*-linux-gnueabi)
2c257760 8+ arm*-*-linux-gnueabi*)
317a7556
VM
9 noconfigdirs="$noconfigdirs target-qthreads"
10 case ${with_newlib} in
11 no) noconfigdirs="$noconfigdirs target-newlib target-libgloss"
2c257760
VM
12--- gcc-4.6.1.orig/configure.ac 2012-09-24 17:56:02.312164408 +0000
13+++ gcc-4.6.1/configure.ac 2012-09-24 18:01:00.840174573 +0000
317a7556
VM
14@@ -682,7 +682,7 @@ case "${target}" in
15 noconfigdirs="$noconfigdirs target-libffi target-qthreads"
16 libgloss_dir=arm
17 ;;
18- arm*-*-linux-gnueabi)
2c257760 19+ arm*-*-linux-gnueabi*)
317a7556
VM
20 noconfigdirs="$noconfigdirs target-qthreads"
21 case ${with_newlib} in
22 no) noconfigdirs="$noconfigdirs target-newlib target-libgloss"
2c257760
VM
23--- gcc-4.6.1.orig/gcc/config.gcc 2012-09-24 17:56:04.152164470 +0000
24+++ gcc-4.6.1/gcc/config.gcc 2012-09-24 18:02:13.052177032 +0000
25@@ -822,13 +822,13 @@ arm*-*-linux*) # ARM GNU/Linux with EL
317a7556
VM
26 esac
27 tmake_file="${tmake_file} t-linux arm/t-arm"
28 case ${target} in
29- arm*-*-linux-*eabi)
30+ arm*-*-linux-*eabi*)
31 tm_file="$tm_file arm/bpabi.h arm/linux-eabi.h"
32 tm_file="$tm_file ../../libgcc/config/arm/bpabi-lib.h"
33 tmake_file="$tmake_file arm/t-arm-elf arm/t-bpabi arm/t-linux-eabi t-slibgcc-libgcc"
34 # Define multilib configuration for arm-linux-androideabi.
35 case ${target} in
36- *-androideabi)
37+ *-androideabi*)
38 tmake_file="$tmake_file arm/t-linux-androideabi"
39 ;;
40 esac
2c257760 41@@ -850,7 +850,7 @@ arm*-*-uclinux*) # ARM ucLinux
317a7556
VM
42 tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/linux-gas.h arm/uclinux-elf.h glibc-stdint.h"
43 tmake_file="arm/t-arm arm/t-arm-elf"
44 case ${target} in
45- arm*-*-uclinux*eabi)
46+ arm*-*-uclinux*eabi*)
47 tm_file="$tm_file arm/bpabi.h arm/uclinux-eabi.h"
48 tm_file="$tm_file ../../libgcc/config/arm/bpabi-lib.h"
49 tmake_file="$tmake_file arm/t-bpabi"
2c257760
VM
50--- gcc-4.6.1.orig/libstdc++-v3/configure.host 2010-12-06 00:50:04.000000000 +0000
51+++ gcc-4.6.1/libstdc++-v3/configure.host 2012-09-24 18:04:28.736181653 +0000
317a7556
VM
52@@ -322,7 +322,7 @@ case "${host}" in
53 fi
54 esac
55 case "${host}" in
56- arm*-*-linux-*eabi)
57+ arm*-*-linux-*eabi*)
58 port_specific_symbol_files="\$(srcdir)/../config/os/gnu-linux/arm-eabi-extra.ver"
59 ;;
60 esac
2c257760
VM
61--- gcc-4.6.1.orig/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-2.cc 2009-04-09 15:00:19.000000000 +0000
62+++ gcc-4.6.1/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-2.cc 2012-09-24 18:06:09.996185101 +0000
317a7556
VM
63@@ -1,5 +1,5 @@
64 // { dg-options "-std=gnu++0x -funsigned-char -fshort-enums" }
65-// { dg-options "-std=gnu++0x -funsigned-char -fshort-enums -Wl,--no-enum-size-warning" { target arm*-*-linux*eabi } }
2c257760 66+// { dg-options "-std=gnu++0x -funsigned-char -fshort-enums -Wl,--no-enum-size-warning" { target arm*-*-linux*eabi* } }
317a7556
VM
67
68 // 2007-05-03 Benjamin Kosnik <bkoz@redhat.com>
69 //
2c257760
VM
70--- gcc-4.6.1.orig/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-2.cc 2009-04-09 15:00:19.000000000 +0000
71+++ gcc-4.6.1/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-2.cc 2012-09-24 18:06:19.120185411 +0000
317a7556
VM
72@@ -1,5 +1,5 @@
73 // { dg-options "-std=gnu++0x -funsigned-char -fshort-enums" }
74-// { dg-options "-std=gnu++0x -funsigned-char -fshort-enums -Wl,--no-enum-size-warning" { target arm*-*-linux*eabi } }
2c257760 75+// { dg-options "-std=gnu++0x -funsigned-char -fshort-enums -Wl,--no-enum-size-warning" { target arm*-*-linux*eabi* } }
317a7556
VM
76
77 // 2007-05-03 Benjamin Kosnik <bkoz@redhat.com>
78 //