Fix build

This commit is contained in:
pancake 2012-10-30 17:19:53 +01:00
parent c9aed523f9
commit ea33e9af8a
2 changed files with 9 additions and 2 deletions

View File

@ -28,6 +28,8 @@
#include "./arm.h"
#include "./elfarm.h"
#include "opintl.h"
#include <string.h>
//#include "safe-ctype.h"
//#include "floatformat.h"
@ -2909,14 +2911,14 @@ print_insn_neon (struct disassemble_info *info, long given, bfd_boolean thumb)
valbytes[2] = (value >> 16) & 0xff;
valbytes[3] = (value >> 24) & 0xff;
func (stream, "XXX: TODO floatformat_to_double\n");
#if XXX
floatformat_to_double
(& floatformat_ieee_single_little, valbytes,
& fvalue);
#endif
func (stream, " XXX #%.7g\t; 0x%.8lx", fvalue,
value);
#endif
}
else
func (stream, "#%ld\t; 0x%.8lx",

View File

@ -285,3 +285,8 @@ typedef struct
} while (0)
#define ARM_FEATURE(core, coproc) {(core), (coproc)}
#define CONST_STRNEQ(STR1,STR2) (strncmp ((STR1), (STR2), sizeof (STR2) - 1) == 0)
#define ISASCII(x) ((x)>10&&(x)<127)
#define ISSPACE(c) (ISASCII (c) && c==' ')
#define abort(x) //