mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 21:41:47 +08:00
fix dbb3fbbb dwarf2.c breakage
m68hc11-elf +FAIL: 68HC12 indexed addressing mode with 5, 9 and 16-bit offsets (indexed12) m68hc12-elf +FAIL: 68HC12 indexed addressing mode with 5, 9 and 16-bit offsets (indexed12) * dwarf2.c (read_rangelist): Correct buffer overflow check Whitespace throughout file.
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
2015-02-15 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* dwarf2.c (read_rangelist): Correct buffer overflow check
|
||||
Whitespace throughout file.
|
||||
|
||||
2015-02-14 Alan Modra <amodra@gmail.com>
|
||||
|
||||
PR ld/17973
|
||||
|
@ -2421,7 +2421,7 @@ read_rangelist (struct comp_unit *unit, struct arange *arange,
|
||||
bfd_vma high_pc;
|
||||
|
||||
/* PR 17512: file: 62cada7d. */
|
||||
if (ranges_ptr + 2 * unit->addr_size >= ranges_end)
|
||||
if (ranges_ptr + 2 * unit->addr_size > ranges_end)
|
||||
return FALSE;
|
||||
|
||||
low_pc = read_address (unit, ranges_ptr, ranges_end);
|
||||
|
Reference in New Issue
Block a user