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:
parent
6d93919795
commit
5aef48a16b
@ -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
|
||||
|
@ -3,3 +3,4 @@
|
||||
# $FreeBSD$
|
||||
|
||||
LOADER_ADDRESS?= 0x200000
|
||||
CFLAGS+= -mpreferred-stack-boundary=2
|
||||
|
Loading…
Reference in New Issue
Block a user