diff options
author | bwilson <bwilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-11-17 22:40:02 +0000 |
---|---|---|
committer | bwilson <bwilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-11-17 22:40:02 +0000 |
commit | 2fc9d9ad8fb6df099eabf40247cd32e0f8b48124 (patch) | |
tree | c0eaf4e2518943ced9d342d3a8cb27d09a7cd159 /gcc/config/xtensa | |
parent | d2c5527e8014734c16c92b6778e314e5d4cf1a05 (diff) | |
download | gcc-2fc9d9ad8fb6df099eabf40247cd32e0f8b48124.tar.gz |
* config/xtensa/lib1funcs.asm (__umulsidi3): Restore a0 on exit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118946 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/xtensa')
-rw-r--r-- | gcc/config/xtensa/lib1funcs.asm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/xtensa/lib1funcs.asm b/gcc/config/xtensa/lib1funcs.asm index 69d51a7551c..9b9efa87be7 100644 --- a/gcc/config/xtensa/lib1funcs.asm +++ b/gcc/config/xtensa/lib1funcs.asm @@ -323,6 +323,10 @@ __umulsidi3: #endif /* !MUL32_HIGH */ +#if !XCHAL_HAVE_MUL16 && !XCHAL_HAVE_MUL32 && !XCHAL_HAVE_MAC16 + /* Restore the original return address. */ + l32i a0, sp, 0 +#endif leaf_return #if !XCHAL_HAVE_MUL16 && !XCHAL_HAVE_MUL32 && !XCHAL_HAVE_MAC16 |