+2021-06-07 Jan Beulich <jbeulich@suse.com>
+
+ * dwarf2.c (read_ranges, read_rnglists): Add u suffix to constant.
+
2021-06-02 Alan Modra <amodra@gmail.com>
* elf-attrs.c (_bfd_elf_parse_attributes): Break out of loop if
bfd_vma high_pc;
/* PR 17512: file: 62cada7d. */
- if (2 * unit->addr_size > (size_t) (ranges_end - ranges_ptr))
+ if (2u * unit->addr_size > (size_t) (ranges_end - ranges_ptr))
return false;
low_pc = read_address (unit, &ranges_ptr, ranges_end);
break;
case DW_RLE_start_end:
- if (2 * unit->addr_size > (size_t) (rngs_end - rngs_ptr))
+ if (2u * unit->addr_size > (size_t) (rngs_end - rngs_ptr))
return false;
low_pc = read_address (unit, &rngs_ptr, rngs_end);
high_pc = read_address (unit, &rngs_ptr, rngs_end);
+2021-06-07 Jan Beulich <jbeulich@suse.com>
+
+ * dwarf.c (display_debug_aranges): Add u suffix to constant.
+
2021-05-29 Alan Modra <amodra@gmail.com>
* objdump (usage): Add missing \n.
start = end_ranges;
- while (2 * address_size <= (size_t) (start - addr_ranges))
+ while (2u * address_size <= (size_t) (start - addr_ranges))
{
SAFE_BYTE_GET_AND_INC (address, addr_ranges, address_size, start);
SAFE_BYTE_GET_AND_INC (length, addr_ranges, address_size, start);