[PATCH] D18731: ELF: Create dynamic symbols for symbol aliases of copy relocations.
Rafael Ávila de Espíndola via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 4 15:11:54 PDT 2016
rafael added inline comments.
================
Comment at: ELF/Writer.cpp:765
@@ +764,3 @@
+ SSInFile.MustBeInDynSym = true;
+ if (SSInFile.Sym.getBinding() == ELF::STB_GLOBAL)
+ CopyRelSS = &SSInFile;
----------------
Why do you need this?
Can you leave it out and just pass SS to addReloc?
http://reviews.llvm.org/D18731
More information about the llvm-commits
mailing list