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

hfinkel@anl.gov via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 12 14:34:38 PDT 2015


hfinkel added inline comments.

================
Comment at: ELF/OutputSections.h:290-291
@@ -289,2 +289,4 @@
   static OutputSection<ELFT> *Bss;
+  static OutputSection<ELFT> *Opd;
+  static uint8_t *OpdBuf;
   static PltSection<ELFT> *Plt;
----------------
ruiu wrote:
> Alright, I found that not look very good. How about adding these two fields to PPC64TargetInfo?
I'll try that.

FYI: PPC64, Itanium and HPPA seem to use the .opd section. Thus, while theoretically generic, I suspect we can consider this to be PPC64-specific in practice.



http://reviews.llvm.org/D13566





More information about the llvm-commits mailing list