This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH RFC] solib-svr4 cleanups


The patch below fixes the build problems reported by Andrew Cagney in

    http://sources.redhat.com/ml/gdb/2000-11/msg00238.html

In addition, it puts the fetching of the link_map offsets under
multiarch control.

Here's how it'll work.  In your (already multiarched) -tdep.c file,
you'll include solib-svr4.h.  You'll also define a function which'll
fill in and return a pointer to a link_map_offsets struct.  (See
sh_link_svr4_fetch_link_map_offsets in sh-tdep.c for an example. 
Unfortunately, sh-tdep.c doesn't use this new machinery yet, but is an
excellent candidate for doing so.)  Then, in your *_gdbarch_init()
function, you'll call set_solib_svr4_fetch_link_map_offsets() and pass
the address of your target specific link_map_offsets fetcher.  For
multiarched targets, it is no longer necessary to define
SVR4_FETCH_LINK_MAP_OFFSETS.

The reason that I made this an RFC instead of just committing it is
that I've created a new file called solib-svr4-lm.c.  This file
provides a legacy link_map_offsets fetching function that is *only*
suitable for native targets.  In order to know what the offsets are,
it has to include link.h.  solib-svr4.c previously did this (and
also defined the legacy link map fetching function), but there are
sometimes conflicts between link.h and other header files.  See
Andrew's above referenced message for more details.

Anyway...  I'm not very good at choosing names for new files, so I
thought I'd let folks comment on my filename choice before committing
it.  If you have objections to the name that I've chosen (that 8.3
problem comes to mind), please suggest a meaningful alternative.

I've tested this patch on the following native targets:

    sparc-sun-sunos4.1.4
    sparc-sun-solaris2.8
    i686-pc-linux-gnu
    i386-unknown-freebsd4.2

In addition, I've done a test build on i386-unknown-freebsd4.2 cross
i386-pc-linux.  (This is the configuration that failed for Andrew).

Comments?

	* Makefile.in (solib-svr4.o): Depend on solib-svr4.c, not solib.c.
	(solib-svr4-lm.o): New makefile target.
	* solib-svr4-lm.c: New file.
	* solib-svr4.h (SVR4_FETCH_LINK_MAP_OFFSETS): Delete.
	(default_svr4_fetch_link_map_offsets): Delete.
	(set_solib_svr4_fetch_link_map_offsets): Declare.
	(legacy_svr4_fetch_link_map_offsets_hook): Declare.
	* solib-svr4.c (elf/common.h): Include.
	(link.h): Only include for SunOS shared library support.
	(_SYSCALL32): Don't define.
	(SVR4_FETCH_LINK_MAP_OFFSETS): Define.
	(default_svr4_fetch_link_map_offsets): Made static; added forward
	declaration.
	(fetch_link_map_offsets): New static global.
	(legacy_svr4_fetch_link_map_offsets_hook): New global variable.
	(default_svr4_fetch_link_map_offsets):  Rewritten.  The guts
	of what used to be in this function now reside in
	legacy_svr4_fetch_link_map_offsets() in solib-svr4-lm.c.
	(open_symbol_file_object): Fix declaration in SunOS section
	of the code.
	(set_solib_svr4_fetch_link_map_offsets): New extern function.
	(init_fetch_link_map_offsets): New static function.
	(_initialize_svr4_solib): Put static global fetch_link_map_offsets
	under multiarch control.

	* config/alpha/alpha-linux.mt (TDEPFILES): Add solib-svr4-lm.o to
	list.
	* config/alpha/fbsd.mh (NATDEPFILES): Likewise.
	* config/arm/linux.mt (TDEPFILES): Likewise.
	* config/i386/fbsd.mh (NATDEPFILES): Likewise.
	* config/i386/i386dgux.mh (NATDEPFILES): Likewise.
	* config/i386/i386gnu.mh (NATDEPFILES): Likewise.
	* config/i386/i386sco5.mh (NATDEPFILES): Likewise.
	* config/i386/i386sol2.mt (TDEPFILES): Likewise.
	* config/i386/i386v4.mh (NATDEPFILES): Likewise.
	* config/i386/i386v42mp.mh (NATDEPFILES): Likewise.
	* config/i386/linux.mt (TDEPFILES): Likewise.
	* config/i386/nbsd.mh (NATDEPFILES): Likewise.
	* config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
	* config/i386/ncr3000.mt (TDEPFILES): Likewise.
	* config/i386/ptx4.mh (XDEPFILES): Likewise.
	* config/i386/sun386.mt (TDEPFILES): Likewise.
	* config/ia64/linux.mt (TDEPFILES): Likewise.
	* config/m68k/linux.mt (TDEPFILES): Likewise.
	* config/m68k/m68kv4.mh (NATDEPFILES): Likewise.
	* config/m68k/nbsd.mh (NATDEPFILES): Likewise.
	* config/m68k/sun2os4.mt (TDEPFILES): Likewise.
	* config/m68k/sun3os4.mt (TDEPFILES): Likewise.
	* config/m88k/delta88v4.mh (NATDEPFILES): Likewise.
	* config/mips/mipsv4.mh (NATDEPFILES): Likewise.
	* config/ns32k/nbsd.mh (NATDEPFILES): Likewise.
	* config/powerpc/linux.mt (TDEPFILES): Likewise.
	* config/powerpc/nbsd.mh (NATDEPFILES): Likewise.
	* config/powerpc/solaris.mh (NATDEPFILES): Likewise.
	* config/sh/linux.mt (TDEPFILES): Likewise.
	* config/sparc/linux.mt (TDEPFILES): Likewise.
	* config/sparc/nbsd.mh (NATDEPFILES): Likewise.
	* config/sparc/nbsdelf.mh (NATDEPFILES): Likewise.
	* config/sparc/sp64linux.mt (TDEPFILES): Likewise.
	* config/sparc/sun4os4.mt (TDEPFILES): Likewise.
	* config/sparc/sun4sol2.mh (NATDEPFILES): Likewise.

Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.66
diff -u -p -r1.66 Makefile.in
--- Makefile.in	2001/03/01 18:19:28	1.66
+++ Makefile.in	2001/03/02 17:45:44
@@ -1916,9 +1916,11 @@ mon960-rom.o: mon960-rom.c monitor.h $(b
 solib.o: solib.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
 	objfiles.h gnu-regex.h symfile.h target.h gdb_string.h solist.h
 
-solib-svr4.o: solib.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
+solib-svr4.o: solib-svr4.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
 	objfiles.h gnu-regex.h symfile.h target.h gdb_string.h solist.h \
 	solib-svr4.h $(regcache_h)
+
+solib-svr4-lm.o: solib-svr4-lm.c $(defs_h) $(gdbcore_h) solib-svr4.h
 
 source.o: source.c $(defs_h) $(expression_h) $(frame_h) $(gdbcmd_h) \
 	$(gdbcore_h) language.h objfiles.h gnu-regex.h symfile.h $(symtab_h) \
Index: solib-svr4-lm.c
===================================================================
RCS file: solib-svr4-lm.c
diff -N solib-svr4-lm.c
--- /dev/null	Tue May  5 13:32:27 1998
+++ solib-svr4-lm.c	Fri Mar  2 09:45:44 2001
@@ -0,0 +1,127 @@
+/* Provide legacy r_debug and link_map support for SVR4-like native targets.
+   Copyright 2000, 2001
+   Free Software Foundation, Inc.
+
+   This file is part of GDB.
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2 of the License, or
+   (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, write to the Free Software
+   Foundation, Inc., 59 Temple Place - Suite 330,
+   Boston, MA 02111-1307, USA.  */
+
+#define _SYSCALL32	/* for Sparc64 cross Sparc32 */
+#include "defs.h"
+#include "gdbcore.h"
+#include "solib-svr4.h"
+
+#ifdef HAVE_LINK_H
+#include <link.h>
+
+/* Fetch (and possibly build) an appropriate link_map_offsets structure
+   for native targets using struct definitions from link.h.  */
+
+static struct link_map_offsets *
+legacy_svr4_fetch_link_map_offsets (void)
+{
+  static struct link_map_offsets lmo;
+  static struct link_map_offsets *lmp = 0;
+#if defined (HAVE_STRUCT_LINK_MAP32)
+  static struct link_map_offsets lmo32;
+  static struct link_map_offsets *lmp32 = 0;
+#endif
+
+#ifndef offsetof
+#define offsetof(TYPE, MEMBER) ((unsigned long) &((TYPE *)0)->MEMBER)
+#endif
+#define fieldsize(TYPE, MEMBER) (sizeof (((TYPE *)0)->MEMBER))
+
+  if (lmp == 0)
+    {
+      lmp = &lmo;
+
+#ifdef SVR4_SHARED_LIBS
+      lmo.r_debug_size = sizeof (struct r_debug);
+
+      lmo.r_map_offset = offsetof (struct r_debug, r_map);
+      lmo.r_map_size = fieldsize (struct r_debug, r_map);
+
+      lmo.link_map_size = sizeof (struct link_map);
+
+      lmo.l_addr_offset = offsetof (struct link_map, l_addr);
+      lmo.l_addr_size = fieldsize (struct link_map, l_addr);
+
+      lmo.l_next_offset = offsetof (struct link_map, l_next);
+      lmo.l_next_size = fieldsize (struct link_map, l_next);
+
+      lmo.l_prev_offset = offsetof (struct link_map, l_prev);
+      lmo.l_prev_size = fieldsize (struct link_map, l_prev);
+
+      lmo.l_name_offset = offsetof (struct link_map, l_name);
+      lmo.l_name_size = fieldsize (struct link_map, l_name);
+#else /* !SVR4_SHARED_LIBS */
+      lmo.link_map_size = sizeof (struct link_map);
+
+      lmo.l_addr_offset = offsetof (struct link_map, lm_addr);
+      lmo.l_addr_size = fieldsize (struct link_map, lm_addr);
+
+      lmo.l_next_offset = offsetof (struct link_map, lm_next);
+      lmo.l_next_size = fieldsize (struct link_map, lm_next);
+
+      lmo.l_name_offset = offsetof (struct link_map, lm_name);
+      lmo.l_name_size = fieldsize (struct link_map, lm_name);
+#endif /* SVR4_SHARED_LIBS */
+    }
+
+#if defined (HAVE_STRUCT_LINK_MAP32)
+  if (lmp32 == 0)
+    {
+      lmp32 = &lmo32;
+
+      lmo32.r_debug_size = sizeof (struct r_debug32);
+
+      lmo32.r_map_offset = offsetof (struct r_debug32, r_map);
+      lmo32.r_map_size = fieldsize (struct r_debug32, r_map);
+
+      lmo32.link_map_size = sizeof (struct link_map32);
+
+      lmo32.l_addr_offset = offsetof (struct link_map32, l_addr);
+      lmo32.l_addr_size = fieldsize (struct link_map32, l_addr);
+
+      lmo32.l_next_offset = offsetof (struct link_map32, l_next);
+      lmo32.l_next_size = fieldsize (struct link_map32, l_next);
+
+      lmo32.l_prev_offset = offsetof (struct link_map32, l_prev);
+      lmo32.l_prev_size = fieldsize (struct link_map32, l_prev);
+
+      lmo32.l_name_offset = offsetof (struct link_map32, l_name);
+      lmo32.l_name_size = fieldsize (struct link_map32, l_name);
+    }
+#endif /* defined (HAVE_STRUCT_LINK_MAP32) */
+
+#if defined (HAVE_STRUCT_LINK_MAP32)
+  if (bfd_get_arch_size (exec_bfd) == 32)
+    return lmp32;
+  else
+#endif
+    return lmp;
+}
+
+#endif /* HAVE_LINK_H */
+
+void
+_initialize_svr4_lm (void)
+{
+#ifdef HAVE_LINK_H
+  legacy_svr4_fetch_link_map_offsets_hook = legacy_svr4_fetch_link_map_offsets;
+#endif /* HAVE_LINK_H */
+}
Index: solib-svr4.c
===================================================================
RCS file: /cvs/src/src/gdb/solib-svr4.c,v
retrieving revision 1.11
diff -u -p -r1.11 solib-svr4.c
--- solib-svr4.c	2001/03/01 01:39:21	1.11
+++ solib-svr4.c	2001/03/02 17:45:46
@@ -19,7 +19,6 @@
    Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
-#define _SYSCALL32	/* for Sparc64 cross Sparc32 */
 #include "defs.h"
 #include "regcache.h"
 
@@ -33,12 +32,10 @@
 #ifndef SVR4_SHARED_LIBS
  /* SunOS shared libs need the nlist structure.  */
 #include <a.out.h>
+#include <link.h>
 #else
 #include "elf/external.h"
-#endif
-
-#ifdef HAVE_LINK_H
-#include <link.h>
+#include "elf/common.h"
 #endif
 
 #include "symtab.h"
@@ -58,6 +55,19 @@
 #include "solist.h"
 #include "solib-svr4.h"
 
+#ifndef SVR4_FETCH_LINK_MAP_OFFSETS
+#define SVR4_FETCH_LINK_MAP_OFFSETS() fetch_link_map_offsets ()
+#endif
+
+static struct link_map_offsets *default_svr4_fetch_link_map_offsets (void);
+static struct link_map_offsets *(*fetch_link_map_offsets)(void) = 
+  default_svr4_fetch_link_map_offsets;
+
+/* legacy_svr4_fetch_link_map_offsets_hook is a pointer to a function
+   which is used to fetch link map offsets.  It will only be set
+   by solib-svr4-lm.c, if at all. */
+struct link_map_offsets *(*legacy_svr4_fetch_link_map_offsets_hook)(void) = 0;
+
 /* Link map info to include in an allocated so_list entry */
 
 struct lm_info
@@ -121,101 +131,24 @@ static char *main_name_list[] =
 
 
 /* Fetch (and possibly build) an appropriate link_map_offsets structure
-   for native targets using struct definitions from link.h.  */
+   for native targets using struct definitions from link.h.  
+   
+   Note: For non-native targets (i.e. cross-debugging situations),
+   you need to define a target specific fetch_link_map_offsets()
+   function and call set_solib_svr4_fetch_link_map_offsets () to
+   register this function.  */
 
-struct link_map_offsets *
+static struct link_map_offsets *
 default_svr4_fetch_link_map_offsets (void)
 {
-#ifdef HAVE_LINK_H
-  static struct link_map_offsets lmo;
-  static struct link_map_offsets *lmp = 0;
-#if defined (HAVE_STRUCT_LINK_MAP32)
-  static struct link_map_offsets lmo32;
-  static struct link_map_offsets *lmp32 = 0;
-#endif
-
-#ifndef offsetof
-#define offsetof(TYPE, MEMBER) ((unsigned long) &((TYPE *)0)->MEMBER)
-#endif
-#define fieldsize(TYPE, MEMBER) (sizeof (((TYPE *)0)->MEMBER))
-
-  if (lmp == 0)
-    {
-      lmp = &lmo;
-
-#ifdef SVR4_SHARED_LIBS
-      lmo.r_debug_size = sizeof (struct r_debug);
-
-      lmo.r_map_offset = offsetof (struct r_debug, r_map);
-      lmo.r_map_size = fieldsize (struct r_debug, r_map);
-
-      lmo.link_map_size = sizeof (struct link_map);
-
-      lmo.l_addr_offset = offsetof (struct link_map, l_addr);
-      lmo.l_addr_size = fieldsize (struct link_map, l_addr);
-
-      lmo.l_next_offset = offsetof (struct link_map, l_next);
-      lmo.l_next_size = fieldsize (struct link_map, l_next);
-
-      lmo.l_prev_offset = offsetof (struct link_map, l_prev);
-      lmo.l_prev_size = fieldsize (struct link_map, l_prev);
-
-      lmo.l_name_offset = offsetof (struct link_map, l_name);
-      lmo.l_name_size = fieldsize (struct link_map, l_name);
-#else /* !SVR4_SHARED_LIBS */
-      lmo.link_map_size = sizeof (struct link_map);
-
-      lmo.l_addr_offset = offsetof (struct link_map, lm_addr);
-      lmo.l_addr_size = fieldsize (struct link_map, lm_addr);
-
-      lmo.l_next_offset = offsetof (struct link_map, lm_next);
-      lmo.l_next_size = fieldsize (struct link_map, lm_next);
-
-      lmo.l_name_offset = offsetof (struct link_map, lm_name);
-      lmo.l_name_size = fieldsize (struct link_map, lm_name);
-#endif /* SVR4_SHARED_LIBS */
-    }
-
-#if defined (HAVE_STRUCT_LINK_MAP32)
-  if (lmp32 == 0)
+  if (legacy_svr4_fetch_link_map_offsets_hook)
+    return legacy_svr4_fetch_link_map_offsets_hook ();
+  else
     {
-      lmp32 = &lmo32;
-
-      lmo32.r_debug_size = sizeof (struct r_debug32);
-
-      lmo32.r_map_offset = offsetof (struct r_debug32, r_map);
-      lmo32.r_map_size = fieldsize (struct r_debug32, r_map);
-
-      lmo32.link_map_size = sizeof (struct link_map32);
-
-      lmo32.l_addr_offset = offsetof (struct link_map32, l_addr);
-      lmo32.l_addr_size = fieldsize (struct link_map32, l_addr);
-
-      lmo32.l_next_offset = offsetof (struct link_map32, l_next);
-      lmo32.l_next_size = fieldsize (struct link_map32, l_next);
-
-      lmo32.l_prev_offset = offsetof (struct link_map32, l_prev);
-      lmo32.l_prev_size = fieldsize (struct link_map32, l_prev);
-
-      lmo32.l_name_offset = offsetof (struct link_map32, l_name);
-      lmo32.l_name_size = fieldsize (struct link_map32, l_name);
+      internal_error (__FILE__, __LINE__,
+"default_svr4_fetch_link_map_offsets called without legacy link_map support enabled.");
+      return 0;
     }
-#endif /* defined (HAVE_STRUCT_LINK_MAP32) */
-
-#if defined (HAVE_STRUCT_LINK_MAP32)
-  if (bfd_get_arch_size (exec_bfd) == 32)
-    return lmp32;
-  else
-#endif
-    return lmp;
-
-#else
-
-  internal_error (__FILE__, __LINE__,
-		  "default_svr4_fetch_link_map_offsets called without HAVE_LINK_H defined.");
-  return 0;
-
-#endif /* HAVE_LINK_H */
 }
 
 /* Macro to extract an address from a solib structure.
@@ -950,7 +883,7 @@ open_symbol_file_object (void *from_ttyp
 #else
 
 static int
-open_symbol_file_object (int *from_ttyp)
+open_symbol_file_object (void *from_ttyp)
 {
   return 1;
 }
@@ -1687,18 +1620,33 @@ svr4_relocate_section_addresses (struct 
   sec->endaddr += LM_ADDR (so);
 }
 
+void
+set_solib_svr4_fetch_link_map_offsets (struct link_map_offsets *(*flmo) (void))
+{
+  fetch_link_map_offsets = flmo;
+}
+
+static void
+init_fetch_link_map_offsets (void)
+{
+  set_solib_svr4_fetch_link_map_offsets (default_svr4_fetch_link_map_offsets);
+}
+
 static struct target_so_ops svr4_so_ops;
 
 void
 _initialize_svr4_solib (void)
 {
+  register_gdbarch_swap (&fetch_link_map_offsets,
+                         sizeof (fetch_link_map_offsets),
+			 init_fetch_link_map_offsets);
+
   svr4_so_ops.relocate_section_addresses = svr4_relocate_section_addresses;
   svr4_so_ops.free_so = svr4_free_so;
   svr4_so_ops.clear_solib = svr4_clear_solib;
   svr4_so_ops.solib_create_inferior_hook = svr4_solib_create_inferior_hook;
   svr4_so_ops.special_symbol_handling = svr4_special_symbol_handling;
   svr4_so_ops.current_sos = svr4_current_sos;
-  svr4_so_ops.open_symbol_file_object = open_symbol_file_object;
   svr4_so_ops.open_symbol_file_object = open_symbol_file_object;
   svr4_so_ops.in_dynsym_resolve_code = svr4_in_dynsym_resolve_code;
 
Index: solib-svr4.h
===================================================================
RCS file: /cvs/src/src/gdb/solib-svr4.h,v
retrieving revision 1.1
diff -u -p -r1.1 solib-svr4.h
--- solib-svr4.h	2000/10/24 20:05:35	1.1
+++ solib-svr4.h	2001/03/02 17:45:46
@@ -64,7 +64,10 @@ struct link_map_offsets
     int l_name_size;
   };
 
-#ifndef SVR4_FETCH_LINK_MAP_OFFSETS
-extern struct link_map_offsets *default_svr4_fetch_link_map_offsets (void);
-#define SVR4_FETCH_LINK_MAP_OFFSETS() default_svr4_fetch_link_map_offsets ()
-#endif
+extern void set_solib_svr4_fetch_link_map_offsets (
+  struct link_map_offsets *(*func) (void));
+
+/* legacy_svr4_fetch_link_map_offsets_hook is a pointer to a function
+   which is used to fetch link map offsets.  It will only be set
+   by solib-svr4-lm.c, if at all. */
+extern struct link_map_offsets *(*legacy_svr4_fetch_link_map_offsets_hook)(void);
Index: config/alpha/alpha-linux.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/alpha/alpha-linux.mt,v
retrieving revision 1.2
diff -u -p -r1.2 alpha-linux.mt
--- alpha-linux.mt	2000/10/30 22:33:32	1.2
+++ alpha-linux.mt	2001/03/02 17:45:47
@@ -1,3 +1,3 @@
 # Target: Little-endian Alpha
-TDEPFILES= alpha-tdep.o solib.o solib-svr4.o 
+TDEPFILES= alpha-tdep.o solib.o solib-svr4.o solib-svr4-lm.o
 TM_FILE= tm-alphalinux.h
Index: config/alpha/fbsd.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/alpha/fbsd.mh,v
retrieving revision 1.3
diff -u -p -r1.3 fbsd.mh
--- fbsd.mh	2000/10/24 20:05:35	1.3
+++ fbsd.mh	2001/03/02 17:45:47
@@ -1,6 +1,7 @@
 # Host: FreeBSD/Alpha
 XDEPFILES=
-NATDEPFILES= fork-child.o infptrace.o inftarg.o solib.o solib-svr4.o \
+NATDEPFILES= fork-child.o infptrace.o inftarg.o \
+	solib.o solib-svr4.o solib-svr4-lm.o \
 	corelow.o core-regset.o alphabsd-nat.o
 XM_FILE= xm-fbsd.h
 NAT_FILE= nm-fbsd.h
Index: config/arm/linux.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/arm/linux.mt,v
retrieving revision 1.3
diff -u -p -r1.3 linux.mt
--- linux.mt	2000/10/30 22:35:46	1.3
+++ linux.mt	2001/03/02 17:45:47
@@ -1,5 +1,5 @@
 # Target: ARM based machine running GNU/Linux
 TM_FILE= tm-linux.h
-TDEPFILES= arm-tdep.o arm-linux-tdep.o solib.o solib-svr4.o 
+TDEPFILES= arm-tdep.o arm-linux-tdep.o solib.o solib-svr4.o solib-svr4-lm.o
 
 GDBSERVER_DEPFILES= low-linux.o
Index: config/i386/fbsd.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/fbsd.mh,v
retrieving revision 1.5
diff -u -p -r1.5 fbsd.mh
--- fbsd.mh	2000/10/24 20:05:35	1.5
+++ fbsd.mh	2001/03/02 17:45:47
@@ -1,6 +1,6 @@
 # Host: Intel 386 running FreeBSD
 XDEPFILES=
 # NOTE: Do not spread NATDEPFILES over several lines - it hurts BSD make.
-NATDEPFILES= fork-child.o infptrace.o inftarg.o solib.o solib-svr4.o corelow.o core-aout.o core-regset.o i387-nat.o i386bsd-nat.o
+NATDEPFILES= fork-child.o infptrace.o inftarg.o solib.o solib-svr4.o solib-svr4-lm.o corelow.o core-aout.o core-regset.o i387-nat.o i386bsd-nat.o
 XM_FILE= xm-fbsd.h
 NAT_FILE= nm-fbsd.h
Index: config/i386/i386dgux.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/i386dgux.mh,v
retrieving revision 1.3
diff -u -p -r1.3 i386dgux.mh
--- i386dgux.mh	2000/10/24 20:05:35	1.3
+++ i386dgux.mh	2001/03/02 17:45:47
@@ -6,5 +6,6 @@ XDEPFILES=
 XM_CLIBS= -lsocket -lnsl
 
 NAT_FILE= nm-i386v4.h
-NATDEPFILES= corelow.o core-regset.o solib.o solib-svr4.o fork-child.o i386v4-nat.o \
+NATDEPFILES= corelow.o core-regset.o fork-child.o i386v4-nat.o \
+	solib.o solib-svr4.o solib-svr4-lm.o \
 	procfs.o proc-api.o proc-events.o proc-flags.o proc-why.o
Index: config/i386/i386gnu.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/i386gnu.mh,v
retrieving revision 1.3
diff -u -p -r1.3 i386gnu.mh
--- i386gnu.mh	2000/10/24 20:05:35	1.3
+++ i386gnu.mh	2001/03/02 17:45:47
@@ -1,6 +1,6 @@
 # Host: Intel 386 running the GNU Hurd
 XDEPFILES= i387-tdep.o
-NATDEPFILES= i386gnu-nat.o gnu-nat.o fork-child.o solib.o solib-svr4.o corelow.o notify_S.o process_reply_S.o msg_reply_S.o msg_U.o exc_request_U.o exc_request_S.o
+NATDEPFILES= i386gnu-nat.o gnu-nat.o fork-child.o solib.o solib-svr4.o solib-svr4-lm.o corelow.o notify_S.o process_reply_S.o msg_reply_S.o msg_U.o exc_request_U.o exc_request_S.o
 XM_FILE= xm-i386gnu.h
 NAT_FILE= nm-gnu.h
 MH_CFLAGS = -D_GNU_SOURCE
Index: config/i386/i386sco5.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/i386sco5.mh,v
retrieving revision 1.3
diff -u -p -r1.3 i386sco5.mh
--- i386sco5.mh	2000/10/24 20:05:35	1.3
+++ i386sco5.mh	2001/03/02 17:45:47
@@ -13,5 +13,5 @@ XM_CLIBS= -lPW -lsocket
 
 NAT_FILE= nm-i386sco5.h
 NATDEPFILES= infptrace.o inftarg.o fork-child.o corefile.o core-aout.o \
-	corelow.o i386v-nat.o solib.o solib-svr4.o
+	corelow.o i386v-nat.o solib.o solib-svr4.o solib-svr4-lm.o
 
Index: config/i386/i386sol2.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/i386sol2.mt,v
retrieving revision 1.2
diff -u -p -r1.2 i386sol2.mt
--- i386sol2.mt	2000/10/24 20:05:35	1.2
+++ i386sol2.mt	2001/03/02 17:45:47
@@ -1,3 +1,3 @@
 # Target: Intel 386 running SVR4
-TDEPFILES= i386-tdep.o i387-tdep.o solib.o solib-svr4.o
+TDEPFILES= i386-tdep.o i387-tdep.o solib.o solib-svr4.o solib-svr4-lm.o
 TM_FILE= tm-i386sol2.h
Index: config/i386/i386v4.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/i386v4.mh,v
retrieving revision 1.2
diff -u -p -r1.2 i386v4.mh
--- i386v4.mh	2000/10/24 20:05:35	1.2
+++ i386v4.mh	2001/03/02 17:45:47
@@ -6,5 +6,6 @@ XDEPFILES= 
 XM_CLIBS= -lsocket -lnsl
 
 NAT_FILE= nm-i386v4.h
-NATDEPFILES= corelow.o core-regset.o solib.o solib-svr4.o fork-child.o i386v4-nat.o \
+NATDEPFILES= corelow.o core-regset.o fork-child.o i386v4-nat.o \
+	solib.o solib-svr4.o solib-svr4-lm.o \
 	procfs.o proc-api.o proc-events.o proc-flags.o proc-why.o
Index: config/i386/i386v42mp.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/i386v42mp.mh,v
retrieving revision 1.2
diff -u -p -r1.2 i386v42mp.mh
--- i386v42mp.mh	2000/10/24 20:05:35	1.2
+++ i386v42mp.mh	2001/03/02 17:45:47
@@ -8,6 +8,7 @@ XM_CLIBS= -lsocket -lnsl
 # we don't want nm-i386v4.h since that defines LOSING_POLL which isn't
 # appropriate for i386v42mp
 NAT_FILE= nm-i386v42mp.h
-NATDEPFILES= corelow.o core-regset.o solib.o solib-svr4.o fork-child.o i386v4-nat.o \
+NATDEPFILES= corelow.o core-regset.o fork-child.o i386v4-nat.o \
+	solib.o solib-svr4.o solib-svr4-lm.o \
 	procfs.o proc-api.o proc-events.o proc-flags.o proc-why.o uw-thread.o
 
Index: config/i386/linux.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/linux.mt,v
retrieving revision 1.3
diff -u -p -r1.3 linux.mt
--- linux.mt	2000/10/30 22:33:32	1.3
+++ linux.mt	2001/03/02 17:45:47
@@ -1,5 +1,6 @@
 # Target: Intel 386 running GNU/Linux
-TDEPFILES= i386-tdep.o i386-linux-tdep.o i387-tdep.o solib.o solib-svr4.o 
+TDEPFILES= i386-tdep.o i386-linux-tdep.o i387-tdep.o \
+	solib.o solib-svr4.o solib-svr4-lm.o
 TM_FILE= tm-linux.h
 
 GDBSERVER_DEPFILES= low-linux.o
Index: config/i386/nbsd.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/nbsd.mh,v
retrieving revision 1.7
diff -u -p -r1.7 nbsd.mh
--- nbsd.mh	2001/01/22 20:23:16	1.7
+++ nbsd.mh	2001/03/02 17:45:47
@@ -1,5 +1,6 @@
 # Host: Intel 386 running NetBSD
 XDEPFILES=
-NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o i386nbsd-nat.o solib.o solib-svr4.o
+NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o i386nbsd-nat.o \
+	solib.o solib-svr4.o solib-svr4-lm.o
 XM_FILE= xm-nbsd.h
 NAT_FILE= nm-nbsd.h
Index: config/i386/nbsdelf.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/nbsdelf.mh,v
retrieving revision 1.5
diff -u -p -r1.5 nbsdelf.mh
--- nbsdelf.mh	2001/01/22 20:23:16	1.5
+++ nbsdelf.mh	2001/03/02 17:45:47
@@ -1,5 +1,5 @@
 # Host: Intel 386 running NetBSD
 XDEPFILES=
-NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o i386nbsd-nat.o solib.o solib-svr4.o
+NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o i386nbsd-nat.o solib.o solib-svr4.o solib-svr4-lm.o
 XM_FILE= xm-nbsd.h
 NAT_FILE= nm-nbsdelf.h
Index: config/i386/ncr3000.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/ncr3000.mt,v
retrieving revision 1.2
diff -u -p -r1.2 ncr3000.mt
--- ncr3000.mt	2000/10/24 20:05:35	1.2
+++ ncr3000.mt	2001/03/02 17:45:47
@@ -1,3 +1,3 @@
 # Target: Intel 386 running SVR4
-TDEPFILES= i386-tdep.o i387-tdep.o solib.o solib-svr4.o
+TDEPFILES= i386-tdep.o i387-tdep.o solib.o solib-svr4.o solib-svr4-lm.o
 TM_FILE= tm-i386v4.h
Index: config/i386/ptx4.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/ptx4.mh,v
retrieving revision 1.2
diff -u -p -r1.2 ptx4.mh
--- ptx4.mh	2000/10/24 20:05:35	1.2
+++ ptx4.mh	2001/03/02 17:45:47
@@ -1,7 +1,8 @@
 # Host: Sequent Symmetry running ptx 1.3, with Weitek 1167 or i387
 
 XM_FILE= xm-ptx4.h
-XDEPFILES= inftarg.o fork-child.o symm-nat.o corelow.o core-aout.o solib.o solib-svr4.o core-regset.o
+XDEPFILES= inftarg.o fork-child.o symm-nat.o corelow.o core-aout.o \
+	core-regset.o solib.o solib-svr4.o solib-svr4-lm.o
 XM_CLIBS= -lseq
 
 NAT_FILE= nm-ptx4.h
Index: config/i386/sun386.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/sun386.mt,v
retrieving revision 1.2
diff -u -p -r1.2 sun386.mt
--- sun386.mt	2000/10/24 20:05:35	1.2
+++ sun386.mt	2001/03/02 17:45:47
@@ -1,3 +1,3 @@
 # Target: Sun 386i target configuration file.
-TDEPFILES= i386-tdep.o solib.o solib-svr4.o
+TDEPFILES= i386-tdep.o solib.o solib-svr4.o solib-svr4-lm.o
 TM_FILE= tm-sun386.h
Index: config/ia64/linux.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/ia64/linux.mt,v
retrieving revision 1.4
diff -u -p -r1.4 linux.mt
--- linux.mt	2001/02/22 03:01:27	1.4
+++ linux.mt	2001/03/02 17:45:48
@@ -1,5 +1,6 @@
 # Target: Intel IA-64 running GNU/Linux
-TDEPFILES= ia64-tdep.o ia64-aix-tdep.o ia64-linux-tdep.o solib.o solib-svr4.o 
+TDEPFILES= ia64-tdep.o ia64-aix-tdep.o ia64-linux-tdep.o \
+	solib.o solib-svr4.o solib-svr4-lm.o
 TM_FILE= tm-linux.h
 
 GDBSERVER_DEPFILES= low-linux.o
Index: config/m68k/linux.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/m68k/linux.mt,v
retrieving revision 1.2
diff -u -p -r1.2 linux.mt
--- linux.mt	2000/10/30 22:33:32	1.2
+++ linux.mt	2001/03/02 17:45:48
@@ -1,3 +1,3 @@
 # Target: Motorola m68k with a.out and ELF
-TDEPFILES= m68k-tdep.o solib.o solib-svr4.o 
+TDEPFILES= m68k-tdep.o solib.o solib-svr4.o solib-svr4-lm.o
 TM_FILE= tm-linux.h
Index: config/m68k/m68kv4.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/m68k/m68kv4.mh,v
retrieving revision 1.2
diff -u -p -r1.2 m68kv4.mh
--- m68kv4.mh	2000/10/24 20:05:35	1.2
+++ m68kv4.mh	2001/03/02 17:45:48
@@ -4,5 +4,5 @@ XM_FILE= xm-m68kv4.h
 XDEPFILES=
 
 NAT_FILE= nm-sysv4.h
-NATDEPFILES= corelow.o core-regset.o solib.o solib-svr4.o fork-child.o procfs.o \
-	proc-api.o proc-events.o proc-flags.o proc-why.o
+NATDEPFILES= corelow.o core-regset.o solib.o solib-svr4.o solib-svr4-lm.o \
+	fork-child.o procfs.o proc-api.o proc-events.o proc-flags.o proc-why.o
Index: config/m68k/nbsd.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/m68k/nbsd.mh,v
retrieving revision 1.6
diff -u -p -r1.6 nbsd.mh
--- nbsd.mh	2001/01/22 20:23:18	1.6
+++ nbsd.mh	2001/03/02 17:45:48
@@ -1,5 +1,5 @@
 # Host: Motorola m68k running NetBSD
 XDEPFILES=
-NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o m68knbsd-nat.o solib.o solib-svr4.o
+NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o m68knbsd-nat.o solib.o solib-svr4.o solib-svr4-lm.o
 XM_FILE= xm-nbsd.h
 NAT_FILE= nm-nbsd.h
Index: config/m68k/sun2os4.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/m68k/sun2os4.mt,v
retrieving revision 1.2
diff -u -p -r1.2 sun2os4.mt
--- sun2os4.mt	2000/10/24 20:05:35	1.2
+++ sun2os4.mt	2001/03/02 17:45:48
@@ -1,3 +1,3 @@
 # Target: Sun 2, running SunOS 4
-TDEPFILES= solib.o solib-svr4.o m68k-tdep.o
+TDEPFILES= solib.o solib-svr4.o solib-svr4-lm.o m68k-tdep.o
 TM_FILE= tm-sun2os4.h
Index: config/m68k/sun3os4.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/m68k/sun3os4.mt,v
retrieving revision 1.2
diff -u -p -r1.2 sun3os4.mt
--- sun3os4.mt	2000/10/24 20:05:35	1.2
+++ sun3os4.mt	2001/03/02 17:45:48
@@ -1,3 +1,3 @@
 # Target: Sun 3, running SunOS 4, as a target system
-TDEPFILES= solib.o solib-svr4.o m68k-tdep.o
+TDEPFILES= solib.o solib-svr4.o solib-svr4-lm.o m68k-tdep.o
 TM_FILE= tm-sun3os4.h
Index: config/m88k/delta88v4.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/m88k/delta88v4.mh,v
retrieving revision 1.2
diff -u -p -r1.2 delta88v4.mh
--- delta88v4.mh	2000/10/24 20:05:35	1.2
+++ delta88v4.mh	2001/03/02 17:45:48
@@ -4,5 +4,6 @@ XM_FILE= xm-delta88v4.h
 XDEPFILES= 
 
 NAT_FILE= nm-delta88v4.h
-NATDEPFILES= fork-child.o m88k-nat.o corelow.o core-regset.o solib.o solib-svr4.o \
+NATDEPFILES= fork-child.o m88k-nat.o corelow.o core-regset.o \
+	solib.o solib-svr4.o solib-svr4-lm.o \
 	procfs.o proc-api.o proc-events.o proc-flags.o proc-why.o
Index: config/mips/mipsv4.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/mips/mipsv4.mh,v
retrieving revision 1.2
diff -u -p -r1.2 mipsv4.mh
--- mipsv4.mh	2000/10/24 20:05:36	1.2
+++ mipsv4.mh	2001/03/02 17:45:48
@@ -1,5 +1,6 @@
 # Host: Mips running SVR4
 XM_FILE= xm-mipsv4.h
 NAT_FILE= ../nm-sysv4.h
-NATDEPFILES= fork-child.o mipsv4-nat.o corelow.o core-regset.o solib.o solib-svr4.o \
+NATDEPFILES= fork-child.o mipsv4-nat.o corelow.o core-regset.o \
+	solib.o solib-svr4.o solib-svr4-lm.o \
 	procfs.o proc-api.o proc-events.o proc-flags.o proc-why.o
Index: config/ns32k/nbsd.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/ns32k/nbsd.mh,v
retrieving revision 1.6
diff -u -p -r1.6 nbsd.mh
--- nbsd.mh	2001/01/22 20:23:20	1.6
+++ nbsd.mh	2001/03/02 17:45:48
@@ -1,5 +1,5 @@
 # Host: PC532 running NetBSD
 XDEPFILES=
-NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o ns32knbsd-nat.o solib.o solib-svr4.o
+NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o ns32knbsd-nat.o solib.o solib-svr4.o solib-svr4-lm.o
 XM_FILE= xm-nbsd.h
 NAT_FILE= nm-nbsd.h
Index: config/powerpc/linux.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/powerpc/linux.mt,v
retrieving revision 1.2
diff -u -p -r1.2 linux.mt
--- linux.mt	2000/10/30 22:33:32	1.2
+++ linux.mt	2001/03/02 17:45:48
@@ -1,3 +1,3 @@
 # Target: Motorola PPC on Linux
-TDEPFILES= rs6000-tdep.o ppc-linux-tdep.o solib.o solib-svr4.o 
+TDEPFILES= rs6000-tdep.o ppc-linux-tdep.o solib.o solib-svr4.o solib-svr4-lm.o
 TM_FILE= tm-linux.h
Index: config/powerpc/nbsd.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/powerpc/nbsd.mh,v
retrieving revision 1.5
diff -u -p -r1.5 nbsd.mh
--- nbsd.mh	2001/01/22 20:23:22	1.5
+++ nbsd.mh	2001/03/02 17:45:48
@@ -1,5 +1,5 @@
 # Host: PowerPC, running NetBSD
 XDEPFILES=
-NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o ppcnbsd-nat.o solib.o solib-svr4.o
+NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o ppcnbsd-nat.o solib.o solib-svr4.o solib-svr4-lm.o
 XM_FILE= xm-nbsd.h
 NAT_FILE= nm-nbsd.h
Index: config/powerpc/solaris.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/powerpc/solaris.mh,v
retrieving revision 1.3
diff -u -p -r1.3 solaris.mh
--- solaris.mh	2000/10/24 20:05:36	1.3
+++ solaris.mh	2001/03/02 17:45:48
@@ -5,8 +5,8 @@ XDEPFILES=
 XM_CLIBS= -lsocket -lnsl
 
 NAT_FILE= nm-solaris.h
-NATDEPFILES= corelow.o core-sol2.o solib.o solib-svr4.o fork-child.o procfs.o \
-	proc-api.o proc-events.o proc-flags.o proc-why.o
+NATDEPFILES= corelow.o core-sol2.o solib.o solib-svr4.o solib-svr4-lm.o \
+	fork-child.o procfs.o proc-api.o proc-events.o proc-flags.o proc-why.o
 
 # If you are compiling with Sun's compiler, add the -xs option to CC
 # (e.g. `make CC="cc -xs"').
Index: config/sh/linux.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/sh/linux.mt,v
retrieving revision 1.1
diff -u -p -r1.1 linux.mt
--- linux.mt	2001/01/30 23:37:07	1.1
+++ linux.mt	2001/03/02 17:45:48
@@ -1,5 +1,5 @@
 # Target: Hitachi Super-H running GNU/Linux
-TDEPFILES= sh-tdep.o monitor.o sh3-rom.o remote-e7000.o ser-e7kpc.o dsrec.o solib.o solib-svr4.o
+TDEPFILES= sh-tdep.o monitor.o sh3-rom.o remote-e7000.o ser-e7kpc.o dsrec.o solib.o solib-svr4.o solib-svr4-lm.o
 TM_FILE= tm-linux.h
 
 SIM_OBS = remote-sim.o
Index: config/sparc/linux.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/linux.mt,v
retrieving revision 1.2
diff -u -p -r1.2 linux.mt
--- linux.mt	2000/10/24 20:05:36	1.2
+++ linux.mt	2001/03/02 17:45:48
@@ -1,3 +1,3 @@
 # Target: Sparcstation, running Linux
-TDEPFILES= sparc-tdep.o solib.o solib-svr4.o
+TDEPFILES= sparc-tdep.o solib.o solib-svr4.o solib-svr4-lm.o
 TM_FILE= tm-linux.h
Index: config/sparc/nbsd.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/nbsd.mh,v
retrieving revision 1.5
diff -u -p -r1.5 nbsd.mh
--- nbsd.mh	2001/01/22 20:23:25	1.5
+++ nbsd.mh	2001/03/02 17:45:48
@@ -1,6 +1,6 @@
 # Host: Sun 4 or Sparcstation, running NetBSD
 XDEPFILES=
-NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o sparc-nat.o solib.o solib-svr4.o
+NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o sparc-nat.o solib.o solib-svr4.o solib-svr4-lm.o
 XM_FILE= xm-nbsd.h
 NAT_FILE= nm-nbsd.h
 HOST_IPC=-DBSD_IPC
Index: config/sparc/nbsdelf.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/nbsdelf.mh,v
retrieving revision 1.5
diff -u -p -r1.5 nbsdelf.mh
--- nbsdelf.mh	2001/01/22 20:23:25	1.5
+++ nbsdelf.mh	2001/03/02 17:45:48
@@ -1,6 +1,6 @@
 # Host: Sun 4 or Sparcstation, running NetBSD
 XDEPFILES=
-NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o sparc-nat.o solib.o solib-svr4.o
+NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o sparc-nat.o solib.o solib-svr4.o solib-svr4-lm.o
 XM_FILE= xm-nbsd.h
 NAT_FILE= nm-nbsdelf.h
 HOST_IPC=-DBSD_IPC
Index: config/sparc/sp64linux.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/sp64linux.mt,v
retrieving revision 1.1
diff -u -p -r1.1 sp64linux.mt
--- sp64linux.mt	2001/02/27 17:04:47	1.1
+++ sp64linux.mt	2001/03/02 17:45:48
@@ -1,3 +1,3 @@
 # Target: UltraSPARC, running Linux 64bit programs
-TDEPFILES= sparc-tdep.o solib.o solib-svr4.o
+TDEPFILES= sparc-tdep.o solib.o solib-svr4.o solib-svr4-lm.o
 TM_FILE= tm-sp64linux.h
Index: config/sparc/sun4os4.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/sun4os4.mt,v
retrieving revision 1.2
diff -u -p -r1.2 sun4os4.mt
--- sun4os4.mt	2000/10/24 20:05:36	1.2
+++ sun4os4.mt	2001/03/02 17:45:48
@@ -1,3 +1,3 @@
 # Target: Sun 4 or Sparcstation, running SunOS 4
-TDEPFILES= sparc-tdep.o solib.o solib-svr4.o
+TDEPFILES= sparc-tdep.o solib.o solib-svr4.o solib-svr4-lm.o
 TM_FILE= tm-sun4os4.h
Index: config/sparc/sun4sol2.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/sun4sol2.mh,v
retrieving revision 1.4
diff -u -p -r1.4 sun4sol2.mh
--- sun4sol2.mh	2001/02/06 20:05:42	1.4
+++ sun4sol2.mh	2001/03/02 17:45:48
@@ -5,8 +5,8 @@ XDEPFILES=
 XM_CLIBS= -lsocket -lnsl
 
 NAT_FILE= nm-sun4sol2.h
-NATDEPFILES= corelow.o core-sol2.o solib.o solib-svr4.o fork-child.o procfs.o \
-	proc-api.o proc-events.o proc-flags.o proc-why.o
+NATDEPFILES= corelow.o core-sol2.o solib.o solib-svr4.o solib-svr4-lm.o \
+	fork-child.o procfs.o proc-api.o proc-events.o proc-flags.o proc-why.o
 
 # /usr/include/v9 is needed only by core-sol2.c when including 
 # v9/sys/privregs.h, or rather the headers it in turn includes.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]