This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[commit] eliminate more hppa macros
- From: Andrew Cagney <cagney at gnu dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Sat, 03 Apr 2004 12:53:53 -0500
- Subject: [commit] eliminate more hppa macros
As with the last post, this empties out a bit more of config/pa/tm-*.h.
Committed,
Andrew
2004-04-03 Andrew Cagney <cagney@redhat.com>
* config/pa/tm-hppa.h (REG_PARM_STACK_SPACE): Delete.
* config/pa/tm-hppa64.h (PA20W_CALLING_CONVENTIONS)
(REG_PARM_STACK_SPACE): Delete.
* hppa-tdep.c (hppa64_push_dummy_call, hppa32_push_dummy_call):
Inline reference to REG_PARM_STACK_SPACE.
Index: hppa-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/hppa-tdep.c,v
retrieving revision 1.137
diff -u -r1.137 hppa-tdep.c
--- hppa-tdep.c 31 Mar 2004 17:44:08 -0000 1.137
+++ hppa-tdep.c 3 Apr 2004 17:40:59 -0000
@@ -898,8 +898,7 @@
space allocations for outgoing arguments. The ABI also
mandates minimum stack alignments which we must
preserve. */
- param_end = struct_end + max (align_up (param_ptr, 8),
- REG_PARM_STACK_SPACE);
+ param_end = struct_end + max (align_up (param_ptr, 8), 16);
}
}
@@ -1022,8 +1021,7 @@
space allocations for outgoing arguments. The ABI also
mandates minimum stack alignments which we must
preserve. */
- param_end = struct_end + max (align_up (param_ptr, 16),
- REG_PARM_STACK_SPACE);
+ param_end = struct_end + max (align_up (param_ptr, 16), 64);
}
}
Index: config/pa/tm-hppa.h
===================================================================
RCS file: /cvs/src/src/gdb/config/pa/tm-hppa.h,v
retrieving revision 1.67
diff -u -r1.67 tm-hppa.h
--- config/pa/tm-hppa.h 19 Mar 2004 17:43:33 -0000 1.67
+++ config/pa/tm-hppa.h 3 Apr 2004 17:40:59 -0000
@@ -101,8 +101,6 @@
#define INSTRUCTION_SIZE 4
-#define REG_PARM_STACK_SPACE 16
-
/*
* Unwind table and descriptor.
*/
Index: config/pa/tm-hppa64.h
===================================================================
RCS file: /cvs/src/src/gdb/config/pa/tm-hppa64.h,v
retrieving revision 1.32
diff -u -r1.32 tm-hppa64.h
--- config/pa/tm-hppa64.h 3 Apr 2004 17:27:54 -0000 1.32
+++ config/pa/tm-hppa64.h 3 Apr 2004 17:40:59 -0000
@@ -57,14 +57,6 @@
/* jimb: omitted dynamic linking stuff here */
-/* The PA64 ABI reserves 64 bytes of stack space for outgoing register
- parameters. */
-#undef REG_PARM_STACK_SPACE
-#define REG_PARM_STACK_SPACE 64
-
-/* Use the 64-bit calling conventions designed for the PA2.0 in wide
mode. */
-#define PA20W_CALLING_CONVENTIONS
-
#undef FUNC_LDIL_OFFSET
#undef FUNC_LDO_OFFSET
#undef SR4EXPORT_LDIL_OFFSET