c7e460b189
This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/binutils.git#88880dcb0579533015ebfa0bdbb2ae5999b9f6e0
25 lines
784 B
Diff
25 lines
784 B
Diff
--- binutils.orig/bfd/dwarf2.c 2021-01-25 11:26:26.761405305 +0000
|
|
+++ binutils-2.35.1/bfd/dwarf2.c 2021-01-25 11:28:51.838572824 +0000
|
|
@@ -3252,9 +3252,11 @@ read_rnglists (struct comp_unit *unit, s
|
|
low_pc = base_address;
|
|
low_pc += _bfd_safe_read_leb128 (abfd, rngs_ptr, &bytes_read,
|
|
FALSE, rngs_end);
|
|
+ rngs_ptr += bytes_read;
|
|
high_pc = base_address;
|
|
high_pc += _bfd_safe_read_leb128 (abfd, rngs_ptr, &bytes_read,
|
|
FALSE, rngs_end);
|
|
+ rngs_ptr += bytes_read;
|
|
break;
|
|
|
|
case DW_RLE_start_end:
|
|
@@ -3274,9 +3276,6 @@ read_rnglists (struct comp_unit *unit, s
|
|
return FALSE;
|
|
}
|
|
|
|
- if ((low_pc == 0 && high_pc == 0) || low_pc == high_pc)
|
|
- return FALSE;
|
|
-
|
|
if (!arange_add (unit, arange, low_pc, high_pc))
|
|
return FALSE;
|
|
}
|