ruiu added a comment. Can you create working x32 executables with this patch? I expected a small change, but this is smaller than I imagined. For example, it would create PLTs exactly the same as the x86-64 ABI. I'm wondering if it was expected. Repository: rL LLVM http://reviews.llvm.org/D22268