~vcs-imports/eglibc/trunk

« back to all changes in this revision

Viewing changes to libc/ports/sysdeps/aarch64/setjmp.S

  • Committer: joseph
  • Date: 2014-01-03 17:51:28 UTC
  • Revision ID: svn-v4:7b3dc134-2b1b-0410-93df-9e9f96275f8d:trunk:24942
Merge changes between r24468 and r24941 from /fsf/trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (C) 1997-2013 Free Software Foundation, Inc.
 
1
/* Copyright (C) 1997-2014 Free Software Foundation, Inc.
2
2
 
3
3
   This file is part of the GNU C Library.
4
4
 
39
39
        stp     x23, x24, [x0, #JB_X23<<3]
40
40
        stp     x25, x26, [x0, #JB_X25<<3]
41
41
        stp     x27, x28, [x0, #JB_X27<<3]
 
42
 
 
43
#ifdef PTR_MANGLE
 
44
        PTR_MANGLE (x4, x30, x3, x2)
 
45
        stp     x29,  x4, [x0, #JB_X29<<3]
 
46
#else
42
47
        stp     x29, x30, [x0, #JB_X29<<3]
 
48
#endif
43
49
        stp      d8,  d9, [x0, #JB_D8<<3]
44
50
        stp     d10, d11, [x0, #JB_D10<<3]
45
51
        stp     d12, d13, [x0, #JB_D12<<3]
46
52
        stp     d14, d15, [x0, #JB_D14<<3]
 
53
#ifdef PTR_MANGLE
 
54
        mov     x4, sp
 
55
        PTR_MANGLE (x5, x4, x3, x2)
 
56
        str     x5, [x0, #JB_SP<<3]
 
57
#else
47
58
        mov     x2,  sp
48
59
        str     x2,  [x0, #JB_SP<<3]
 
60
#endif
49
61
#if defined NOT_IN_libc && defined IS_IN_rtld
50
62
        /* In ld.so we never save the signal mask */
51
63
        mov     w0, #0