* hppa-tdep.c (frame_saved_pc): Don't try to dig a return pointer

out of a long branch stub.

hpux10 _start is incorrectly marked as a long-branch stub.
This commit is contained in:
Jeff Law 1995-08-07 04:17:24 +00:00
parent 560ac5deb3
commit f4eec25cb8
2 changed files with 22 additions and 2 deletions

View file

@ -1,3 +1,19 @@
Sun Aug 6 22:14:25 1995 Jeff Law (law@snake.cs.utah.edu)
* hppa-tdep.c (frame_saved_pc): Don't try to dig a return pointer
out of a long branch stub.
Fri Aug 4 13:37:31 1995 Jeffrey A. Law <law@rtl.cygnus.com>
* xcoffread.c (process_linenos): Fix typo in last change.
Thu Aug 3 22:01:26 1995 Fred Fish <fnf@rtl.cygnus.com>
* ch-exp.y (write_lower_upper_value): Add prototype so bison
generated parser will insert prototype before first func usage.
Bison and byacc order the output sections differently. Also
make function static.
Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
* Update all FSF addresses except those in COPYING* files.

View file

@ -863,9 +863,13 @@ restart:
}
/* If PC is inside a linker stub, then dig out the address the stub
will return to. */
will return to.
Don't do this for long branch stubs. Why? For some unknown reason
_start is marked as a long branch stub in hpux10. */
u = find_unwind_entry (pc);
if (u && u->stub_type != 0)
if (u && u->stub_type != 0
&& u->stub_type != LONG_BRANCH)
{
unsigned int insn;