Cleanup solib-svr4.c by moving legacy code out to its own file.
[deliverable/binutils-gdb.git] / gdb / config / nm-nbsd.h
index c7c1fb5c4d2cf098dbf27762880c0b4f959df234..29112881b3eb3e015957e96753a3a42abc4b7d04 100644 (file)
@@ -1,5 +1,5 @@
 /* Native-dependent definitions for NetBSD.
-   Copyright 1994, 1996 Free Software Foundation, Inc.
+   Copyright 1994, 1996, 1999 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
 #define ATTACH_DETACH
 
 #include "solib.h"             /* Support for shared libraries. */
+#if defined (SVR4_SHARED_LIBS)
+#include "elf/common.h"                /* Additional ELF shared library info. */
+#endif
+
+#if !defined (SVR4_SHARED_LIBS)
 
 /* make structure definitions match up with those expected in solib.c */
 #define link_object    sod
@@ -85,3 +90,5 @@
 #define ldd            d_debug
 #define ld_un          d_un
 #define ld_2           d_sdt
+
+#endif
This page took 0.023721 seconds and 4 git commands to generate.