aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1997-04-22 17:13:41 +0000
committerStu Grossman <grossman@cygnus>1997-04-22 17:13:41 +0000
commit178b282ba96d8bdfb19ad2848996245b38dd0636 (patch)
tree642d0224c6b04fe1a00b441a123531c19d5ecc66 /gdb/config
parent253a70ff1c0597dc330fdda203d1766519311b68 (diff)
downloadgdb-178b282ba96d8bdfb19ad2848996245b38dd0636.zip
gdb-178b282ba96d8bdfb19ad2848996245b38dd0636.tar.gz
gdb-178b282ba96d8bdfb19ad2848996245b38dd0636.tar.bz2
* 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.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/i386/i386gnu.mh3
-rw-r--r--gdb/config/mips/embed64.mt2
-rw-r--r--gdb/config/mips/embedl.mt2
-rw-r--r--gdb/config/mips/embedl64.mt2
-rw-r--r--gdb/config/mips/vr4300.mt2
-rw-r--r--gdb/config/mips/vr4300el.mt2
-rw-r--r--gdb/config/mips/vr5000.mt8
-rw-r--r--gdb/config/mips/vr5000el.mt2
-rw-r--r--gdb/config/powerpc/aix4.mh4
-rw-r--r--gdb/config/sh/sh.mt2
-rw-r--r--gdb/config/sparc/sp64sim.mt3
11 files changed, 12 insertions, 20 deletions
diff --git a/gdb/config/i386/i386gnu.mh b/gdb/config/i386/i386gnu.mh
index 75cba98..d8da189 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 378b20b..ed60fd2 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 92da80d..0ed8b8d 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 9c437d2..28c41be 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 31b6658..22cb25e 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 3bbedf7..cff7241 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 94fd5b3..316c548 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 479679b..99687ed 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 27b47ec..c49e639 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 71d6083..a6604d4 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 6613284..a9c5ac9 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