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:
b25baef
)
CellSPU: Ensure that C strings are always put in the .rodata section
author
Scott Michel
<scottm@aero.org>
Fri, 7 Nov 2008 11:06:44 +0000
(11:06 +0000)
committer
Scott Michel
<scottm@aero.org>
Fri, 7 Nov 2008 11:06:44 +0000
(11:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58839
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/CellSPU/SPUTargetAsmInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/CellSPU/SPUTargetAsmInfo.cpp
b/lib/Target/CellSPU/SPUTargetAsmInfo.cpp
index
9f62a28
..
1b9551a
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