summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-09-06 17:46:43 +0000
committerRui Ueyama <ruiu@google.com>2016-09-06 17:46:43 +0000
commit25150e8b0d9b672500d5e1b0894388c86695a53f (patch)
tree85e41e42ddc42ad38744493deeb8bf9b9d9c4bb1
parenta2cd413129dc475b66173dd44dbacc6ff046aadc (diff)
downloadbcm5719-llvm-25150e8b0d9b672500d5e1b0894388c86695a53f.tar.gz
bcm5719-llvm-25150e8b0d9b672500d5e1b0894388c86695a53f.zip
Add a comment.
llvm-svn: 280724
-rw-r--r--lld/ELF/LinkerScript.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lld/ELF/LinkerScript.cpp b/lld/ELF/LinkerScript.cpp
index a83de88489a..8634229a76f 100644
--- a/lld/ELF/LinkerScript.cpp
+++ b/lld/ELF/LinkerScript.cpp
@@ -981,6 +981,10 @@ Expr ScriptParser::readAssert() {
};
}
+// Reads a FILL(expr) command. We handle the FILL command as an
+// alias for =fillexp section attribute, which is different from
+// what GNU linkers do.
+// https://sourceware.org/binutils/docs/ld/Output-Section-Data.html
std::vector<uint8_t> ScriptParser::readFill() {
expect("(");
std::vector<uint8_t> V = readOutputSectionFiller(next());
OpenPOWER on IntegriCloud