(find_global_pointer, find_extant_func_descr): Don't use
partial symtabs for locating sections.
+ * config/ia64/linux.mh (LOADLIBES): Define.
+ (NATDEPFILES): Add linux-thread.o and lin-thread.o.
+ * config/ia64/nm-linux.h (nm-linux.h): Include this upper-level
+ file containing generic linux declarations/definitions.
+ (SVR4_SHARED_LIBS, ATTACH_DETACH): Remove defines; already
+ defined in generic nm-linux.h.
+ (solib.h): Remove include; already included in generic nm-linux.h.
+
2000-04-03 Jim Blandy <jimb@redhat.com>
* solib.c (solib_add): Move all the code for loading symbol tables
NAT_FILE= nm-linux.h
NATDEPFILES= infptrace.o solib.o inftarg.o fork-child.o corelow.o \
- core-aout.o core-regset.o ia64-linux-nat.o
+ core-aout.o core-regset.o ia64-linux-nat.o linux-thread.o lin-thread.o
+
+LOADLIBES = -ldl -rdynamic
# Don't use gnu-regex.c; it interferes with some stuff in libc.
REGEX=
#ifndef NM_LINUX_H
#define NM_LINUX_H
-/* We define this if link.h is available, because with ELF we use SVR4 style
- shared libraries. */
-
-#ifdef HAVE_LINK_H
-#define SVR4_SHARED_LIBS
-#include "solib.h" /* Support for shared libraries. */
-#endif
+#include "nm-linux.h"
/* Note: It seems likely that we'll have to eventually define
FETCH_INFERIOR_REGISTERS. But until that time, we'll make do
#define PTRACE_ARG3_TYPE long
#define PTRACE_XFER_TYPE long
-/* Tell gdb that we can attach and detach other processes */
-#define ATTACH_DETACH
-
#endif /* #ifndef NM_LINUX_H */