diff options
author | Rolf Leggewie <oe-devel@rolf.leggewie.biz> | 2006-12-21 00:44:08 +0000 |
---|---|---|
committer | Rolf Leggewie <oe-devel@rolf.leggewie.biz> | 2006-12-21 00:44:08 +0000 |
commit | 4de795b20197055f95dfea58893578951bf940a5 (patch) | |
tree | 7503d133a15e607a2ad4400f97cea075dec6c454 /packages/gcc/gcc-4.1.1/gcc-4.1.1-pr13685-1.patch | |
parent | 28bc945bbd5340d58b3f299aa443d380619eb010 (diff) | |
parent | 3bdb8ec7379bf1c34cb8e9f42aab247b9727f9a0 (diff) |
merge of '5d04d04dfc4ca490d4feb89775a2681116f3a403'
and 'ef7b9f80525af0b2374045ede01ecc82e2b7cac8'
Diffstat (limited to 'packages/gcc/gcc-4.1.1/gcc-4.1.1-pr13685-1.patch')
-rw-r--r-- | packages/gcc/gcc-4.1.1/gcc-4.1.1-pr13685-1.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/packages/gcc/gcc-4.1.1/gcc-4.1.1-pr13685-1.patch b/packages/gcc/gcc-4.1.1/gcc-4.1.1-pr13685-1.patch new file mode 100644 index 0000000000..a56b1307df --- /dev/null +++ b/packages/gcc/gcc-4.1.1/gcc-4.1.1-pr13685-1.patch @@ -0,0 +1,26 @@ +Submitted By: Alexander E. Patrakov
+Date: 2006-12-11
+Initial Package Version: 4.1.1
+Upstream Status: backport
+Origin: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28621
+Description: Fix crash of programs compiled with -Os -ffast-math
+(affects procps on the LiveCD)
+--- gcc-4.1.1/gcc/config/i386/i386.c
++++ gcc-4.1.1/gcc/config/i386/i386.c
+@@ -1502,12 +1502,10 @@
+ }
+
+ /* Validate -mpreferred-stack-boundary= value, or provide default.
+- The default of 128 bits is for Pentium III's SSE __m128, but we
+- don't want additional code to keep the stack aligned when
+- optimizing for code size. */
+- ix86_preferred_stack_boundary = (optimize_size
+- ? TARGET_64BIT ? 128 : 32
+- : 128);
++ The default of 128 bits is for Pentium III's SSE __m128, We can't
++ change it because of optimize_size. Otherwise, we can't mix object
++ files compiled with -Os and -On. */
++ ix86_preferred_stack_boundary = 128;
+ if (ix86_preferred_stack_boundary_string)
+ {
+ i = atoi (ix86_preferred_stack_boundary_string);
|