[PATCH] D22674: [ELF] - Linkerscript: implemented ALIGN modificatior of output sections.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 25 14:15:05 PDT 2016


ruiu added a comment.

Instead of adding new code to the function, can you create a new function that processes only ALIGN option?


================
Comment at: ELF/LinkerScript.cpp:664-665
@@ -652,1 +663,4 @@
 
+  if (peek() == "ALIGN")
+    readAlign(Cmd);
+
----------------
  if (skip("ALIGN"))
    readAlign(Cmd);


https://reviews.llvm.org/D22674





More information about the llvm-commits mailing list