END_RELOC_NUMBERS (R_LARCH_count)
/* Processor specific flags for the ELF header e_flags field. */
-#define EF_LOONGARCH_ABI_ILP32 0b01
-#define EF_LOONGARCH_ABI_LP64 0b11
-#define EF_LOONGARCH_ABI_MASK 0b11
-
-#define EF_LOONGARCH_FLOAT_ABI_SOFT 0b001100
-#define EF_LOONGARCH_FLOAT_ABI_SINGLE 0b001000
-#define EF_LOONGARCH_FLOAT_ABI_DOUBLE 0b000000
-#define EF_LOONGARCH_FLOAT_ABI_MASK 0b111100
+#define EF_LOONGARCH_ABI_ILP32 0x1
+#define EF_LOONGARCH_ABI_LP64 0x3
+#define EF_LOONGARCH_ABI_MASK 0x3
+
+#define EF_LOONGARCH_FLOAT_ABI_SOFT 0x0c
+#define EF_LOONGARCH_FLOAT_ABI_SINGLE 0x08
+#define EF_LOONGARCH_FLOAT_ABI_DOUBLE 0x00
+#define EF_LOONGARCH_FLOAT_ABI_MASK 0x3c
#define EF_LOONGARCH_IS_LP64(abi) \
((abi & EF_LOONGARCH_ABI_MASK) == EF_LOONGARCH_ABI_LP64)