[PATCH] D24298: [ELF] Linkerscript: Implement LOADADDR
    George Rimar via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Sep 26 05:51:15 PDT 2016
    
    
  
grimar added a comment.
Sample of use from the wild:
https://searchcode.com/file/51551302/arch/x86_64/kernel/vmlinux.lds.S
================
Comment at: test/ELF/linkerscript/loadaddr.s:14
@@ +13,3 @@
+# RUN:  ddd_lma = LOADADDR(.ddd);  \
+# RUN:  txt_lma = LOADADDR(.text); \
+# RUN: }" > %t.script
----------------
You probably want to check LOADADDR(xxx), where xxx - section that does not exist.
https://reviews.llvm.org/D24298
    
    
More information about the llvm-commits
mailing list