mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-25 08:37:38 +01:00
Revert parts of 68a2910
The check breaks a few tests when used with gold.
This commit is contained in:
parent
396b6c7ab7
commit
923fa78e79
1 changed files with 0 additions and 8 deletions
|
@ -252,10 +252,6 @@ dwarf_extract_proc_info_from_fde (unw_addr_space_t as, unw_accessors_t *a,
|
||||||
*addrp = fde_end_addr = addr + u32val;
|
*addrp = fde_end_addr = addr + u32val;
|
||||||
cie_offset_addr = addr;
|
cie_offset_addr = addr;
|
||||||
|
|
||||||
/* CIE must be within the segment. */
|
|
||||||
if (cie_offset_addr < base)
|
|
||||||
return -UNW_ENOINFO;
|
|
||||||
|
|
||||||
if ((ret = dwarf_reads32 (as, a, &addr, &cie_offset, arg)) < 0)
|
if ((ret = dwarf_reads32 (as, a, &addr, &cie_offset, arg)) < 0)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
|
@ -284,10 +280,6 @@ dwarf_extract_proc_info_from_fde (unw_addr_space_t as, unw_accessors_t *a,
|
||||||
*addrp = fde_end_addr = addr + u64val;
|
*addrp = fde_end_addr = addr + u64val;
|
||||||
cie_offset_addr = addr;
|
cie_offset_addr = addr;
|
||||||
|
|
||||||
/* CIE must be within the segment. */
|
|
||||||
if (cie_offset_addr < base)
|
|
||||||
return -UNW_ENOINFO;
|
|
||||||
|
|
||||||
if ((ret = dwarf_reads64 (as, a, &addr, &cie_offset, arg)) < 0)
|
if ((ret = dwarf_reads64 (as, a, &addr, &cie_offset, arg)) < 0)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue