llvm-project/llvm/test/MC/Sparc
Rainer Orth a584b1a4d1 [Sparc] Implement BFD_RELOC_NONE
`instrprof-icall-promo.test` `FAIL`s on Solaris/sparcv9:

  Profile-sparc :: instrprof-icall-promo.test
  Profile-sparcv9 :: instrprof-icall-promo.test

when compiling `compiler-rt/test/profile/Inputs/instrprof-icall-promo_2.cpp` with

  fatal error: error in backend: Relocation for CG Profile could not be created: unknown relocation name

This happens because the Sparc backend doesn't implement `BFD_RELOC_NONE`.
This patch fixes that, following what X86 does.

Tested on `sparcv9-sun-solaris2.11`.

Differential Revision: https://reviews.llvm.org/D118136
2022-01-28 10:44:22 +01:00
..
leon-instructions.s
leon-pwrpsr-instruction.s
lit.local.cfg
reloc-directive.s [Sparc] Implement BFD_RELOC_NONE 2022-01-28 10:44:22 +01:00
sparc-alu-instructions.s
sparc-asm-errors.s
sparc-assembly-exprs.s
sparc-atomic-instructions.s
sparc-coproc.s
sparc-ctrl-instructions.s
sparc-directive-xword.s
sparc-directives.s
sparc-fp-instructions.s
sparc-little-endian.s
sparc-mem-instructions.s
sparc-misc-instructions.s
sparc-nop-data.s
sparc-pic.s
sparc-relocations.s
sparc-special-registers.s
sparc-synthetic-instructions.s
sparc-tls-relocations.s
sparc-traps.s
sparc-v9-traps.s
sparc-vis.s
sparc64-alu-instructions.s
sparc64-ctrl-instructions.s
sparcv8-instructions.s
sparcv9-atomic-instructions.s
sparcv9-instructions.s [SPARC] Recognize the prefetch instruction 2021-10-20 10:59:01 +02:00