aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/DarwinTargetAsmInfo.cpp
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-03-30 15:27:03 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-03-30 15:27:03 +0000
commit71a7c6cde01fb516f0cbdbd831e07cda063fed4e (patch)
tree2224a5df0b8360a3e760534e605d36f8b588ecf2 /lib/Target/DarwinTargetAsmInfo.cpp
parent217b919cf951eed4012ac2daf1e494f4364aaec1 (diff)
Add data.rel stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68031 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/DarwinTargetAsmInfo.cpp')
-rw-r--r--lib/Target/DarwinTargetAsmInfo.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/DarwinTargetAsmInfo.cpp b/lib/Target/DarwinTargetAsmInfo.cpp
index 927fdd2953..b33155c345 100644
--- a/lib/Target/DarwinTargetAsmInfo.cpp
+++ b/lib/Target/DarwinTargetAsmInfo.cpp
@@ -85,6 +85,9 @@ DarwinTargetAsmInfo::SelectSectionForGlobal(const GlobalValue *GV) const {
else
return TextSection;
case SectionKind::Data:
+ case SectionKind::DataRel:
+ case SectionKind::DataRelRO:
+ case SectionKind::DataRelROLocal:
case SectionKind::ThreadData:
case SectionKind::BSS:
case SectionKind::ThreadBSS: