forked from len0rd/rockbox
30 lines
1.3 KiB
Diff
30 lines
1.3 KiB
Diff
diff -ur binutils-2.26.X/opcodes/mips-formats.h binutils-2.26.1/opcodes/mips-formats.h
|
|
--- binutils-2.26.X/opcodes/mips-formats.h 2015-11-13 03:27:42.000000000 -0500
|
|
+++ binutils-2.26.1/opcodes/mips-formats.h 2025-04-28 14:04:50.949355647 -0400
|
|
@@ -46,7 +46,7 @@
|
|
#define MAPPED_INT(SIZE, LSB, MAP, PRINT_HEX) \
|
|
{ \
|
|
typedef char ATTRIBUTE_UNUSED \
|
|
- static_assert[(1 << (SIZE)) == ARRAY_SIZE (MAP)]; \
|
|
+ static_assert_3[(1 << (SIZE)) == ARRAY_SIZE (MAP)]; \
|
|
static const struct mips_mapped_int_operand op = { \
|
|
{ OP_MAPPED_INT, SIZE, LSB }, MAP, PRINT_HEX \
|
|
}; \
|
|
@@ -80,7 +80,7 @@
|
|
#define MAPPED_REG(SIZE, LSB, BANK, MAP) \
|
|
{ \
|
|
typedef char ATTRIBUTE_UNUSED \
|
|
- static_assert[(1 << (SIZE)) == ARRAY_SIZE (MAP)]; \
|
|
+ static_assert_4[(1 << (SIZE)) == ARRAY_SIZE (MAP)]; \
|
|
static const struct mips_reg_operand op = { \
|
|
{ OP_REG, SIZE, LSB }, OP_REG_##BANK, MAP \
|
|
}; \
|
|
@@ -90,7 +90,7 @@
|
|
#define OPTIONAL_MAPPED_REG(SIZE, LSB, BANK, MAP) \
|
|
{ \
|
|
typedef char ATTRIBUTE_UNUSED \
|
|
- static_assert[(1 << (SIZE)) == ARRAY_SIZE (MAP)]; \
|
|
+ static_assert_5[(1 << (SIZE)) == ARRAY_SIZE (MAP)]; \
|
|
static const struct mips_reg_operand op = { \
|
|
{ OP_OPTIONAL_REG, SIZE, LSB }, OP_REG_##BANK, MAP \
|
|
}; \
|