[AArch64] Use "must" rather than "should" in error messages
[deliverable/binutils-gdb.git] / opcodes / sh-opc.h
index b2bbbfdc489c42716730e7974d9792cb29fe62ee..13bf5c74206104ce8384a230878d431784e65156 100644 (file)
 
 #include "bfd.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 typedef enum
   {
     HEX_0,
@@ -230,7 +234,7 @@ sh_dsp_reg_nums;
 #define arch_sh_no_co     (1 << 28)  /* Neither FPU nor DSP co-processor.  */
 #define arch_sh_sp_fpu    (1 << 29)  /* Single precision FPU.  */
 #define arch_sh_dp_fpu    (1 << 30)  /* Double precision FPU.  */
-#define arch_sh_has_dsp           (1 << 31)
+#define arch_sh_has_dsp           (1u << 31)
 #define arch_sh_co_mask    MASK (28, 31)
 
 
@@ -1197,4 +1201,8 @@ const sh_opcode_info sh_table[] =
 { 0, {0}, {0}, 0 }
 };
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif
This page took 0.025259 seconds and 4 git commands to generate.