diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-08 20:22:20 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-08 20:22:20 +0000 |
commit | 0c0cb7123346beab4e0d3ad6ce9570560b14971e (patch) | |
tree | a826e60b22f3eca6887d441718db3a2c817e474e /lib/Target/ARM | |
parent | fbf1d271e6a7157c1b5432e84d5633f63869b5a8 (diff) | |
download | external_llvm-0c0cb7123346beab4e0d3ad6ce9570560b14971e.zip external_llvm-0c0cb7123346beab4e0d3ad6ce9570560b14971e.tar.gz external_llvm-0c0cb7123346beab4e0d3ad6ce9570560b14971e.tar.bz2 |
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')
-rw-r--r-- | lib/Target/ARM/ARMTargetObjectFile.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/ARM/ARMTargetObjectFile.h b/lib/Target/ARM/ARMTargetObjectFile.h index ec63673..55f13b1 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()); } } }; |