aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppa-tdep.c
diff options
context:
space:
mode:
authorRob Savoye <rob@cygnus>1994-12-07 21:26:22 +0000
committerRob Savoye <rob@cygnus>1994-12-07 21:26:22 +0000
commitbd2b724a0ce513e286699ed40102d4c3bf01513a (patch)
tree004e1cc2f6f0a9264c6c1922ba52101942b64c61 /gdb/hppa-tdep.c
parent89a19a0df71e3bb4aad87f3cc66eb2ed546f3889 (diff)
downloadgdb-bd2b724a0ce513e286699ed40102d4c3bf01513a.zip
gdb-bd2b724a0ce513e286699ed40102d4c3bf01513a.tar.gz
gdb-bd2b724a0ce513e286699ed40102d4c3bf01513a.tar.bz2
* 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.
Diffstat (limited to 'gdb/hppa-tdep.c')
-rw-r--r--gdb/hppa-tdep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c
index d765b94..1fd4fc3 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)