[PATCH] D111803: [LLD][TEST] Add a test case for negative addends for R_X86_64_PC32 relocations

Owen Reynolds via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 15 07:32:04 PDT 2021


gbreynoo updated this revision to Diff 379997.
gbreynoo added a comment.

As suggested by Maskray I have renamed `x86-64-reloc-32-fpic.s` and added a R_X86_64_32 equivalent of the test. To be consistent `x86-64-reloc-pc32-fpic.s` was also renamed and the new test case added.
Note that git doesn't appear to detect the renames, it may be best for me to commit the code change and rename separately?


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

https://reviews.llvm.org/D111803

Files:
  lld/test/ELF/x86-64-reloc-32-fpic.s
  lld/test/ELF/x86-64-reloc-32.s
  lld/test/ELF/x86-64-reloc-pc32-fpic.s
  lld/test/ELF/x86-64-reloc-pc32.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111803.379997.patch
Type: text/x-patch
Size: 3700 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211015/8286772c/attachment.bin>


More information about the llvm-commits mailing list