projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
752aa7d
)
Apparently alpha doesn't use ElfTargetAsmInfo (?)
author
Chris Lattner
<sabre@nondot.org>
Mon, 27 Jul 2009 16:42:14 +0000
(16:42 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 27 Jul 2009 16:42:14 +0000
(16:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77202
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/Alpha/AlphaTargetAsmInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/Alpha/AlphaTargetAsmInfo.cpp
b/lib/Target/Alpha/AlphaTargetAsmInfo.cpp
index 649955224223b65b9ad47c50e12e3b4adf86ad0a..12fadfb5423d1fcd4ecf3880330bcaf9367d12a3 100644
(file)
--- a/
lib/Target/Alpha/AlphaTargetAsmInfo.cpp
+++ b/
lib/Target/Alpha/AlphaTargetAsmInfo.cpp
@@
-23,4
+23,7
@@
AlphaTargetAsmInfo::AlphaTargetAsmInfo(const AlphaTargetMachine &TM)
JumpTableDirective = ".gprel32";
JumpTableDataSection = "\t.section .rodata\n";
WeakRefDirective = "\t.weak\t";
+
+ TextSection = getOrCreateSection("_text", true, SectionKind::Text);
+ DataSection = getOrCreateSection("_data", true, SectionKind::DataRel);
}