[PATCH] D124794: [LLD][RISCV][NFC] Allow GNU linker to run RISCV LLD tests

Greg McGary via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 2 12:11:36 PDT 2022


gkm created this revision.
gkm added reviewers: reames, luismarques, jrtc27.
Herald added subscribers: sunshaoce, VincentWu, luke957, vkmr, frasercrmck, jdoerfert, evandro, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, arichardson, emaste.
Herald added a project: All.
gkm requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead, eopXD, MaskRay.
Herald added a project: LLVM.

Allow RISC-V LLD tests to run on GNU ld. This is useful for checking
divergences in behavior. We separately define rv32 and rv64
variables for the benefit of sites that might only have installed
one or the other GNU toolchain config.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D124794

Files:
  lld/test/ELF/emulation-riscv.s
  lld/test/ELF/lit.local.cfg
  lld/test/ELF/riscv-attributes.s
  lld/test/ELF/riscv-branch.s
  lld/test/ELF/riscv-call.s
  lld/test/ELF/riscv-elf-flags.s
  lld/test/ELF/riscv-gp-no-sdata.s
  lld/test/ELF/riscv-gp.s
  lld/test/ELF/riscv-hi20-lo12.s
  lld/test/ELF/riscv-ifunc-nonpreemptible.s
  lld/test/ELF/riscv-jal.s
  lld/test/ELF/riscv-pcrel-hilo-error.s
  lld/test/ELF/riscv-pcrel-hilo.s
  lld/test/ELF/riscv-plt.s
  lld/test/ELF/riscv-reloc-64-pic.s
  lld/test/ELF/riscv-reloc-add.s
  lld/test/ELF/riscv-reloc-copy.s
  lld/test/ELF/riscv-reloc-got.s
  lld/test/ELF/riscv-tls-gd.s
  lld/test/ELF/riscv-tls-ie.s
  lld/test/ELF/riscv-tls-ld.s
  lld/test/ELF/riscv-tls-le.s
  lld/test/ELF/riscv-undefined-weak.s
  lld/test/ELF/riscv32-reloc-32-pic.s
  lld/test/ELF/riscv64-reloc-64-pic.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124794.426480.patch
Type: text/x-patch
Size: 35872 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220502/e5ed9102/attachment.bin>


More information about the llvm-commits mailing list