summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/CellSPU
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-09 18:27:03 +0000
committerChris Lattner <sabre@nondot.org>2010-04-09 18:27:03 +0000
commit1ef9826ff82ada414ddf869f4d93d6bd708f216a (patch)
tree45a4992c840b32e90fbd7ba5704a0c1aa0b7c762 /llvm/lib/Target/CellSPU
parent394b624215ae3f4841209b27df149023d81df618 (diff)
downloadbcm5719-llvm-1ef9826ff82ada414ddf869f4d93d6bd708f216a.tar.gz
bcm5719-llvm-1ef9826ff82ada414ddf869f4d93d6bd708f216a.zip
"On SPU, variables in the .bss section that are allocated with the .lcomm directive are not aligned on 16 byte boundaries. This causes misaligned loads, as the generated assembly assumes this "default" alignment.
this patch disables .lcomm in favour of '.local .comm' Patch by Kalle Raisklia! llvm-svn: 100875
Diffstat (limited to 'llvm/lib/Target/CellSPU')
-rw-r--r--llvm/lib/Target/CellSPU/SPUMCAsmInfo.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Target/CellSPU/SPUMCAsmInfo.cpp b/llvm/lib/Target/CellSPU/SPUMCAsmInfo.cpp
index 3e17a51b505..68445cf6bf9 100644
--- a/llvm/lib/Target/CellSPU/SPUMCAsmInfo.cpp
+++ b/llvm/lib/Target/CellSPU/SPUMCAsmInfo.cpp
@@ -18,7 +18,6 @@ SPULinuxMCAsmInfo::SPULinuxMCAsmInfo(const Target &T, const StringRef &TT) {
ZeroDirective = "\t.space\t";
Data64bitsDirective = "\t.quad\t";
AlignmentIsInBytes = false;
- HasLCOMMDirective = true;
PCSymbol = ".";
CommentString = "#";
OpenPOWER on IntegriCloud