Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/gnu/usr.bin/gdb Pullup revision 1.40-1.42 (approved by ...



details:   https://anonhg.NetBSD.org/src/rev/7a3dd45126b5
branches:  netbsd-1-5
changeset: 489127:7a3dd45126b5
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Wed Aug 16 22:54:54 2000 +0000

description:
Pullup revision 1.40-1.42 (approved by thorpej):

        don't include solib.h if the system is sh3&&(!ELF)
        because the COFF based NetBSD/sh3 doesn't support
        shared library.

diffstat:

 gnu/usr.bin/gdb/Makefile |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r fb01024ebf57 -r 7a3dd45126b5 gnu/usr.bin/gdb/Makefile
--- a/gnu/usr.bin/gdb/Makefile  Wed Aug 16 17:07:51 2000 +0000
+++ b/gnu/usr.bin/gdb/Makefile  Wed Aug 16 22:54:54 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.39 2000/04/14 17:58:40 nathanw Exp $
+#      $NetBSD: Makefile,v 1.39.2.1 2000/08/16 22:54:54 msaitoh Exp $
 
 # for OBJECT_FMT
 .include <bsd.own.mk>
@@ -22,6 +22,10 @@
 CPPFLAGS+=     -DSVR4_SHARED_LIBS
 .endif
 
+.if (${MACHINE_ARCH} == "sh3") && (${OBJECT_FMT} != "ELF")
+CPPFLAGS+=     -DNO_SOLIB
+.endif
+
 LDADD+=                -ledit -lkvm -ltermcap -L${BFDOBJ} -lbfd
 DPADD+=                ${LIBEDIT} ${LIBKVM} ${LIBTERMCAP} ${BFDOBJ}/libbfd_pic.a
 
@@ -56,9 +60,7 @@
        && (${MACHINE_ARCH} != "sh3")
 NATDEPFILES+= kcore-nbsd.c
 .endif
-.if ${MKPIC} != "no"
 NATDEPFILES+= solib.c
-.endif
 
 NATDEPFILES.alpha=     alphanbsd-nat.c
 TDEPFILES.alpha=       alpha-tdep.c



Home | Main Index | Thread Index | Old Index