[PATCH] D80392: [mips][mc][clang] Use pc-relative relocations in .eh_frame

YunQiang Su via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 5 01:03:59 PST 2023


wzssyqa added a comment.

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




Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80392/new/

https://reviews.llvm.org/D80392



More information about the cfe-commits mailing list