projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
CellSPU: Ensure that C strings are always put in the .rodata section
[oota-llvm.git]
/
lib
/
Target
/
CellSPU
/
SPUTargetAsmInfo.cpp
diff --git
a/lib/Target/CellSPU/SPUTargetAsmInfo.cpp
b/lib/Target/CellSPU/SPUTargetAsmInfo.cpp
index 9f62a28c0d0ffbde1839476b167da7c33d609a29..1b9551ab6318b6b2f56783ec2e28ef4cd6e19dab 100644
(file)
--- a/
lib/Target/CellSPU/SPUTargetAsmInfo.cpp
+++ b/
lib/Target/CellSPU/SPUTargetAsmInfo.cpp
@@
-24,6
+24,7
@@
SPULinuxTargetAsmInfo::SPULinuxTargetAsmInfo(const SPUTargetMachine &TM) :
CommentString = "#";
GlobalPrefix = "";
PrivateGlobalPrefix = ".L";
+ CStringSection = ".rodata";
}
/// PreferredEHDataFormat - This hook allows the target to select data