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 | ce7d14032bcf15e616df5310daf551d557c7d788 (patch) | |
tree | 18e896ee6bb63f876b7a86b38ee2c89ed6fb0331 /llvm/lib/Target/ARM/ARMTargetObjectFile.h | |
parent | 302041d5c9e43e0acb3e477e04b0250f6f6477c6 (diff) | |
download | bcm5719-llvm-ce7d14032bcf15e616df5310daf551d557c7d788.tar.gz bcm5719-llvm-ce7d14032bcf15e616df5310daf551d557c7d788.zip |
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.
llvm-svn: 78495
Diffstat (limited to 'llvm/lib/Target/ARM/ARMTargetObjectFile.h')
-rw-r--r-- | llvm/lib/Target/ARM/ARMTargetObjectFile.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/ARM/ARMTargetObjectFile.h b/llvm/lib/Target/ARM/ARMTargetObjectFile.h index ec63673b62a..55f13b170a4 100644 --- a/llvm/lib/Target/ARM/ARMTargetObjectFile.h +++ b/llvm/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()); } } }; |