projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix an inline asm pasto from 117667; was preventing
[oota-llvm.git]
/
lib
/
CodeGen
/
TargetLoweringObjectFileImpl.cpp
diff --git
a/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
b/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
index cb53118ab549da21b0b31e90ce20accdd82477b7..6e94a13a89b8a64af57ab83369aef4b19d4d9641 100644
(file)
--- a/
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+++ b/
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
@@
-952,6
+952,7
@@
getCOFFSectionFlags(SectionKind K) {
else if (K.isText())
Flags |=
COFF::IMAGE_SCN_MEM_EXECUTE |
+ COFF::IMAGE_SCN_MEM_READ |
COFF::IMAGE_SCN_CNT_CODE;
else if (K.isBSS ())
Flags |=