diff options
Diffstat (limited to 'meta/packages/gcc/gcc-4.1.1')
3 files changed, 56 insertions, 0 deletions
diff --git a/meta/packages/gcc/gcc-4.1.1/fix-ICE-in-arm_unwind_emit_set.diff b/meta/packages/gcc/gcc-4.1.1/fix-ICE-in-arm_unwind_emit_set.diff new file mode 100644 index 0000000000..568e15abff --- /dev/null +++ b/meta/packages/gcc/gcc-4.1.1/fix-ICE-in-arm_unwind_emit_set.diff | |||
@@ -0,0 +1,18 @@ | |||
1 | --- trunk/gcc/config/arm/arm.c 2006/09/19 13:18:27 117055 | ||
2 | +++ trunk/gcc/config/arm/arm.c 2006/09/19 13:19:24 117056 | ||
3 | @@ -15415,6 +15415,15 @@ | ||
4 | /* Move from sp to reg. */ | ||
5 | asm_fprintf (asm_out_file, "\t.movsp %r\n", REGNO (e0)); | ||
6 | } | ||
7 | + else if (GET_CODE (e1) == PLUS | ||
8 | + && GET_CODE (XEXP (e1, 0)) == REG | ||
9 | + && REGNO (XEXP (e1, 0)) == SP_REGNUM | ||
10 | + && GET_CODE (XEXP (e1, 1)) == CONST_INT) | ||
11 | + { | ||
12 | + /* Set reg to offset from sp. */ | ||
13 | + asm_fprintf (asm_out_file, "\t.movsp %r, #%d\n", | ||
14 | + REGNO (e0), (int)INTVAL(XEXP (e1, 1))); | ||
15 | + } | ||
16 | else | ||
17 | abort (); | ||
18 | break; | ||
diff --git a/meta/packages/gcc/gcc-4.1.1/gcc-4.1.1-pr13685-1.patch b/meta/packages/gcc/gcc-4.1.1/gcc-4.1.1-pr13685-1.patch new file mode 100644 index 0000000000..a56b1307df --- /dev/null +++ b/meta/packages/gcc/gcc-4.1.1/gcc-4.1.1-pr13685-1.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | Submitted By: Alexander E. Patrakov | ||
2 | Date: 2006-12-11 | ||
3 | Initial Package Version: 4.1.1 | ||
4 | Upstream Status: backport | ||
5 | Origin: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28621 | ||
6 | Description: Fix crash of programs compiled with -Os -ffast-math | ||
7 | (affects procps on the LiveCD) | ||
8 | --- gcc-4.1.1/gcc/config/i386/i386.c | ||
9 | +++ gcc-4.1.1/gcc/config/i386/i386.c | ||
10 | @@ -1502,12 +1502,10 @@ | ||
11 | } | ||
12 | |||
13 | /* Validate -mpreferred-stack-boundary= value, or provide default. | ||
14 | - The default of 128 bits is for Pentium III's SSE __m128, but we | ||
15 | - don't want additional code to keep the stack aligned when | ||
16 | - optimizing for code size. */ | ||
17 | - ix86_preferred_stack_boundary = (optimize_size | ||
18 | - ? TARGET_64BIT ? 128 : 32 | ||
19 | - : 128); | ||
20 | + The default of 128 bits is for Pentium III's SSE __m128, We can't | ||
21 | + change it because of optimize_size. Otherwise, we can't mix object | ||
22 | + files compiled with -Os and -On. */ | ||
23 | + ix86_preferred_stack_boundary = 128; | ||
24 | if (ix86_preferred_stack_boundary_string) | ||
25 | { | ||
26 | i = atoi (ix86_preferred_stack_boundary_string); | ||
diff --git a/meta/packages/gcc/gcc-4.1.1/unbreak-armv4t.patch b/meta/packages/gcc/gcc-4.1.1/unbreak-armv4t.patch new file mode 100644 index 0000000000..b3399abfdb --- /dev/null +++ b/meta/packages/gcc/gcc-4.1.1/unbreak-armv4t.patch | |||
@@ -0,0 +1,12 @@ | |||
1 | diff -urN gcc-4.1.1/gcc/config/arm/linux-eabi.h gcc-4.1.1-arm9tdmi/gcc/config/arm/linux-eabi.h | ||
2 | --- gcc-4.1.1/gcc/config/arm/linux-eabi.h 2006-10-22 11:11:49.000000000 -0700 | ||
3 | +++ gcc-4.1.1-arm9tdmi/gcc/config/arm/linux-eabi.h 2006-10-24 21:34:01.000000000 -0700 | ||
4 | @@ -45,7 +45,7 @@ | ||
5 | The ARM10TDMI core is the default for armv5t, so set | ||
6 | SUBTARGET_CPU_DEFAULT to achieve this. */ | ||
7 | #undef SUBTARGET_CPU_DEFAULT | ||
8 | -#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi | ||
9 | +#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm9tdmi | ||
10 | |||
11 | #undef SUBTARGET_EXTRA_LINK_SPEC | ||
12 | #define SUBTARGET_EXTRA_LINK_SPEC " -m armelf_linux_eabi" | ||