2003-09-09 Andrew Cagney <cagney@redhat.com>

* sh64-tdep.c (sh64_push_return_address): Use ENTRY_POINT_ADDRESS
	instead of CALL_DUMMY_ADDRESS.
This commit is contained in:
Andrew Cagney 2003-09-09 15:00:23 +00:00
parent 3091e51706
commit e8a7b686ff
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-09-09 Andrew Cagney <cagney@redhat.com>
* sh64-tdep.c (sh64_push_return_address): Use ENTRY_POINT_ADDRESS
instead of CALL_DUMMY_ADDRESS.
2003-09-09 Paul N. Hilfinger <hilfingr@gnat.com>
* p-lang.c: Eliminate "register".

View File

@ -1650,7 +1650,7 @@ sh64_push_arguments (int nargs, struct value **args, CORE_ADDR sp,
static CORE_ADDR
sh64_push_return_address (CORE_ADDR pc, CORE_ADDR sp)
{
write_register (PR_REGNUM, CALL_DUMMY_ADDRESS ());
write_register (PR_REGNUM, entry_point_address ());
return sp;
}