[llvm-commits] [llvm] r78060 - /llvm/trunk/lib/Target/ARM/ARMTargetObjectFile.h

Anton Korobeynikov asl at math.spbu.ru
Tue Aug 4 04:18:49 PDT 2009


Author: asl
Date: Tue Aug  4 06:18:31 2009
New Revision: 78060

URL: http://llvm.org/viewvc/llvm-project?rev=78060&view=rev
Log:
Ooops, I was too fast to commit the wrong fix :(

Modified:
    llvm/trunk/lib/Target/ARM/ARMTargetObjectFile.h

Modified: llvm/trunk/lib/Target/ARM/ARMTargetObjectFile.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMTargetObjectFile.h?rev=78060&r1=78059&r2=78060&view=diff

==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMTargetObjectFile.h (original)
+++ llvm/trunk/lib/Target/ARM/ARMTargetObjectFile.h Tue Aug  4 06:18:31 2009
@@ -25,10 +25,10 @@
       // That will allow not treating these as "directives".
       if (TM.getSubtarget<ARMSubtarget>().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());
       }
     }





More information about the llvm-commits mailing list