ruiu added a comment. In what situation you would want to put both .got and .got.plt to a .got section? I mean, if you want to handle .got { *(.got) } we can just ignore such commands. Repository: rL LLVM https://reviews.llvm.org/D25627