[PATCH] D24298: [ELF] Linkerscript: Implement LOADADDR

Eugene Leviant via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 26 06:52:25 PDT 2016


evgeny777 added inline comments.

================
Comment at: test/ELF/linkerscript/loadaddr.s:14
@@ +13,3 @@
+# RUN:  ddd_lma = LOADADDR(.ddd);  \
+# RUN:  txt_lma = LOADADDR(.text); \
+# RUN: }" > %t.script
----------------
grimar wrote:
> You probably want to check LOADADDR(xxx), where xxx - section that does not exist.
Unfortunately this will not work, because empty sections are not fully supported: empty sections which don't contain symbols are simply ignored. I'm making a patch which addresses this problem.


https://reviews.llvm.org/D24298





More information about the llvm-commits mailing list