diff options
author | Jason Molenda <jmolenda@apple.com> | 1999-08-16 19:57:19 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 1999-08-16 19:57:19 +0000 |
commit | 7be570e7ce77920e2e628a03bdfe2d295fc2568f (patch) | |
tree | a49512270bb021f1d5171b362dc973e28c97ca94 /gdb/config/pa/tm-hppa64.h | |
parent | ed288bb597072176e84fc8279707a3f2f475779b (diff) | |
download | binutils-gdb-7be570e7ce77920e2e628a03bdfe2d295fc2568f.tar.gz |
import gdb-1999-08-16 snapshot
Diffstat (limited to 'gdb/config/pa/tm-hppa64.h')
-rw-r--r-- | gdb/config/pa/tm-hppa64.h | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/gdb/config/pa/tm-hppa64.h b/gdb/config/pa/tm-hppa64.h index 3aaeaeedb7f..ea9090feabb 100644 --- a/gdb/config/pa/tm-hppa64.h +++ b/gdb/config/pa/tm-hppa64.h @@ -24,15 +24,15 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* PA 64-bit specific definitions. Override those which are in tm-hppa.h */ -#include "pa/tm-hppah.h" - -#define HPUX_1100 1 - /* jimb: this must go. I'm just using it to disable code I haven't gotten working yet. */ #define GDB_TARGET_IS_HPPA_20W /* The low two bits of the IA are the privilege level of the instruction. */ +#include "pa/tm-hppah.h" + +#define HPUX_1100 1 + #define ADDR_BITS_REMOVE(addr) ((CORE_ADDR)addr & (CORE_ADDR)~3) /* Say how long (ordinary) registers are. This is used in @@ -191,11 +191,22 @@ call_dummy #undef CALL_DUMMY_LENGTH #define CALL_DUMMY_LENGTH (INSTRUCTION_SIZE * 25) +/* The PA64 ABI mandates a 16 byte stack alignment. */ +#undef STACK_ALIGN +#define STACK_ALIGN(arg) ( ((arg)%16) ? (((arg)+15)&-16) : (arg)) + +/* The PA64 ABI reserves 64 bytes of stack space for outgoing register + parameters. */ +#undef REG_PARM_STACK_SPACE +#define REG_PARM_STACK_SPACE 64 + #undef FUNC_LDIL_OFFSET #undef FUNC_LDO_OFFSET #undef SR4EXPORT_LDIL_OFFSET #undef SR4EXPORT_LDO_OFFSET #undef CALL_DUMMY_LOCATION + +#define PC_IN_CALL_DUMMY(pc, sp, frame_address) hppa64_pc_in_call_dummy (pc) /* jimb: need to find out what AT_WDB_CALL_DUMMY is about */ #if 0 #define CALL_DUMMY_LOCATION AFTER_TEXT_END |