From: | "Mark Loeser (halcy0n)" <halcy0n@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo commit in src/patchsets/gcc/4.1.2/gentoo: 36_all_gcc-arm-pr30486.patch 47_all_arm-unbreak-armv4t.patch |
Date: | Mon, 19 Jan 2009 15:48:07 |
Message-Id: | E1LOwM5-0003dS-B9@stork.gentoo.org |
1 | halcy0n 09/01/19 15:48:01 |
2 | |
3 | Added: 36_all_gcc-arm-pr30486.patch |
4 | 47_all_arm-unbreak-armv4t.patch |
5 | Log: |
6 | Backport patches for arm support |
7 | |
8 | Revision Changes Path |
9 | 1.1 src/patchsets/gcc/4.1.2/gentoo/36_all_gcc-arm-pr30486.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.1.2/gentoo/36_all_gcc-arm-pr30486.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.1.2/gentoo/36_all_gcc-arm-pr30486.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: 36_all_gcc-arm-pr30486.patch |
15 | =================================================================== |
16 | http://bugs.gentoo.org/194975 |
17 | http://gcc.gnu.org/PR30486 |
18 | |
19 | --- trunk/gcc/fortran/trans-types.c |
20 | +++ trunk/gcc/fortran/trans-types.c |
21 | @@ -1800,6 +1800,13 @@ gfc_type_for_size (unsigned bits, int un |
22 | if (type && bits == TYPE_PRECISION (type)) |
23 | return type; |
24 | } |
25 | + |
26 | + /* Handle TImode as a special case because it is used by some backends |
27 | + (eg. ARM) even though it is not available for normal use. */ |
28 | +#if HOST_BITS_PER_WIDE_INT >= 64 |
29 | + if (bits == TYPE_PRECISION (intTI_type_node)) |
30 | + return intTI_type_node; |
31 | +#endif |
32 | } |
33 | else |
34 | { |
35 | |
36 | |
37 | |
38 | |
39 | 1.1 src/patchsets/gcc/4.1.2/gentoo/47_all_arm-unbreak-armv4t.patch |
40 | |
41 | file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.1.2/gentoo/47_all_arm-unbreak-armv4t.patch?rev=1.1&view=markup |
42 | plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.1.2/gentoo/47_all_arm-unbreak-armv4t.patch?rev=1.1&content-type=text/plain |
43 | |
44 | Index: 47_all_arm-unbreak-armv4t.patch |
45 | =================================================================== |
46 | diff -ur gcc-4.1.2-orig/gcc/config/arm/linux-eabi.h gcc-4.1.2/gcc/config/arm/linux-eabi.h |
47 | --- gcc-4.1.2-orig/gcc/config/arm/linux-eabi.h 2009-01-17 12:21:54.000000000 -0500 |
48 | +++ gcc-4.1.2/gcc/config/arm/linux-eabi.h 2009-01-17 12:23:03.000000000 -0500 |
49 | @@ -56,7 +56,7 @@ |
50 | The ARM10TDMI core is the default for armv5t, so set |
51 | SUBTARGET_CPU_DEFAULT to achieve this. */ |
52 | #undef SUBTARGET_CPU_DEFAULT |
53 | -#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi |
54 | +#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm9tdmi |
55 | |
56 | #undef SUBTARGET_EXTRA_LINK_SPEC |
57 | #define SUBTARGET_EXTRA_LINK_SPEC " -m " TARGET_LINKER_EMULATION |