From: Anton Korobeynikov Date: Tue, 4 Aug 2009 11:18:31 +0000 (+0000) Subject: Ooops, I was too fast to commit the wrong fix :( X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=939ba32747d472032e8c3a5f3ea4feadcd6f622e;p=oota-llvm.git Ooops, I was too fast to commit the wrong fix :( git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78060 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/ARMTargetObjectFile.h b/lib/Target/ARM/ARMTargetObjectFile.h index b2e9ce51d13..ec63673b62a 100644 --- a/lib/Target/ARM/ARMTargetObjectFile.h +++ b/lib/Target/ARM/ARMTargetObjectFile.h @@ -25,10 +25,10 @@ namespace llvm { // That will allow not treating these as "directives". if (TM.getSubtarget().isAAPCS_ABI()) { StaticCtorSection = - getOrCreateSection(".init_array,\"aw\",%init_array", false, + getOrCreateSection("\t.section .init_array,\"aw\",%init_array", true, SectionKind::getDataRel()); StaticDtorSection = - getOrCreateSection(".fini_array,\"aw\",%fini_array", false, + getOrCreateSection("\t.section .fini_array,\"aw\",%fini_array", true, SectionKind::getDataRel()); } }