Preventing gcc from aligning stack???

Jeff Garzik jgarzik en mandrakesoft.com
Mar Ene 25 18:20:03 CST 2000


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 en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



Más información sobre la lista de distribución Ayuda