aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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