aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-08-29 00:33:47 +0000
committerJohn Gilmore <gnu@cygnus>1992-08-29 00:33:47 +0000
commitd26c07d12457b914365ca967d51b96bf8e0346bc (patch)
tree38928a94b75956e072a1e8b5b9d239d487e43f81 /gdb/config
parent9b280a7f5363e4b2ebd8c0a9b2e1782e9769880c (diff)
downloadgdb-d26c07d12457b914365ca967d51b96bf8e0346bc.zip
gdb-d26c07d12457b914365ca967d51b96bf8e0346bc.tar.gz
gdb-d26c07d12457b914365ca967d51b96bf8e0346bc.tar.bz2
RS/6000 portability changes (for hosting cross-debuggers).
* config/rs6000.mh (XDEPFILES): Move xcoffexec.o to target side. (XM_CLIBS): Add -lm to circumvent AIX 3.2 libc ldexp bug. * config/rs6000.mt (TDEPFILES): Adopt xcoffexec.o.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/rs6000.mh10
-rw-r--r--gdb/config/rs6000.mt3
2 files changed, 8 insertions, 5 deletions
diff --git a/gdb/config/rs6000.mh b/gdb/config/rs6000.mh
index cd51469..393db15 100644
--- a/gdb/config/rs6000.mh
+++ b/gdb/config/rs6000.mh
@@ -1,5 +1,5 @@
-# Host machine: IBM RS/6000 running AIX 3.1.
-# Copyright (C) 1990, 1991 Free Software Foundation, Inc.
+# Host machine: IBM RS/6000 running AIX 3.2.
+# Copyright 1990, 1991, 1992 Free Software Foundation, Inc.
# This file is part of GDB.
@@ -17,7 +17,7 @@
# along with GDB; see the file COPYING. If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
-XDEPFILES= xcoffexec.o infptrace.o rs6000-xdep.o
+XDEPFILES= infptrace.o rs6000-xdep.o
XM_FILE= xm-rs6000.h
# Prevent gcc from being confused. This actually belongs in CC...
# MH_CFLAGS = -bnodelcsect
@@ -26,3 +26,7 @@ XM_FILE= xm-rs6000.h
# incompatible versions of malloc if we use GNU malloc ...
MMALLOC_LIB =
MMALLOC_DISABLE = -DNO_MMALLOC
+
+# A bug in the AIX 3.2 libc.a results in unresolved references for .scalb and
+# .finite becuase we call ldexp. Circumvent by adding -lm. FIXME, IBM.
+XM_CLIBS= -lm
diff --git a/gdb/config/rs6000.mt b/gdb/config/rs6000.mt
index a818fea..2d66916 100644
--- a/gdb/config/rs6000.mt
+++ b/gdb/config/rs6000.mt
@@ -17,6 +17,5 @@
# along with GDB; see the file COPYING. If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
-#TDEPFILES= exec.o rs6k-pinsn.o rs6k-tdep.o
-TDEPFILES= rs6000-pinsn.o rs6000-tdep.o xcoffsolib.o
+TDEPFILES= rs6000-pinsn.o rs6000-tdep.o xcoffsolib.o xcoffexec.o
TM_FILE= tm-rs6000.h