diff options
Diffstat (limited to 'llvm/lib/Target/CellSPU/SPUTargetAsmInfo.cpp')
-rw-r--r-- | llvm/lib/Target/CellSPU/SPUTargetAsmInfo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/CellSPU/SPUTargetAsmInfo.cpp b/llvm/lib/Target/CellSPU/SPUTargetAsmInfo.cpp index 1b9551ab631..2bc0ffdb7ef 100644 --- a/llvm/lib/Target/CellSPU/SPUTargetAsmInfo.cpp +++ b/llvm/lib/Target/CellSPU/SPUTargetAsmInfo.cpp @@ -24,7 +24,8 @@ SPULinuxTargetAsmInfo::SPULinuxTargetAsmInfo(const SPUTargetMachine &TM) : CommentString = "#"; GlobalPrefix = ""; PrivateGlobalPrefix = ".L"; - CStringSection = ".rodata"; + // This corresponds to what the gcc SPU compiler emits, for consistency. + CStringSection = ".rodata.str"; } /// PreferredEHDataFormat - This hook allows the target to select data |