diff options
author | Kaz Kojima <kkojima@rr.iij4u.or.jp> | 2009-05-18 15:44:09 -0700 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-05-18 15:44:09 -0700 |
commit | 04733592f8e83acd46a505b81fbfebc3ff70a7bc (patch) | |
tree | 5a80fa1fcb134c0a750fa88a6de90e5e0054b20a /sysdeps/sh/sh4 | |
parent | 5078fff6c4bc1c71c5d558ff7ec4775aa48b0c11 (diff) | |
download | glibc-04733592f8e83acd46a505b81fbfebc3ff70a7bc.tar.gz glibc-04733592f8e83acd46a505b81fbfebc3ff70a7bc.tar.xz glibc-04733592f8e83acd46a505b81fbfebc3ff70a7bc.zip |
Add ____longjmp_chk for SH.
Following the previous changes for x86 and x86-64.
Diffstat (limited to 'sysdeps/sh/sh4')
-rw-r--r-- | sysdeps/sh/sh4/__longjmp.S | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/sh/sh4/__longjmp.S b/sysdeps/sh/sh4/__longjmp.S index 2fd137bcba..f2e4b7535a 100644 --- a/sysdeps/sh/sh4/__longjmp.S +++ b/sysdeps/sh/sh4/__longjmp.S @@ -42,6 +42,9 @@ ENTRY (__longjmp) mov r2, r14 mov.l @r4+, r2 PTR_DEMANGLE2 (r2, r1) +# ifdef CHECK_SP + CHECK_SP (r2) +# endif mov r2, r15 mov.l @r4+, r2 PTR_DEMANGLE2 (r2, r1) @@ -49,6 +52,10 @@ ENTRY (__longjmp) mov #0, r1 #else mov.l @r4+, r14 +# ifdef CHECK_SP + mov.l @r4, r2 + CHECK_SP (r2) +# endif mov.l @r4+, r15 lds.l @r4+, pr #endif |