[PATCH] D34618: [LLD] Add basic 64-bit SPARC support

Mark Kettenis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 26 07:22:07 PDT 2017


kettenis created this revision.
Herald added subscribers: mgorny, emaste, jyknight.

Add support for the most common SPARC relocations.
Make DT_PLTGOT point to the PLT on SPARC.
Mark the PLT as executable on SPARC.

This adds a basic test that creates a SPARV9 executable that invokes the exit system call on OpenBSD.


https://reviews.llvm.org/D34618

Files:
  lld/ELF/Arch/SPARCV9.cpp
  lld/ELF/CMakeLists.txt
  lld/ELF/SyntheticSections.cpp
  lld/ELF/Target.cpp
  lld/ELF/Target.h
  lld/test/ELF/basic-sparcv9.s
  lld/test/lit.cfg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34618.103942.patch
Type: text/x-patch
Size: 14231 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170626/169ba5c8/attachment.bin>


More information about the llvm-commits mailing list