atanasyan added a comment. Probably we need to implement something like `_bfd_elf_eh_frame_section_offset` from BFD library to convert absolute relocations into relative ones. BTW look at https://reviews.llvm.org/D13104 Repository: rL LLVM https://reviews.llvm.org/D43185