[PATCH] D91993: [ELF] Don't relax R_X86_64_GOTPCRELX if addend != -4

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 25 00:29:34 PST 2020


MaskRay added inline comments.


================
Comment at: lld/test/ELF/x86-64-gotpc-offset.s:1
+# REQUIRES: x86
+# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o
----------------
grimar wrote:
> We have `x86-64-gotpc-relax.s` test case for testing relaxations. I think this test should live there?
That file is mainly about different instructions... We can use a new file for offsets, I think ....


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D91993



More information about the llvm-commits mailing list