commit | d9890dee7c27e8c2cb4314b3f64011eed0e57e1b | [log] [tgz] |
---|---|---|
author | Scott Michel <scottm@aero.org> | Fri Nov 07 11:06:44 2008 +0000 |
committer | Scott Michel <scottm@aero.org> | Fri Nov 07 11:06:44 2008 +0000 |
tree | 8216ce078dbec1649841a097cead0d298de80f9e | |
parent | b25baef26f03b9909b65dd5f762b38f93000445d [diff] [blame] |
CellSPU: Ensure that C strings are always put in the .rodata section git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58839 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/CellSPU/SPUTargetAsmInfo.cpp b/lib/Target/CellSPU/SPUTargetAsmInfo.cpp index 9f62a28..1b9551a 100644 --- a/lib/Target/CellSPU/SPUTargetAsmInfo.cpp +++ b/lib/Target/CellSPU/SPUTargetAsmInfo.cpp
@@ -24,6 +24,7 @@ CommentString = "#"; GlobalPrefix = ""; PrivateGlobalPrefix = ".L"; + CStringSection = ".rodata"; } /// PreferredEHDataFormat - This hook allows the target to select data