diff options
author | Chris Zankel <chris@zankel.net> | 2008-09-13 20:26:06 +0000 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2008-09-13 20:26:06 +0000 |
commit | c9db9e50e6d86816d3304aba958d426aace90443 (patch) | |
tree | 23a6a1f6cb64cdc61f30244a879b64cfb2a34eba /libc/stdio/fwscanf.c | |
parent | 5de7a21d7139e71ca6307ed4e2837d69b2f06d56 (diff) |
xtensa: Stack unwinding on Xtensa requires that the return address register always be valid. This patch fixes a part of ldso that had been using an Xtensa CALL0 instruction to get the current PC value, which temporarily clobbered the return address register. The revised code just loads the address of a label in the code. See my change to GCC from 2007-12-20 for more info (http://gcc.gnu.org/ml/gcc-patches/2007-12/msg01023.html).
Diffstat (limited to 'libc/stdio/fwscanf.c')
0 files changed, 0 insertions, 0 deletions