(CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.
[glibc.git] / sysdeps / unix / sysv / linux / m68k / sys / reg.h
blob418f8323f19fcf7525ab4f8216c2cc4a6ccfe0a2
1 /* Copyright (C) 1998 Free Software Foundation, Inc.
2 This file is part of the GNU C Library.
4 The GNU C Library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 2.1 of the License, or (at your option) any later version.
9 The GNU C Library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Lesser General Public License for more details.
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. */
19 #ifndef _SYS_REG_H
20 #define _SYS_REG_H 1
22 /* Index into an array of 4 byte integers returned from ptrace for
23 location of the users' stored general purpose registers. */
25 enum
27 PT_D1 = 0,
28 #define PT_D1 PT_D1
29 PT_D2 = 1,
30 #define PT_D2 PT_D2
31 PT_D3 = 2,
32 #define PT_D3 PT_D3
33 PT_D4 = 3,
34 #define PT_D4 PT_D4
35 PT_D5 = 4,
36 #define PT_D5 PT_D5
37 PT_D6 = 5,
38 #define PT_D6 PT_D6
39 PT_D7 = 6,
40 #define PT_D7 PT_D7
41 PT_A0 = 7,
42 #define PT_A0 PT_A0
43 PT_A1 = 8,
44 #define PT_A1 PT_A1
45 PT_A2 = 9,
46 #define PT_A2 PT_A2
47 PT_A3 = 10,
48 #define PT_A3 PT_A3
49 PT_A4 = 11,
50 #define PT_A4 PT_A4
51 PT_A5 = 12,
52 #define PT_A5 PT_A5
53 PT_A6 = 13,
54 #define PT_A6 PT_A6
55 PT_D0 = 14,
56 #define PT_D0 PT_D0
57 PT_USP = 15,
58 #define PT_USP PT_USP
59 PT_ORIG_D0 = 16,
60 #define PT_ORIG_D0 PT_ORIG_D0
61 PT_SR = 17,
62 #define PT_SR PT_SR
63 PT_PC = 18,
64 #define PT_PC PT_PC
65 PT_FP0 = 21,
66 #define PT_FP0 PT_FP0
67 PT_FP1 = 24,
68 #define PT_FP1 PT_FP1
69 PT_FP2 = 27,
70 #define PT_FP2 PT_FP2
71 PT_FP3 = 30,
72 #define PT_FP3 PT_FP3
73 PT_FP4 = 33,
74 #define PT_FP4 PT_FP4
75 PT_FP5 = 36,
76 #define PT_FP5 PT_FP5
77 PT_FP6 = 39,
78 #define PT_FP6 PT_FP6
79 PT_FP7 = 42,
80 #define PT_FP7 PT_FP7
81 PT_FPCR = 45,
82 #define PT_FPCR PT_FPCR
83 PT_FPSR = 46,
84 #define PT_FPSR PT_FPSR
85 PT_FPIAR = 47
86 #define PT_FPIAR PT_FPIAR
89 #endif /* _SYS_REG_H */