diff options
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()); } } }; |