* alpha-tdep.c (alpha_call_dummy_words): New.
* config/alpha/tm-alpha.h (CALL_DUMMY): Remove. (CALL_DUMMY_P): Define. (CALL_DUMMY_WORDS): Define. (SIZEOF_CALL_DUMMY_WORDS): Define.
This commit is contained in:
parent
98081e55d9
commit
ee1f65f0e3
|
@ -1,3 +1,11 @@
|
||||||
|
2002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
|
||||||
|
|
||||||
|
* alpha-tdep.c (alpha_call_dummy_words): New.
|
||||||
|
* config/alpha/tm-alpha.h (CALL_DUMMY): Remove.
|
||||||
|
(CALL_DUMMY_P): Define.
|
||||||
|
(CALL_DUMMY_WORDS): Define.
|
||||||
|
(SIZEOF_CALL_DUMMY_WORDS): Define.
|
||||||
|
|
||||||
2002-01-19 Per Bothner <per@bothner.com>
|
2002-01-19 Per Bothner <per@bothner.com>
|
||||||
|
|
||||||
* gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name
|
* gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name
|
||||||
|
|
|
@ -1505,6 +1505,11 @@ alpha_fix_call_dummy (char *dummy, CORE_ADDR pc, CORE_ADDR fun, int nargs,
|
||||||
write_register (T12_REGNUM, fun);
|
write_register (T12_REGNUM, fun);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* On the Alpha, the call dummy code is nevery copied to user space
|
||||||
|
(see alpha_fix_call_dummy() above). The contents of this do not
|
||||||
|
matter. */
|
||||||
|
LONGEST alpha_call_dummy_words[] = { 0 };
|
||||||
|
|
||||||
int
|
int
|
||||||
alpha_use_struct_convention (int gcc_p, struct type *type)
|
alpha_use_struct_convention (int gcc_p, struct type *type)
|
||||||
{
|
{
|
||||||
|
|
|
@ -333,14 +333,19 @@ extern void alpha_pop_frame (void);
|
||||||
call_function_by_hand and to avoid zero length array warnings
|
call_function_by_hand and to avoid zero length array warnings
|
||||||
in valops.c */
|
in valops.c */
|
||||||
|
|
||||||
#define CALL_DUMMY { 0 } /* Content doesn't matter. */
|
#define CALL_DUMMY_P (1)
|
||||||
|
|
||||||
|
#define CALL_DUMMY_WORDS alpha_call_dummy_words
|
||||||
|
extern LONGEST alpha_call_dummy_words[];
|
||||||
|
|
||||||
|
#define SIZEOF_CALL_DUMMY_WORDS 0
|
||||||
|
|
||||||
#define CALL_DUMMY_START_OFFSET (0)
|
#define CALL_DUMMY_START_OFFSET (0)
|
||||||
|
|
||||||
#define CALL_DUMMY_BREAKPOINT_OFFSET (0)
|
#define CALL_DUMMY_BREAKPOINT_OFFSET (0)
|
||||||
|
|
||||||
extern CORE_ADDR alpha_call_dummy_address (void);
|
|
||||||
#define CALL_DUMMY_ADDRESS() alpha_call_dummy_address()
|
#define CALL_DUMMY_ADDRESS() alpha_call_dummy_address()
|
||||||
|
extern CORE_ADDR alpha_call_dummy_address (void);
|
||||||
|
|
||||||
/* Insert the specified number of args and function address
|
/* Insert the specified number of args and function address
|
||||||
into a call sequence of the above form stored at DUMMYNAME.
|
into a call sequence of the above form stored at DUMMYNAME.
|
||||||
|
|
Loading…
Reference in New Issue