diff options
Diffstat (limited to 'gdb/config/mips/tm-mips.h')
-rw-r--r-- | gdb/config/mips/tm-mips.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/config/mips/tm-mips.h b/gdb/config/mips/tm-mips.h index 488322c..741f285 100644 --- a/gdb/config/mips/tm-mips.h +++ b/gdb/config/mips/tm-mips.h @@ -225,7 +225,7 @@ void mips_register_convert_to_raw (struct type *virtual_type, int reg_nr, between memory and register formats. */ #define REGISTER_CONVERT_TO_TYPE(n, type, buffer) \ - do {if (TARGET_BYTE_ORDER == BIG_ENDIAN \ + do {if (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG \ && REGISTER_RAW_SIZE (n) == 4 \ && (n) >= FP0_REGNUM && (n) < FP0_REGNUM + 32 \ && TYPE_CODE(type) == TYPE_CODE_FLT \ @@ -236,7 +236,7 @@ void mips_register_convert_to_raw (struct type *virtual_type, int reg_nr, memcpy (((char *)(buffer)), __temp, 4); }} while (0) #define REGISTER_CONVERT_FROM_TYPE(n, type, buffer) \ - do {if (TARGET_BYTE_ORDER == BIG_ENDIAN \ + do {if (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG \ && REGISTER_RAW_SIZE (n) == 4 \ && (n) >= FP0_REGNUM && (n) < FP0_REGNUM + 32 \ && TYPE_CODE(type) == TYPE_CODE_FLT \ |