[PATCH] D13565: [ELF2] Allow PPC64 to add the TOC-restore after .plt-based relocations

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 8 10:51:19 PDT 2015


ruiu added a comment.

What if the linker has to write an instruction to restore the register but there's no space at end of function? This patch simply don't do anything for such functions, but if that works without the instruction, then why do we need that in the first place?


http://reviews.llvm.org/D13565





More information about the llvm-commits mailing list