Re: Preventing gcc from aligning stack???

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Tue Jan 25 2000 - 09:17:45 EST


Tuukka Toivonen wrote:
> And as we got into gcc flags for compiling kernel (or anything) i'd like
> to mention that aligning code has no effect on plain Pentium. Should use
> -malign-loops/jumps=0 instead of 2 (is this still 2 for newest kernels?).

New kernels do not use the -malign-xxx at all. gcc's -march=xxx sets
all those values properly, for the specific cpu you are targetting.

        Jeff

-- 
Jeff Garzik         | Andre the Giant has a posse.
Building 1024       |
MandrakeSoft, Inc.  |

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 31 2000 - 21:00:15 EST