diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-03-05 18:55:36 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-03-05 18:55:36 +0000 |
| commit | f0692603d58ec500cea1d80ef37e29898ebe18c4 (patch) | |
| tree | 3bf46da8c58ae51e513a4e5be32f439e255fc8e6 /llvm/lib/Target/CellSPU | |
| parent | f6befffbb26fe789173cf4b981498a63be65d8d9 (diff) | |
| download | bcm5719-llvm-f0692603d58ec500cea1d80ef37e29898ebe18c4.tar.gz bcm5719-llvm-f0692603d58ec500cea1d80ef37e29898ebe18c4.zip | |
fix bss section printing for cell, patch by Kalle Raiskila!
llvm-svn: 97814
Diffstat (limited to 'llvm/lib/Target/CellSPU')
| -rw-r--r-- | llvm/lib/Target/CellSPU/SPUMCAsmInfo.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/CellSPU/SPUMCAsmInfo.cpp b/llvm/lib/Target/CellSPU/SPUMCAsmInfo.cpp index 5ef3c6b24de..3e17a51b505 100644 --- a/llvm/lib/Target/CellSPU/SPUMCAsmInfo.cpp +++ b/llvm/lib/Target/CellSPU/SPUMCAsmInfo.cpp @@ -34,5 +34,8 @@ SPULinuxMCAsmInfo::SPULinuxMCAsmInfo(const Target &T, const StringRef &TT) { // Exception handling is not supported on CellSPU (think about it: you only // have 256K for code+data. Would you support exception handling?) ExceptionsType = ExceptionHandling::None; + + // SPU assembly requires ".section" before ".bss" + UsesELFSectionDirectiveForBSS = true; } |

