Messages in this thread | | | Date | Sat, 22 Jan 2000 14:59:36 -0500 | From | Jeff Garzik <> | Subject | Preventing gcc from aligning stack??? |
| |
Is this really necessary in modern gcc versions, such as 2.95 and thereafter?
Snip 2.3.x arch/i386/Makefile:
# prevent gcc from keeping the stack 16 byte aligned CFLAGS += $(shell if $(CC) -mpreferred-stack-boundary=2 -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-mpreferred-stack-boundary=2"; fi)
-- 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/
| |