[PATCH] D34245: [PowerPC] Refine the checking for emiting TOC restore nops and Tail-Call eligibility.

Sean Fertile via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 6 20:35:20 PDT 2017


sfertile marked an inline comment as done.
sfertile added inline comments.


================
Comment at: lib/Target/PowerPC/PPCISelLowering.cpp:4273
+  // large TOC to provide all data addressing needs of a module with a
+  // single TOC. Both gold and ld.bfd (since binutils-2.24) will issue a
+  // relocation overflow error when trying to reach more than 2G from the
----------------
hfinkel wrote:
> What happened before binutils 2.24? 2.24 is only about 3.5 years old.
I don't know. I asked what the behavior of the 2 linkers was if the TOC grows larger then the 32 bit offset, as well as checking that 'module' in the abi text meant entire exe and entire shared-object (rather then just a single object file). I assumed that the behavior change in 2.24 was from generic linker error to specific diagnostic rather then add new toc base --> error. I can follow up though to ensure this is the case.


Repository:
  rL LLVM

https://reviews.llvm.org/D34245





More information about the llvm-commits mailing list