diff options
author | Andrew Turner <andrew@FreeBSD.org> | 2015-02-19 12:06:57 +0000 |
---|---|---|
committer | Andrew Turner <andrew@FreeBSD.org> | 2015-02-19 12:06:57 +0000 |
commit | 1b23f9b9c34838e7a25eda010af005d1ca8c5cf7 (patch) | |
tree | af610421d9f321e576ad6d9ac42e06ba1b7f8b2d /sys/conf/kmod.mk | |
parent | daa99f441e3c6a6c91b7ffe3d8830c7d1da73cb2 (diff) | |
download | src-1b23f9b9c34838e7a25eda010af005d1ca8c5cf7.tar.gz src-1b23f9b9c34838e7a25eda010af005d1ca8c5cf7.zip |
Allow the ARM unwinder to work through modules. This will be used to add
support for unwinding from dtrace.
Tested by: gnn (with dtrace)
Sponsored by: ABT Systems Ltd
Notes
Notes:
svn path=/head/; revision=278996
Diffstat (limited to 'sys/conf/kmod.mk')
-rw-r--r-- | sys/conf/kmod.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk index 2296e44963a1..b6b01e572006 100644 --- a/sys/conf/kmod.mk +++ b/sys/conf/kmod.mk @@ -125,6 +125,7 @@ CFLAGS+= -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer .if ${MACHINE_CPUARCH} == arm CFLAGS.clang+= -mllvm -arm-use-movt=0 CFLAGS.clang+= -mfpu=none +CFLAGS+= -funwind-tables .endif .if ${MACHINE_CPUARCH} == powerpc |