~ubuntu-branches/ubuntu/precise/eglibc/precise

« back to all changes in this revision

Viewing changes to ports/sysdeps/unix/sysv/linux/arm/eabi/____longjmp_chk.S

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2011-10-04 17:48:26 UTC
  • mfrom: (216.1.23 oneiric)
  • Revision ID: package-import@ubuntu.com-20111004174826-2cyb9ewn3ucymlsx
Tags: 2.13-20ubuntu5
libc6-dev: Don't break the current {gnat,gcj}-4.4-base versons. LP: #853688.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12
12
   Lesser General Public License for more details.
13
13
 
14
 
   You should have received a copy of the GNU Lesser General Public
15
 
   License along with the GNU C Library; if not, write to the Free
16
 
   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
17
 
   02111-1307 USA.  */
 
14
   You should have received a copy of the GNU General Public License
 
15
   along with GCC; see the file COPYING.  If not, write to the Free
 
16
   Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
 
17
   02110-1301, USA.  */
18
18
 
19
19
#include <sysdep.h>
20
20
 
52
52
        cfi_remember_state;                     \
53
53
        cmp     sp, reg;                        \
54
54
        bls     .Lok;                           \
55
 
        str     r7, [sp, #-4]!;                 \
56
 
        cfi_adjust_cfa_offset (4);              \
57
 
        cfi_rel_offset (r7, 0);                 \
58
55
        mov     r5, r0;                         \
59
56
        cfi_undefined (r5);                     \
60
57
        mov     r7, #SYS_ify(sigaltstack);      \
 
58
        cfi_undefined (r7);                     \
61
59
        mov     r0, #0;                         \
62
 
        sub     sp, sp, #12; /* == sizeof (stack_t) */ \
63
 
        cfi_adjust_cfa_offset (12);             \
 
60
        sub     sp, sp, #16; /* >= sizeof (stack_t) */ \
 
61
        cfi_adjust_cfa_offset (16);             \
64
62
        cfi_remember_state;                     \
65
63
        mov     r1, sp;                         \
66
64
        swi     #0;                             \
76
74
        cmp     r2, r3;                         \
77
75
        bhi     .Lok2;                          \
78
76
.Lfail:                                         \
79
 
        add     sp, sp, #12;                    \
80
 
        cfi_adjust_cfa_offset (-12);            \
81
 
        ldr     r7, [sp], #4;                   \
82
 
        cfi_adjust_cfa_offset (-4);             \
83
 
        cfi_restore (r7);                       \
84
77
        CALL_FAIL                               \
85
78
        cfi_restore_state;                      \
86
79
.Lok2:                                          \