OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
528c0d2
)
give alpha its readonly section. This optimizes alpha, and prevents a
author
Chris Lattner
<sabre@nondot.org>
Sat, 1 Aug 2009 23:44:04 +0000
(23:44 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 1 Aug 2009 23:44:04 +0000
(23:44 +0000)
testsuite regression with a coming patch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77832
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/Alpha/AlphaISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/Alpha/AlphaISelLowering.cpp
b/lib/Target/Alpha/AlphaISelLowering.cpp
index
001723a
..
73fab21
100644
(file)
--- a/
lib/Target/Alpha/AlphaISelLowering.cpp
+++ b/
lib/Target/Alpha/AlphaISelLowering.cpp
@@
-40,6
+40,8
@@
public:
SectionKind::get(SectionKind::Text));
DataSection = getOrCreateSection("_data", true,
SectionKind::get(SectionKind::DataRel));
+ ReadOnlySection = getOrCreateSection("_rodata", true,
+ SectionKind::get(SectionKind::ReadOnly));
}
};
}