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.
This commit is contained in:
John Gilmore 1992-08-29 00:33:47 +00:00
parent 9b280a7f53
commit d26c07d124
2 changed files with 8 additions and 5 deletions

View File

@ -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

View File

@ -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