[PATCH] D61720: [PPC64] Define getThunkSectionSpacing() based on the range of R_PPC64_REL24
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 9 02:03:56 PDT 2019
MaskRay added a comment.
Number of thunks with difference choices of getThunkSectionSpacing:
A
0: 79692
0x2000000-0x10000: 78449
0x2000000-0xc000: 78336
0x2000000-0x8000: 78332
0x2000000-0x4000: 78386
0x2000000-0x2000: 78365
0x2000000-0x1000: 78345
0x2000000-0x0000: 78320
0x2000000+0x4000: 78334
B
0: 112315
0x2000000-0xc000: 112474
0x2000000-0x8000: 112333
0x2000000-0x4000: 111937
0x2000000-0x0000: 111838
0x2000000+0x4000: 111851
0x2000000+0x8000: 111847
The "simplest" number 0x2000000 works no worse than other numbers so I'll just use it.
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