* hppa-tdep.c (skip_trampoline_code): Handle argument relocation

stubs which return directly to the caller rather than to the stub
        itself.
This commit is contained in:
Jeff Law 1994-05-12 16:50:43 +00:00
parent 8db1a92291
commit 88b91d4a1b
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,9 @@
Thu May 12 10:46:27 1994 Jeff Law (law@snake.cs.utah.edu)
* hppa-tdep.c (skip_trampoline_code): Handle argument relocation
stubs which return directly to the caller rather than to the stub
itself.
Wed May 11 20:11:51 1994 Stan Shebs (shebs@andros.cygnus.com)
* c-exp.y (yyerror): Display a more informative error message.

View File

@ -1622,9 +1622,10 @@ skip_trampoline_code (pc, name)
}
}
/* Does it look like bl X,rp? Another way to do a branch from the
stub to the actual function. */
else if ((curr_inst & 0xffe0e000) == 0xe8400000)
/* Does it look like bl X,%rp or bl X,%r0? Another way to do a
branch from the stub to the actual function. */
else if ((curr_inst & 0xffe0e000) == 0xe8400000
|| (curr_inst & 0xffe0e000) == 0xe8000000)
return (loc + extract_17 (curr_inst) + 8) & ~0x3;
/* Does it look like bv (rp)? Note this depends on the