Update the kernel compile flags inside the .if ${MACHINE_ARCH} == "amd64"
section to stop gcc generating the dwarf2 .eh_frame unwind tables. It is dead weight for the time being. Maybe it can be used to perform stack traces and/or get the location of function arguments in ddb, but that requires a dwarf2 runtime interpreter, which we do not have. Approved by: re (amd64 "safe" bits)
This commit is contained in:
parent
00bc791ec7
commit
2a2b57206e
@ -58,7 +58,8 @@ CFLAGS+= -mcmodel=medlow -msoft-float
|
||||
#
|
||||
.if ${MACHINE_ARCH} == "amd64"
|
||||
CFLAGS+= -mcmodel=kernel -mno-red-zone \
|
||||
-mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float
|
||||
-mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow \
|
||||
-msoft-float -fno-asynchronous-unwind-tables
|
||||
.endif
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user