[PATCH] D61720: [PPC64] Define getThunkSectionSpacing() based on the range of R_PPC64_REL24

Sean Fertile via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 9 08:24:35 PDT 2019


sfertile accepted this revision.
sfertile added a comment.
This revision is now accepted and ready to land.

> The "simplest" number 0x2000000 works no worse than other numbers so I'll just use it.

That is pretty reasonable. LGTM.



================
Comment at: test/ELF/ppc64-call-reach.s:68
 
+# Each call now branches to a thunk, and although it is printed as positive
+# the offset is interpreted as a signed 26 bit value so 67108812 is actually
----------------
This comment is out of date and can be removed. 


Repository:
  rLLD LLVM Linker

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61720/new/

https://reviews.llvm.org/D61720





More information about the llvm-commits mailing list