[PATCH] D13566: [ELF2] PPC64 needs to delay local-call relocations until after the function-descriptor values are known

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 8 13:46:00 PDT 2015


ruiu added a comment.

If my understanding is correct, the problem is that when we apply relocations, relocations in .opd may not have been applied yes, so you have to backfill relocations that refer function descriptors in .opd.

If so, it seems to me that you can solve the problem by applying all relocations in .opd first and then rest,. Doesn't this work?


http://reviews.llvm.org/D13566





More information about the llvm-commits mailing list