[LLD][TEST] Add testing for negative addends for R_X86_64_32 and R_X86_64_PC32 reloca...
authorgbreynoo <Owen.Reynolds@sony.com>
Mon, 18 Oct 2021 15:38:33 +0000 (16:38 +0100)
committergbreynoo <Owen.Reynolds@sony.com>
Mon, 18 Oct 2021 15:38:33 +0000 (16:38 +0100)
commitf2c144fc1866c00e88fb923ceccf158060fe03d7
tree356a595dcd74e8e690b64900a12f2752cdf30598
parent20211b32612bb6dc1dda29b75552731b38b443d2
[LLD][TEST] Add testing for negative addends for R_X86_64_32 and R_X86_64_PC32 relocations

This change is derived from a test case we have locally but I could not
see an equivalent in LLD's testing.

Differential Revision: https://reviews.llvm.org/D111803
lld/test/ELF/x86-64-reloc-32-fpic.s [deleted file]
lld/test/ELF/x86-64-reloc-32.s [new file with mode: 0644]
lld/test/ELF/x86-64-reloc-pc32-fpic.s [deleted file]
lld/test/ELF/x86-64-reloc-pc32.s [new file with mode: 0644]