Fix SYSCALL_CANCEL for empty argumetns
[glibc.git] / sysdeps / x86_64 / jmpbuf-offsets.h
blob03176a91f05b26e457980165ccb053799f8e2253
1 /* Private macros for accessing __jmp_buf contents. x86-64 version.
2 Copyright (C) 2006-2015 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
5 The GNU C Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public
16 License along with the GNU C Library; if not, see
17 <http://www.gnu.org/licenses/>. */
19 /* We only need to save callee-saved registers plus stackpointer and
20 program counter. */
21 #define JB_RBX 0
22 #define JB_RBP 1
23 #define JB_R12 2
24 #define JB_R13 3
25 #define JB_R14 4
26 #define JB_R15 5
27 #define JB_RSP 6
28 #define JB_PC 7
29 #define JB_SIZE (8*8)