summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/DarwinTargetAsmInfo.cpp
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-03-30 15:27:43 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-03-30 15:27:43 +0000
commit7c5f3c40ca86cc7dd0cdf7959939b16df3da85e9 (patch)
tree04b923a2825b093e270fdea6680e627e199926b4 /llvm/lib/Target/DarwinTargetAsmInfo.cpp
parentc247fd396c208cb4fb2ca01d74d4f66b13627320 (diff)
downloadbcm5719-llvm-7c5f3c40ca86cc7dd0cdf7959939b16df3da85e9.tar.gz
bcm5719-llvm-7c5f3c40ca86cc7dd0cdf7959939b16df3da85e9.zip
Do not propagate ELF-specific stuff (data.rel) into other targets. This simplifies code and also ensures correctness.
llvm-svn: 68032
Diffstat (limited to 'llvm/lib/Target/DarwinTargetAsmInfo.cpp')
-rw-r--r--llvm/lib/Target/DarwinTargetAsmInfo.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/Target/DarwinTargetAsmInfo.cpp b/llvm/lib/Target/DarwinTargetAsmInfo.cpp
index b33155c3457..927fdd29536 100644
--- a/llvm/lib/Target/DarwinTargetAsmInfo.cpp
+++ b/llvm/lib/Target/DarwinTargetAsmInfo.cpp
@@ -85,9 +85,6 @@ 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:
OpenPOWER on IntegriCloud