For Darwin, emit all the text section directives together before the dwarf
authorBob Wilson <bob.wilson@apple.com>
Wed, 30 Sep 2009 00:23:42 +0000 (00:23 +0000)
committerBob Wilson <bob.wilson@apple.com>
Wed, 30 Sep 2009 00:23:42 +0000 (00:23 +0000)
commit0fb34683b9e33238288d2af1e090582464df8387
treeb25c0b9beb4df970ff31ff9ec11845e0fd8d0d32
parentfdc826f6e834a2da80965a34f2ffb5d869fd8c64
For Darwin, emit all the text section directives together before the dwarf
section directives.  This causes the assembler to put the text sections at
the beginning of the object file, which helps work around a limitation of the
Darwin ARM relocations.  Radar 7255355.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83127 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp