[PATCH] D23603: [ELF] - Linkerscript: merge section attributes when create output section.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 22 02:48:40 PDT 2016


ruiu added inline comments.

================
Comment at: ELF/OutputSections.cpp:1830
@@ -1826,1 +1829,3 @@
+  uintX_t Flags = ScriptConfig->HasContents ? 0 : H->sh_flags & ~SHF_GROUP &
+                                                      ~SHF_COMPRESSED;
 
----------------
This looks pretty tricky. Do you think you can make a change to not use OutputSectionFactory in LinkerScript first?


https://reviews.llvm.org/D23603





More information about the llvm-commits mailing list