ruiu added a comment. You shouldn't have dropped this patch because mine doesn't include the code to add 0xcc to end of each PLT entry. We still need that for PLT entries that's larger than one page. https://reviews.llvm.org/D44775