Source-Changes-HG archive

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

[src/trunk]: src/gnu don't include solib.h if the system is sh3&&(!ELF)



details:   https://anonhg.NetBSD.org/src/rev/59dde90ea030
branches:  trunk
changeset: 495656:59dde90ea030
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Wed Aug 02 17:46:20 2000 +0000

description:
don't include solib.h if the system is sh3&&(!ELF)

diffstat:

 gnu/dist/gdb/config/nm-nbsd.h |  2 ++
 gnu/usr.bin/gdb/Makefile      |  6 +++++-
 2 files changed, 7 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 19cca3cb3ca7 -r 59dde90ea030 gnu/dist/gdb/config/nm-nbsd.h
--- a/gnu/dist/gdb/config/nm-nbsd.h     Wed Aug 02 17:39:50 2000 +0000
+++ b/gnu/dist/gdb/config/nm-nbsd.h     Wed Aug 02 17:46:20 2000 +0000
@@ -37,7 +37,9 @@
 
 #define PTRACE_ARG3_TYPE char*
 
+#if !defind(NO_SOLIB)
 #include "solib.h"      /* Support for shared libraries. */
+#endif
 
 #ifndef SVR4_SHARED_LIBS
 /* The NetBSD link.h structure definitions have different names
diff -r 19cca3cb3ca7 -r 59dde90ea030 gnu/usr.bin/gdb/Makefile
--- a/gnu/usr.bin/gdb/Makefile  Wed Aug 02 17:39:50 2000 +0000
+++ b/gnu/usr.bin/gdb/Makefile  Wed Aug 02 17:46:20 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.40 2000/07/08 19:18:19 eeh Exp $
+#      $NetBSD: Makefile,v 1.41 2000/08/02 17:46:20 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
 



Home | Main Index | Thread Index | Old Index