+2020-08-24 Alan Modra <amodra@gmail.com>
+
+ * readelf.c (dump_section_as_strings) Avoid false positive
+ "may be used uninitialised".
+
2020-08-22 H.J. Lu <hongjiu.lu@intel.com>
PR ld/26382
+2020-08-24 Alan Modra <amodra@gmail.com>
+
+ * config/tc-arm.c (move_or_literal_pool): Avoid false positive
+ "may be used uninitialised".
+ (opcode_lookup): Likewise.
+
2020-08-24 Alan Modra <amodra@gmail.com>
PR 26526
/* Check if on thumb2 it can be done with a mov.w, mvn or
movw instruction. */
unsigned int newimm;
- bfd_boolean isNegated;
+ bfd_boolean isNegated = FALSE;
newimm = encode_thumb32_immediate (v);
- if (newimm != (unsigned int) FAIL)
- isNegated = FALSE;
- else
+ if (newimm == (unsigned int) FAIL)
{
newimm = encode_thumb32_immediate (~v);
- if (newimm != (unsigned int) FAIL)
- isNegated = TRUE;
+ isNegated = TRUE;
}
/* The number can be loaded with a mov.w or mvn
/* Look for unaffixed or special-case affixed mnemonic. */
opcode = (const struct asm_opcode *) str_hash_find_n (arm_ops_hsh, base,
end - base);
+ cond = NULL;
if (opcode)
{
/* step U */