+2020-03-10 Alan Modra <amodra@gmail.com>
+
+ * som/aout.h (SOM_AUX_ID_MANDATORY, SOM_SPACE_IS_LOADABLE),
+ (SOM_SYMBOL_HIDDEN, SOM_SYMBOL_HAS_LONG_RETURN): Use 1u << 31.
+ * som/lst.h (LST_SYMBOL_HIDDEN): Likewise.
+
2020-03-03 Luis Machado <luis.machado@linaro.org>
* elf/common.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY)
#define COPYRIGHT_AUX_ID 9
/* Aux id flags. */
-#define SOM_AUX_ID_MANDATORY (1 << 31)
+#define SOM_AUX_ID_MANDATORY (1u << 31)
#define SOM_AUX_ID_COPY (1 << 30)
#define SOM_AUX_ID_APPEND (1 << 29)
#define SOM_AUX_ID_IGNORE (1 << 28)
unsigned char init_pointer_quantity[4];
};
-#define SOM_SPACE_IS_LOADABLE (1 << 31)
+#define SOM_SPACE_IS_LOADABLE (1u << 31)
#define SOM_SPACE_IS_DEFINED (1 << 30)
#define SOM_SPACE_IS_PRIVATE (1 << 29)
#define SOM_SPACE_HAS_INTERMEDIATE_CODE (1 << 28)
};
/* Flags fields. */
-#define SOM_SYMBOL_HIDDEN (1 << 31)
+#define SOM_SYMBOL_HIDDEN (1u << 31)
#define SOM_SYMBOL_SECONDARY_DEF (1 << 30)
#define SOM_SYMBOL_TYPE_SH 24
#define SOM_SYMBOL_TYPE_MASK 0x3f
#define SOM_SYMBOL_ARG_RELOC_MASK 0x3ff
/* Info fields. */
-#define SOM_SYMBOL_HAS_LONG_RETURN (1 << 31)
+#define SOM_SYMBOL_HAS_LONG_RETURN (1u << 31)
#define SOM_SYMBOL_NO_RELOCATION (1 << 30)
#define SOM_SYMBOL_IS_COMDAT (1 << 29)
#define SOM_SYMBOL_SYMBOL_INFO_SH 0
};
/* Fields of flags. */
-#define LST_SYMBOL_HIDDEN (1 << 31)
+#define LST_SYMBOL_HIDDEN (1u << 31)
#define LST_SYMBOL_SECONDARY_DEF (1 << 30)
#define LST_SYMBOL_SYMBOL_TYPE_SH 24
#define LST_SYMBOL_SYMBOL_SCOPE_SH 20