summaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMTargetObjectFile.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-08 20:22:20 +0000
committerChris Lattner <sabre@nondot.org>2009-08-08 20:22:20 +0000
commit0c0cb7123346beab4e0d3ad6ce9570560b14971e (patch)
treea826e60b22f3eca6887d441718db3a2c817e474e /lib/Target/ARM/ARMTargetObjectFile.h
parentfbf1d271e6a7157c1b5432e84d5633f63869b5a8 (diff)
downloadllvm-0c0cb7123346beab4e0d3ad6ce9570560b14971e.tar.gz
llvm-0c0cb7123346beab4e0d3ad6ce9570560b14971e.tar.bz2
llvm-0c0cb7123346beab4e0d3ad6ce9570560b14971e.tar.xz
now that getOrCreateSection is all object-file specific,
give the impls an object-file-specific name. In the future they can take different arguments etc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78495 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMTargetObjectFile.h')
-rw-r--r--lib/Target/ARM/ARMTargetObjectFile.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/ARM/ARMTargetObjectFile.h b/lib/Target/ARM/ARMTargetObjectFile.h
index ec63673b62..55f13b170a 100644
--- a/lib/Target/ARM/ARMTargetObjectFile.h
+++ b/lib/Target/ARM/ARMTargetObjectFile.h
@@ -25,11 +25,11 @@ namespace llvm {
// That will allow not treating these as "directives".
if (TM.getSubtarget<ARMSubtarget>().isAAPCS_ABI()) {
StaticCtorSection =
- getOrCreateSection("\t.section .init_array,\"aw\",%init_array", true,
- SectionKind::getDataRel());
+ getELFSection("\t.section .init_array,\"aw\",%init_array", true,
+ SectionKind::getDataRel());
StaticDtorSection =
- getOrCreateSection("\t.section .fini_array,\"aw\",%fini_array", true,
- SectionKind::getDataRel());
+ getELFSection("\t.section .fini_array,\"aw\",%fini_array", true,
+ SectionKind::getDataRel());
}
}
};