diff options
| author | Tom Stellard <thomas.stellard@amd.com> | 2013-04-24 23:56:14 +0000 | 
|---|---|---|
| committer | Tom Stellard <thomas.stellard@amd.com> | 2013-04-24 23:56:14 +0000 | 
| commit | 34e4068d05816a70a67e76ffb855fbbd59c43b4d (patch) | |
| tree | 6b8d4c3eac6ae35a7704680d9634bb1a8ec97eb8 /llvm/lib | |
| parent | ee1e45796eff17c2d28ceb35372e5ed86b313a89 (diff) | |
| download | bcm5719-llvm-34e4068d05816a70a67e76ffb855fbbd59c43b4d.tar.gz bcm5719-llvm-34e4068d05816a70a67e76ffb855fbbd59c43b4d.zip | |
R600: Use SHT_PROGBITS for the .AMDGPU.config section
The libelf implementation that is distributed here:
http://www.mr511.de/software/english.html
will not parse sections that are marked SHT_NULL.
llvm-svn: 180230
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/R600/AMDGPUAsmPrinter.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/llvm/lib/Target/R600/AMDGPUAsmPrinter.cpp b/llvm/lib/Target/R600/AMDGPUAsmPrinter.cpp index dc0461a641b..7dabbfa2295 100644 --- a/llvm/lib/Target/R600/AMDGPUAsmPrinter.cpp +++ b/llvm/lib/Target/R600/AMDGPUAsmPrinter.cpp @@ -59,7 +59,7 @@ bool AMDGPUAsmPrinter::runOnMachineFunction(MachineFunction &MF) {    const MCSectionELF *ConfigSection = getObjFileLowering().getContext()                                                .getELFSection(".AMDGPU.config", -                                              ELF::SHT_NULL, 0, +                                              ELF::SHT_PROGBITS, 0,                                                SectionKind::getReadOnly());    OutStreamer.SwitchSection(ConfigSection);    if (STM.device()->getGeneration() > AMDGPUDeviceInfo::HD6XXX) { | 

