[PATCH] D47602: Correct aligment computation for shared object symbols

Han Shen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 1 17:33:39 PDT 2018


shenhan added inline comments.


================
Comment at: test/ELF/copy-relocation-zero-abs-addr.s:15
+_start:
+  movl $5, foo
+
----------------
pcc wrote:
> I think this is still missing a test showing that a non-`SHN_ABS` symbol with `st_value`=0 will be aligned using the section's `sh_addralign`.
Thanks. Added test case new copy-relocation-zero-nonabs-addr.s.


https://reviews.llvm.org/D47602





More information about the llvm-commits mailing list