summaryrefslogtreecommitdiffstats
path: root/lld/lib/Core/DefinedAtom.cpp
diff options
context:
space:
mode:
authorShankar Easwaran <shankare@codeaurora.org>2013-09-04 00:51:42 +0000
committerShankar Easwaran <shankare@codeaurora.org>2013-09-04 00:51:42 +0000
commitb85f1857a16634315be63a45925b491186311d3a (patch)
tree7469deabd510ebc2c2e6f91f4cedb498762e9509 /lld/lib/Core/DefinedAtom.cpp
parent8ccf6da056e157521492d8f7ecc108a5afc61ecd (diff)
downloadbcm5719-llvm-b85f1857a16634315be63a45925b491186311d3a.tar.gz
bcm5719-llvm-b85f1857a16634315be63a45925b491186311d3a.zip
[lld][ELF] Emit note sections
Emit note sections if the input contains a note section. Also emit a note segment. llvm-svn: 189896
Diffstat (limited to 'lld/lib/Core/DefinedAtom.cpp')
-rw-r--r--lld/lib/Core/DefinedAtom.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lld/lib/Core/DefinedAtom.cpp b/lld/lib/Core/DefinedAtom.cpp
index 36bf5105c71..5f827690314 100644
--- a/lld/lib/Core/DefinedAtom.cpp
+++ b/lld/lib/Core/DefinedAtom.cpp
@@ -41,6 +41,7 @@ DefinedAtom::ContentPermissions DefinedAtom::permissions(ContentType type) {
case typeLiteral16:
case typeDTraceDOF:
case typeCompactUnwindInfo:
+ case typeNote:
return permR__;
case typeData:
OpenPOWER on IntegriCloud