MaskRay added a comment. In D80392#4028011 <https://reviews.llvm.org/D80392#4028011>, @wzssyqa wrote:
> When link with ld.bfd, we get: > > ld/ld-new: .eh_frame_hdr entry overflow > ld/ld-new: final link failed: bad value > > It seems due to the `initial_loc` in the object from LLVM is quite big than > the gcc/gas one. > > initial_loc: 0x100000cd0, vma: 0xe78 I have some notes on https://maskray.me/blog/2020-11-08-stack-unwinding#dwarf-call-frame-information (See https://refspecs.linuxfoundation.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic.pdf) Different targets may use different encoding for the `initial_location` field. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D80392/new/ https://reviews.llvm.org/D80392 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits