* config/i386/tm-linux.h (TARGET_ANALYZE_FLOATING): Remove. It's
no longer used. Also remove associated FIXME.
This commit is contained in:
parent
a1ab1d2aa3
commit
e3c6d36d49
2 changed files with 6 additions and 29 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2001-03-17 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
|
* config/i386/tm-linux.h (TARGET_ANALYZE_FLOATING): Remove. It's
|
||||||
|
no longer used. Also remove associated FIXME.
|
||||||
|
|
||||||
2001-03-16 Andrew Cagney <ac131313@redhat.com>
|
2001-03-16 Andrew Cagney <ac131313@redhat.com>
|
||||||
|
|
||||||
* gdbarch.sh: Add classes ``m'' and ``M'' for pure multi-arch. Do
|
* gdbarch.sh: Add classes ``m'' and ``M'' for pure multi-arch. Do
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Definitions to target GDB to GNU/Linux on 386.
|
/* Definitions to target GDB to GNU/Linux on 386.
|
||||||
Copyright 1992, 1993, 1995, 1996, 1998, 1999, 2000
|
Copyright 1992, 1993, 1995, 1996, 1998, 1999, 2000, 2001
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GDB.
|
This file is part of GDB.
|
||||||
|
@ -35,34 +35,6 @@
|
||||||
extern struct link_map_offsets *i386_linux_svr4_fetch_link_map_offsets (void);
|
extern struct link_map_offsets *i386_linux_svr4_fetch_link_map_offsets (void);
|
||||||
#define SVR4_FETCH_LINK_MAP_OFFSETS() i386_linux_svr4_fetch_link_map_offsets ()
|
#define SVR4_FETCH_LINK_MAP_OFFSETS() i386_linux_svr4_fetch_link_map_offsets ()
|
||||||
|
|
||||||
/* FIXME: kettenis/2000-03-26: We should get rid of this last piece of
|
|
||||||
Linux-specific `long double'-support code, probably by adding code
|
|
||||||
to valprint.c:print_floating() to recognize various extended
|
|
||||||
floating-point formats. */
|
|
||||||
|
|
||||||
#if defined(HAVE_LONG_DOUBLE) && defined(HOST_I386)
|
|
||||||
/* The host and target are i386 machines and the compiler supports
|
|
||||||
long doubles. Long doubles on the host therefore have the same
|
|
||||||
layout as a 387 FPU stack register. */
|
|
||||||
|
|
||||||
#define TARGET_ANALYZE_FLOATING \
|
|
||||||
do \
|
|
||||||
{ \
|
|
||||||
unsigned expon; \
|
|
||||||
\
|
|
||||||
low = extract_unsigned_integer (valaddr, 4); \
|
|
||||||
high = extract_unsigned_integer (valaddr + 4, 4); \
|
|
||||||
expon = extract_unsigned_integer (valaddr + 8, 2); \
|
|
||||||
\
|
|
||||||
nonnegative = ((expon & 0x8000) == 0); \
|
|
||||||
is_nan = ((expon & 0x7fff) == 0x7fff) \
|
|
||||||
&& ((high & 0x80000000) == 0x80000000) \
|
|
||||||
&& (((high & 0x7fffffff) | low) != 0); \
|
|
||||||
} \
|
|
||||||
while (0)
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* The following works around a problem with /usr/include/sys/procfs.h */
|
/* The following works around a problem with /usr/include/sys/procfs.h */
|
||||||
#define sys_quotactl 1
|
#define sys_quotactl 1
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue