GNU Binutils with patches for OS216
Revision | 8493464201541e817cf39d1097867c2765ed3da7 (tree) |
---|---|
Time | 2004-01-02 05:51:54 |
Author | Mark Kettenis <kettenis@gnu....> |
Commiter | Mark Kettenis |
* sparc64-tdep.c (BIAS): Remove define.
* sparc64-sol2-tdep.c (BIAS): Remove define.
* sparc64fbsd-tdep.c: Likewise.
@@ -1,5 +1,9 @@ | ||
1 | 1 | 2004-01-01 Mark Kettenis <kettenis@gnu.org> |
2 | 2 | |
3 | + * sparc64-tdep.c (BIAS): Remove define. | |
4 | + * sparc64-sol2-tdep.c (BIAS): Remove define. | |
5 | + * sparc64fbsd-tdep.c: Likewise. | |
6 | + | |
3 | 7 | * sparc64-tdep.h: Update copyright year. |
4 | 8 | (BIAS): Define. |
5 | 9 | * sparc64nbsd-tdep.c: Update copyright year. Include "frame.h", |
@@ -32,12 +32,6 @@ | ||
32 | 32 | |
33 | 33 | #include "sparc64-tdep.h" |
34 | 34 | |
35 | -/* The stack pointer is offset from the stack frame by a BIAS of 2047 | |
36 | - (0x7ff) for 64-bit code. BIAS is likely to be defined on SPARC | |
37 | - hosts, so undefine it first. */ | |
38 | -#undef BIAS | |
39 | -#define BIAS 2047 | |
40 | - | |
41 | 35 | /* From <sys/regset.h>. */ |
42 | 36 | const struct sparc_gregset sparc64_sol2_gregset = |
43 | 37 | { |
@@ -49,12 +49,6 @@ | ||
49 | 49 | sparc64_-prefix for 64-bit specific code and the sparc_-prefix for |
50 | 50 | code can handle both. */ |
51 | 51 | |
52 | -/* The stack pointer is offset from the stack frame by a BIAS of 2047 | |
53 | - (0x7ff) for 64-bit code. BIAS is likely to be defined on SPARC | |
54 | - hosts, so undefine it first. */ | |
55 | -#undef BIAS | |
56 | -#define BIAS 2047 | |
57 | - | |
58 | 52 | /* Macros to extract fields from SPARC instructions. */ |
59 | 53 | #define X_OP(i) (((i) >> 30) & 0x3) |
60 | 54 | #define X_RD(i) (((i) >> 25) & 0x1f) |
@@ -1,6 +1,6 @@ | ||
1 | 1 | /* Target-dependent code for UltraSPARC. |
2 | 2 | |
3 | - Copyright 2003 Free Software Foundation, Inc. | |
3 | + Copyright 2003, 2004 Free Software Foundation, Inc. | |
4 | 4 | |
5 | 5 | This file is part of GDB. |
6 | 6 |
@@ -24,6 +24,12 @@ | ||
24 | 24 | |
25 | 25 | #include "sparc-tdep.h" |
26 | 26 | |
27 | +/* The stack pointer is offset from the stack frame by a BIAS of 2047 | |
28 | + (0x7ff) for 64-bit code. BIAS is likely to be defined on SPARC | |
29 | + hosts, so undefine it first. */ | |
30 | +#undef BIAS | |
31 | +#define BIAS 2047 | |
32 | + | |
27 | 33 | /* Register offsets for the general-purpose register set. */ |
28 | 34 | |
29 | 35 | /* UltraSPARC doesn't have %psr. */ |
@@ -33,12 +33,6 @@ | ||
33 | 33 | |
34 | 34 | #include "sparc64-tdep.h" |
35 | 35 | |
36 | -/* The stack pointer is offset from the stack frame by a BIAS of 2047 | |
37 | - (0x7ff) for 64-bit code. BIAS is likely to be defined on SPARC | |
38 | - hosts, so undefine it first. */ | |
39 | -#undef BIAS | |
40 | -#define BIAS 2047 | |
41 | - | |
42 | 36 | /* From <machine/reg.h>. */ |
43 | 37 | const struct sparc_gregset sparc64fbsd_gregset = |
44 | 38 | { |