forked from Imagelibrary/binutils-gdb
* tm-68k.h: Put declaration of ext_format_68881 outside the macros.
This commit is contained in:
@@ -147,13 +147,15 @@ read_memory_integer (read_register (SP_REGNUM), 4)
|
||||
|
||||
#define REGISTER_CONVERTIBLE(N) (((unsigned)(N) - FP0_REGNUM) < 8)
|
||||
|
||||
/* Put the declaration out here because if it's in the macros, PCC
|
||||
will complain. */
|
||||
extern struct ext_format ext_format_68881 [];
|
||||
|
||||
/* Convert data from raw format for register REGNUM
|
||||
to virtual format for register REGNUM. */
|
||||
|
||||
#define REGISTER_CONVERT_TO_VIRTUAL(REGNUM,FROM,TO) \
|
||||
{ \
|
||||
extern struct ext_format ext_format_68881 []; \
|
||||
\
|
||||
if ((REGNUM) >= FP0_REGNUM && (REGNUM) < FPC_REGNUM) \
|
||||
ieee_extended_to_double (ext_format_68881, (FROM), (TO)); \
|
||||
else \
|
||||
@@ -165,8 +167,6 @@ read_memory_integer (read_register (SP_REGNUM), 4)
|
||||
|
||||
#define REGISTER_CONVERT_TO_RAW(REGNUM,FROM,TO) \
|
||||
{ \
|
||||
extern struct ext_format ext_format_68881 []; \
|
||||
\
|
||||
if ((REGNUM) >= FP0_REGNUM && (REGNUM) < FPC_REGNUM) \
|
||||
double_to_ieee_extended (ext_format_68881, (FROM), (TO)); \
|
||||
else \
|
||||
|
||||
Reference in New Issue
Block a user