[uClibc]setjmp and bsd-setjmp?
sheeliang at lit.org.sg
sheeliang at lit.org.sg
Fri Mar 1 03:03:55 UTC 2002
Running busybox with uclibc-0.9.9 results in a weird errors on my arm platform.
Specifically:
Unhandled fault: external abort on linefetch (F4) at 0x00000001
Bus error
Tracing the code leads me to setjmp in msh.c (though I'm not so sure about
setjmp being the culprit now). So, I went to libc/sysdeps/linux/arm and
replaced the whole tree with the one from uClibc-0.9.8, and the error went
away. However, it appears in other places.....
My question is actually what's the difference between the 2 versions?
I did an objdump -S on 0.9.8 and found this
0014620 <_setjmp>
14620 mov r1, #0
...
0014630 <__sigsetjmp>
(code)
How does code execute at _setjmp? There seem to be some padding bytes after
14624, does the ARM processor ignore them?
More information about the uClibc
mailing list