projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
007031d
)
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)
llvm-svn: 77202
llvm/lib/Target/Alpha/AlphaTargetAsmInfo.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/Alpha/AlphaTargetAsmInfo.cpp
b/llvm/lib/Target/Alpha/AlphaTargetAsmInfo.cpp
index
6499552
..
12fadfb
100644
(file)
--- a/
llvm/lib/Target/Alpha/AlphaTargetAsmInfo.cpp
+++ b/
llvm/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);
}