Re: Preventing gcc from aligning stack???

Jeff Garzik (jgarzik@mandrakesoft.com)
Tue, 25 Jan 2000 09:17:45 -0500


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/