[PATCH] D102985: [lld][ELF][SPARC] Fix GOT-relative relocations

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 23 10:39:27 PDT 2021


MaskRay added a comment.

I think the problem is the existing port is too broken. Some relocation types are clearly not tested. Some GOT/PLT relocations are likely not properly tested.
The bar for the initial check-in was too low I'd say.

I think for a mature port, fixing things incrementally make for good commit history. But I cannot feel similarly for sparcv9 which apparently misses many things.
Personally I like the test organization of `ppc32-*` the most. Not too many tests (x86_64 tends to have the problem that there are too many files) but sufficient coverage is provided.
By looking at the history, you can see that I ensured GOT/PLT and every related things are correct in one commit and we never need to fix the implemented stuff.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102985/new/

https://reviews.llvm.org/D102985



More information about the llvm-commits mailing list