From bd2b724a0ce513e286699ed40102d4c3bf01513a Mon Sep 17 00:00:00 2001 From: Rob Savoye Date: Wed, 7 Dec 1994 21:26:22 +0000 Subject: [PATCH] * hppa-tdep.c: Use GDB_TARGET_IS_PA_ELF so SOM target support will stop being linked in. * config/pa/tm-hppap.h: New file. Set GDB_TARGET_IS_PA_ELF, otherwise it looks like BSD-ELF. --- gdb/ChangeLog | 8 ++++++++ gdb/hppa-tdep.c | 2 ++ 2 files changed, 10 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 433196e58c1..f709083526c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +Wed Dec 7 13:21:47 1994 Rob Savoye + + * hppa-tdep.c: Use GDB_TARGET_IS_PA_ELF so SOM target support will + stop being linked in. + + * config/pa/tm-hppap.h: New file. Set GDB_TARGET_IS_PA_ELF, + otherwise it looks like BSD-ELF. + Mon Dec 5 21:43:52 1994 Stu Grossman (grossman@cygnus.com) * inftarg.c: include to get def of pid_t. diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index d765b94da2c..1fd4fc3a0b2 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -1389,7 +1389,9 @@ hppa_fix_call_dummy (dummy, pc, fun, nargs, args, type, gcc_p) somsolib.c. Once the GOT value is in %r19 we can call the procedure in the normal fashion. */ +#ifndef GDB_TARGET_IS_PA_ELF write_register (19, som_solib_get_got_by_pc (fun)); +#endif } /* If we are calling an import stub (eg calling into a dynamic library) -- 2.30.2