diff options
author | kientzle <kientzle@FreeBSD.org> | 2013-05-11 22:32:43 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2013-05-11 22:32:43 +0000 |
commit | 3d78b5fc96602fac45fc367cf3968776ce627e2a (patch) | |
tree | d3f7485e2173dd4f33e4bde5dc277ff5fc6ac435 /contrib/gcc/cppdefault.c | |
parent | a9655d0ad7ed70ca698f7ccad9b3f3f1ca949ced (diff) | |
download | FreeBSD-src-3d78b5fc96602fac45fc367cf3968776ce627e2a.zip FreeBSD-src-3d78b5fc96602fac45fc367cf3968776ce627e2a.tar.gz |
Don't use the old stack-walking code with
EABI ARM kernels or clang-compiled ARM kernels.
This fixes a crash seen in clang-compiled ARM
kernels that include WITNESS.
This code could be easily modified to walk the stack
for current clang-generated code (including EABI)
but Andrew Turner has raised concerns that the
stack frame currently emitted by clang isn't actually
required by EABI so such a change might cause problems
down the road.
In case anyone wants to experiment, the change
to support current clang-compiled kernels
involves simply setting FR_RFP=0 and FR_SCP=1.
Diffstat (limited to 'contrib/gcc/cppdefault.c')
0 files changed, 0 insertions, 0 deletions