[PATCH] D22689: [ELF] - Linkerscript: implemented output section [address] attribute.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 23 04:00:43 PDT 2016


ruiu accepted this revision.
ruiu added a comment.
This revision is now accepted and ready to land.

LGTM


================
Comment at: ELF/LinkerScript.cpp:830
@@ +829,3 @@
+
+  if (peek() != ":")
+    Cmd->AddrExpr = readSectionsCommandExpr();
----------------
Please add a comment.

  // Read an address expression.
  // https://sourceware.org/binutils/docs/ld/Output-Section-Address.html#Output-Section-Address


https://reviews.llvm.org/D22689





More information about the llvm-commits mailing list