summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/usr.bin/binutils/gdb/config/powerpc/nm-obsd.h6
-rw-r--r--gnu/usr.bin/binutils/gdb/config/powerpc/obsd.mh2
2 files changed, 3 insertions, 5 deletions
diff --git a/gnu/usr.bin/binutils/gdb/config/powerpc/nm-obsd.h b/gnu/usr.bin/binutils/gdb/config/powerpc/nm-obsd.h
index 12648bf65f7..6d64368fc49 100644
--- a/gnu/usr.bin/binutils/gdb/config/powerpc/nm-obsd.h
+++ b/gnu/usr.bin/binutils/gdb/config/powerpc/nm-obsd.h
@@ -33,19 +33,18 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define KERNEL_U_ADDR 0
#define FETCH_INFERIOR_REGISTERS
+#define SVR4_SHARED_LIBS
+
/* This enables functions needed by kcore-nbsd.c */
#define FETCH_KCORE_REGISTERS
#define PTRACE_ARG3_TYPE char*
-#if 0
#include "solib.h" /* Support for shared libraries. */
-#endif
/*
* fix this later
*/
-#if 0
#ifdef SVR4_SHARED_LIBS
/* The Net- and OpenBSD link.h structure definitions have different names
than the SunOS version, but the structures are very similar,
@@ -158,4 +157,3 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define ld_2 d_sdt
#endif /* SVR4_SHARED_LIBS */
-#endif
diff --git a/gnu/usr.bin/binutils/gdb/config/powerpc/obsd.mh b/gnu/usr.bin/binutils/gdb/config/powerpc/obsd.mh
index 29976b851ec..011dca0ee57 100644
--- a/gnu/usr.bin/binutils/gdb/config/powerpc/obsd.mh
+++ b/gnu/usr.bin/binutils/gdb/config/powerpc/obsd.mh
@@ -5,7 +5,7 @@ XDEPFILES= ser-tcp.o
XM_CLIBS=
NAT_FILE= nm-obsd.h
-NATDEPFILES= ppcobsd-nat.o corelow.o infptrace.o fork-child.o core-aout.o inftarg.o #core-regset.o
+NATDEPFILES= ppcobsd-nat.o corelow.o infptrace.o fork-child.o core-aout.o inftarg.o solib.o
GDBSERVER_DEPFILES=