[PATCH] D18591: [ELF] - Separate assignAddressesScript method
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 30 02:44:26 PDT 2016
grimar added inline comments.
================
Comment at: ELF/Writer.cpp:1417
@@ +1416,3 @@
+template <class ELFT> void Writer<ELFT>::assignAddressesScript() {
+ Out<ELFT>::ElfHeader->setSize(sizeof(Elf_Ehdr));
+ size_t PhdrSize = sizeof(Elf_Phdr) * Phdrs.size();
----------------
What is changed here in compare with assignAddresses() is:
1) There is no PageAlign relative stuff
2) uintX_t VA = 0
http://reviews.llvm.org/D18591
More information about the llvm-commits
mailing list