summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/CodeGen/CGObjCMac.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGObjCMac.cpp b/clang/lib/CodeGen/CGObjCMac.cpp
index 0fddd2b023d..6a806a33716 100644
--- a/clang/lib/CodeGen/CGObjCMac.cpp
+++ b/clang/lib/CodeGen/CGObjCMac.cpp
@@ -4552,9 +4552,9 @@ llvm::Value *CGObjCNonFragileABIMac::EmitClassRef(CGBuilderTy &Builder,
ObjCTypes.ClassnfABIPtrTy));
if (IsSuper)
- Entry->setSection("__OBJC,__objc_superrefs,regular,no_dead_strip");
+ Entry->setSection("__DATA,__objc_superrefs,regular,no_dead_strip");
else
- Entry->setSection("__OBJC,__objc_classrefs,regular,no_dead_strip");
+ Entry->setSection("__DATA,__objc_classrefs,regular,no_dead_strip");
UsedGlobals.push_back(Entry);
}
OpenPOWER on IntegriCloud