[PATCH] D56920: [PPC64] Sort .toc sections accessed with small code model relocs close to the .got
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 21 22:08:48 PST 2019
MaskRay added inline comments.
================
Comment at: ELF/InputFiles.h:133
+ // range relative to the toc pointer [.got, .got + 0xFFFC].
+ bool PPC64SmallCodeModelRelocs = false;
+
----------------
Placing `PPC64SmallCodeModelRelocs` here increases sizeof(InputFile) from 184 to 192. If you place it below `bool JustSymbols = false;`, the size does not change (due to padding).
Repository:
rLLD LLVM Linker
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56920/new/
https://reviews.llvm.org/D56920
More information about the llvm-commits
mailing list