1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-21 23:27:39 +01:00

Revert parts of 68a2910

The check breaks a few tests when used with gold.
This commit is contained in:
Arun Sharma 2015-09-07 17:58:08 -07:00
parent 396b6c7ab7
commit 923fa78e79

View file

@ -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;
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)
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;
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)
return ret;