Add a variable to track whether or not we've used a unique section,
[oota-llvm.git] / lib / Target / PowerPC / PPCTargetObjectFile.cpp
index 32678674f9a658cbca4b6af9c1d405047e95d0d9..b9cfe7c9a84c23d74ca47f2b0448a026ade73a92 100644 (file)
@@ -24,7 +24,7 @@ Initialize(MCContext &Ctx, const TargetMachine &TM) {
 
 const MCSection * PPC64LinuxTargetObjectFile::
 SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
-                       Mangler *Mang, const TargetMachine &TM) const {
+                       Mangler *Mang, TargetMachine &TM) const {
 
   const MCSection *DefaultSection = 
     TargetLoweringObjectFileELF::SelectSectionForGlobal(GV, Kind, Mang, TM);