diff options
author | peter <peter@FreeBSD.org> | 2003-05-30 01:06:58 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2003-05-30 01:06:58 +0000 |
commit | 2a2b57206e9f505498caef18a2fe5d0a047818c3 (patch) | |
tree | 3d7bf820243a47567a6ab0435b626eea26b4036d /sys/conf/kern.mk | |
parent | 00bc791ec7a2cffae4fdbea419e2fda95e399525 (diff) | |
download | FreeBSD-src-2a2b57206e9f505498caef18a2fe5d0a047818c3.zip FreeBSD-src-2a2b57206e9f505498caef18a2fe5d0a047818c3.tar.gz |
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)
Diffstat (limited to 'sys/conf/kern.mk')
-rw-r--r-- | sys/conf/kern.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk index 253d267..c46c5d2 100644 --- a/sys/conf/kern.mk +++ b/sys/conf/kern.mk @@ -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 # |