[all-commits] [llvm/llvm-project] aff950: [ELF] Support a few more SPARCv9 relocations

LemonBoy via All-commits all-commits at lists.llvm.org
Fri Apr 17 08:14:30 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: aff950e95d4a0b09fa8629e7358e5e06ea2ceb87
      https://github.com/llvm/llvm-project/commit/aff950e95d4a0b09fa8629e7358e5e06ea2ceb87
  Author: LemonBoy <thatlemon at gmail.com>
  Date:   2020-04-17 (Fri, 17 Apr 2020)

  Changed paths:
    M lld/ELF/Arch/SPARCV9.cpp
    M lld/ELF/Driver.cpp
    M lld/ELF/InputSection.cpp
    M lld/ELF/ScriptParser.cpp
    A lld/test/ELF/emulation-sparc.s
    A lld/test/ELF/sparcv9-reloc.s
    A lld/test/ELF/sparcv9-tls-le.s

  Log Message:
  -----------
  [ELF] Support a few more SPARCv9 relocations

Implemented a bunch of relocations found in binaries with medium/large code model and the Local-Exec TLS model. The binaries link and run fine in Qemu.
In addition, the emulation `elf64_sparc` is now recognized.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D77672




More information about the All-commits mailing list