From: Stu Grossman Date: Tue, 22 Apr 1997 17:13:41 +0000 (+0000) Subject: * config/alpha/alpha-osf3.mh config/i386/{i386gnu linux}.mh X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=178b282ba96d8bdfb19ad2848996245b38dd0636;p=binutils-gdb.git * config/alpha/alpha-osf3.mh config/i386/{i386gnu linux}.mh config/mips/{embed embed64 embedl embedl64 vr4300 vr4300el vr5000 vr5000el}.mt config/powerpc/{aix aix4}.mh config/rs6000/{aix aix4}.mh config/sh/sh.mt config/sparc/sp64sim.mt: start-sanitize-v850 config/v850/v850.mt: end-sanitize-v850 Remove -lm. That's now handled by configure. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9f8f072f34a..ff065330c10 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,14 @@ Tue Apr 22 09:02:10 1997 Stu Grossman (grossman@critters.cygnus.com) + * config/alpha/alpha-osf3.mh config/i386/{i386gnu linux}.mh + config/mips/{embed embed64 embedl embedl64 vr4300 vr4300el vr5000 + vr5000el}.mt config/powerpc/{aix aix4}.mh config/rs6000/{aix + aix4}.mh config/sh/sh.mt config/sparc/sp64sim.mt: +start-sanitize-v850 + config/v850/v850.mt: +end-sanitize-v850 + Remove -lm. That's now handled by configure. + * Makefile.in (maintainer-clean): Add distclean to dependencies. Remove duplicate rm's of files. diff --git a/gdb/config/i386/i386gnu.mh b/gdb/config/i386/i386gnu.mh index 75cba98a80b..d8da1897d4d 100644 --- a/gdb/config/i386/i386gnu.mh +++ b/gdb/config/i386/i386gnu.mh @@ -3,6 +3,9 @@ XDEPFILES= i387-tdep.o NATDEPFILES= i386gnu-nat.o gnu-nat.o fork-child.o solib.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 + +XM_CLIBS = -lshouldbeinlibc # Use our own user stubs for the msg rpcs, so we can make them time out, in # case the program is fucked, or we guess the wrong signal thread. diff --git a/gdb/config/mips/embed64.mt b/gdb/config/mips/embed64.mt index 378b20bdd3f..ed60fd25031 100644 --- a/gdb/config/mips/embed64.mt +++ b/gdb/config/mips/embed64.mt @@ -2,4 +2,4 @@ TDEPFILES= mips-tdep.o remote-mips.o remote-array.o TM_FILE= tm-embed64.h SIM_OBS = remote-sim.o -SIM = ../sim/mips/libsim.a -lm +SIM = ../sim/mips/libsim.a diff --git a/gdb/config/mips/embedl.mt b/gdb/config/mips/embedl.mt index 92da80d5196..0ed8b8d5021 100644 --- a/gdb/config/mips/embedl.mt +++ b/gdb/config/mips/embedl.mt @@ -2,4 +2,4 @@ TDEPFILES= mips-tdep.o remote-mips.o remote-array.o TM_FILE= tm-embedl.h SIM_OBS = remote-sim.o -SIM = ../sim/mips/libsim.a -lm +SIM = ../sim/mips/libsim.a diff --git a/gdb/config/mips/embedl64.mt b/gdb/config/mips/embedl64.mt index 9c437d28bec..28c41be48fb 100644 --- a/gdb/config/mips/embedl64.mt +++ b/gdb/config/mips/embedl64.mt @@ -2,4 +2,4 @@ TDEPFILES= mips-tdep.o remote-mips.o remote-array.o TM_FILE= tm-embedl64.h SIM_OBS = remote-sim.o -SIM = ../sim/mips/libsim.a -lm +SIM = ../sim/mips/libsim.a diff --git a/gdb/config/mips/vr4300.mt b/gdb/config/mips/vr4300.mt index 31b6658b9cf..22cb25eb425 100644 --- a/gdb/config/mips/vr4300.mt +++ b/gdb/config/mips/vr4300.mt @@ -2,4 +2,4 @@ TDEPFILES= mips-tdep.o remote-mips.o TM_FILE= tm-vr4300.h SIM_OBS = remote-sim.o -SIM = ../sim/mips/libsim.a -lm +SIM = ../sim/mips/libsim.a diff --git a/gdb/config/mips/vr4300el.mt b/gdb/config/mips/vr4300el.mt index 3bbedf75e64..cff7241597b 100644 --- a/gdb/config/mips/vr4300el.mt +++ b/gdb/config/mips/vr4300el.mt @@ -2,4 +2,4 @@ TDEPFILES= mips-tdep.o remote-mips.o TM_FILE= tm-vr4300el.h SIM_OBS = remote-sim.o -SIM = ../sim/mips/libsim.a -lm +SIM = ../sim/mips/libsim.a diff --git a/gdb/config/mips/vr5000.mt b/gdb/config/mips/vr5000.mt index 94fd5b334c7..316c548de09 100644 --- a/gdb/config/mips/vr5000.mt +++ b/gdb/config/mips/vr5000.mt @@ -2,10 +2,6 @@ TDEPFILES= mips-tdep.o remote-mips.o TM_FILE= tm-vr5000.h SIM_OBS = remote-sim.o -SIM = ../sim/mips/libsim.a -lm +SIM = ../sim/mips/libsim.a GDBSERVER_DEPFILES= low-sim.o -GDBSERVER_LIBS = \ - ../../sim/mips/libsim.a \ - ../../bfd/libbfd.a \ - ../../libiberty/libiberty.a \ - -lm +GDBSERVER_LIBS = ../../sim/mips/libsim.a ../../bfd/libbfd.a ../../libiberty/libiberty.a -lm diff --git a/gdb/config/mips/vr5000el.mt b/gdb/config/mips/vr5000el.mt index 479679b900d..99687edcefc 100644 --- a/gdb/config/mips/vr5000el.mt +++ b/gdb/config/mips/vr5000el.mt @@ -2,4 +2,4 @@ TDEPFILES= mips-tdep.o remote-mips.o TM_FILE= tm-vr5000el.h SIM_OBS = remote-sim.o -SIM = ../sim/mips/libsim.a -lm +SIM = ../sim/mips/libsim.a diff --git a/gdb/config/powerpc/aix4.mh b/gdb/config/powerpc/aix4.mh index 27b47ec757c..c49e639d09c 100644 --- a/gdb/config/powerpc/aix4.mh +++ b/gdb/config/powerpc/aix4.mh @@ -15,10 +15,6 @@ NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o rs6000-nat.o xcoffread MMALLOC = MMALLOC_CFLAGS = -DNO_MMALLOC -# A bug in the AIX 3.2 libc.a results in unresolved references for .scalb and -# .finite because we call ldexp via floatformat. Circumvent by adding -lm. -XM_CLIBS= -lm - # Rumor has it that libtermcap is "not really functional", and that # -lcurses is better. TERMCAP= -lcurses diff --git a/gdb/config/sh/sh.mt b/gdb/config/sh/sh.mt index 71d6083b80a..a6604d4f1d3 100644 --- a/gdb/config/sh/sh.mt +++ b/gdb/config/sh/sh.mt @@ -3,4 +3,4 @@ TDEPFILES= sh-tdep.o monitor.o sh3-rom.o remote-e7000.o ser-e7kpc.o dsrec.o TM_FILE= tm-sh.h SIM_OBS = remote-sim.o -SIM = ../sim/sh/libsim.a -lm +SIM = ../sim/sh/libsim.a diff --git a/gdb/config/sparc/sp64sim.mt b/gdb/config/sparc/sp64sim.mt index 66132844acd..a9c5ac94cd4 100644 --- a/gdb/config/sparc/sp64sim.mt +++ b/gdb/config/sparc/sp64sim.mt @@ -11,6 +11,3 @@ CC = gcc MH_CFLAGS = -I${srcdir}/../sim/sp64 SIM_OBS = remote-sim.o SIM = ../sim/sp64/libsim.a - -# The simulator uses the sqrt() function. -TM_CLIBS = -lm