فهرست منبع

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
Anton Korobeynikov 16 سال پیش
والد
کامیت
939ba32747
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      lib/Target/ARM/ARMTargetObjectFile.h

+ 2 - 2
lib/Target/ARM/ARMTargetObjectFile.h

@@ -25,10 +25,10 @@ namespace llvm {
       // That will allow not treating these as "directives".
       // That will allow not treating these as "directives".
       if (TM.getSubtarget<ARMSubtarget>().isAAPCS_ABI()) {
       if (TM.getSubtarget<ARMSubtarget>().isAAPCS_ABI()) {
         StaticCtorSection =
         StaticCtorSection =
-          getOrCreateSection(".init_array,\"aw\",%init_array", false,
+          getOrCreateSection("\t.section .init_array,\"aw\",%init_array", true,
                              SectionKind::getDataRel());
                              SectionKind::getDataRel());
         StaticDtorSection =
         StaticDtorSection =
-          getOrCreateSection(".fini_array,\"aw\",%fini_array", false,
+          getOrCreateSection("\t.section .fini_array,\"aw\",%fini_array", true,
                              SectionKind::getDataRel());
                              SectionKind::getDataRel());
       }
       }
     }
     }