mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 09:38:57 +00:00
* i387-tdep.c, i386-tdep.c i386v-nat.c, i386aix-nat.c,
i386m3-nat.c, config/m68k/tm-m68k.h, i960-tdep.c config/i960/tm-i960.h, remote-nindy.c, config/m88k/tm-m88k.h, m88k-tdep.c: Use floatformat.h instead of ieee-float.h. * sparc-tdep.c: Remove now-obsolete ieee-float.h stuff * findvar.c: Update comment regarding ieee-float.h.
This commit is contained in:
@@ -22,7 +22,12 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
#include "inferior.h"
|
||||
#include "gdbcore.h"
|
||||
#include "target.h"
|
||||
<<<<<<< i386-tdep.c
|
||||
#include "floatformat.h"
|
||||
||||||| 1.26
|
||||
=======
|
||||
#include "symtab.h"
|
||||
>>>>>>> 1.27
|
||||
|
||||
static long
|
||||
i386_get_frame_setup PARAMS ((int));
|
||||
@@ -618,12 +623,11 @@ i386_extract_return_value(type, regbuf, valbuf)
|
||||
{
|
||||
if (TYPE_CODE_FLT == TYPE_CODE(type))
|
||||
{
|
||||
extern struct ext_format ext_format_i387;
|
||||
double d;
|
||||
/* 387 %st(0), gcc uses this */
|
||||
ieee_extended_to_double (&ext_format_i387,
|
||||
®buf[REGISTER_BYTE(FP0_REGNUM)],
|
||||
&d);
|
||||
floatformat_to_double (&floatformat_i387_ext,
|
||||
®buf[REGISTER_BYTE(FP0_REGNUM)],
|
||||
&d);
|
||||
store_floating (valbuf, TYPE_LENGTH (type), d);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user