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

Mark Kettenis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 28 05:30:22 PDT 2017


kettenis added a comment.

In https://reviews.llvm.org/D34618#791976, @fedor.sergeev wrote:

> > support for the most common SPARC relocations
>
> I wonder how did you determine "the most common"?
>  Say, you did implement WDISP19 but skipped WDISP22 and WDISP16.
>  Just curious...


I just added the ones I encountered while linking some (simple) programs on OpenBSD/sparc64. Certainly plan to add more as I encounter them in the future. Supporting additional relocations is easy, but not completely trivial and having an actual example makes it easier to verify you got it right ;).


https://reviews.llvm.org/D34618





More information about the llvm-commits mailing list