summaryrefslogtreecommitdiff
path: root/include/byteswap.h
diff options
context:
space:
mode:
authorChris Zankel <chris@zankel.net>2008-09-13 20:26:06 +0000
committerChris Zankel <chris@zankel.net>2008-09-13 20:26:06 +0000
commitc9db9e50e6d86816d3304aba958d426aace90443 (patch)
tree23a6a1f6cb64cdc61f30244a879b64cfb2a34eba /include/byteswap.h
parent5de7a21d7139e71ca6307ed4e2837d69b2f06d56 (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 'include/byteswap.h')
0 files changed, 0 insertions, 0 deletions