[PATCH] D155732: [MC][COFF][AArch64] Avoid incorrect IMAGE_REL_ARM64_BRANCH26 relocations.

Hiroshi Yamauchi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 19 16:57:24 PDT 2023


hjyamauchi added a comment.

In D155732#4516410 <https://reviews.llvm.org/D155732#4516410>, @efriedma wrote:

>> That sounds like the correct thing to do; if a relocation with an offset isn’t supported by lld (but it is by link.exe), we should fix the linker instead of trying to avoid generating it.
>
> The description sounds like it's also not supported by link.exe? Not sure.

Yes. As far as I can tell, link.exe doesn't support this relocation type with an offset and that matches what lld does.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D155732



More information about the llvm-commits mailing list