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 | 849290adaa476e99074db8e0519faca0a2284564 (patch) | |
| tree | a826e60b22f3eca6887d441718db3a2c817e474e /lib/Target/ARM/ARMTargetObjectFile.h | |
| parent | 8011f5f60a638f58c2e00973e1b3391fc362d6b2 (diff) | |
| download | external_llvm-849290adaa476e99074db8e0519faca0a2284564.zip external_llvm-849290adaa476e99074db8e0519faca0a2284564.tar.gz external_llvm-849290adaa476e99074db8e0519faca0a2284564.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/ARMTargetObjectFile.h')
| -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()); } } }; |
