1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-04 09:09:56 +00:00

Add -mpreferred-stack-boundary=2 to CFLAGS for i386. This and libstand

reduces /boot/loader from 163840 bytes to 155648 and pxeboot from 165888
bytes to 157696 bytes.
This commit is contained in:
Peter Wemm 2000-08-11 23:23:20 +00:00
parent 6d93919795
commit 5aef48a16b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=64550
2 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,9 @@ CLEANFILES= softcore.c testmain testmain.o
.if ${MACHINE_ARCH} == "alpha"
CFLAGS+= -mno-fp-regs
.endif
.if ${MACHINE_ARCH} == "i386"
CFLAGS+= -mpreferred-stack-boundary=2
.endif
.ifmake testmain
CFLAGS+= -DTESTMAIN -D_TESTMAIN
SRCS+= testmain.c

View File

@ -3,3 +3,4 @@
# $FreeBSD$
LOADER_ADDRESS?= 0x200000
CFLAGS+= -mpreferred-stack-boundary=2