commit | 0cb2a45cceaefb48ec7efb902c453aaae4e24cb2 | [log] [tgz] |
---|---|---|
author | Anton Korobeynikov <asl@math.spbu.ru> | Sat Dec 03 23:49:37 2011 +0000 |
committer | Anton Korobeynikov <asl@math.spbu.ru> | Sat Dec 03 23:49:37 2011 +0000 |
tree | 194dc5e379c84d0f1a061c47fb0dfa186dbb05b4 | |
parent | 80b1ae92922202c197078038c4229045cb1e295f [diff] [blame] |
Emit the ctors in the proper order on ARM/EABI. Maybe some targets should use this as well. Patch by Evgeniy Stepanov! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145781 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/ARM/ARMTargetObjectFile.cpp b/lib/Target/ARM/ARMTargetObjectFile.cpp index 19defa1..721a225 100644 --- a/lib/Target/ARM/ARMTargetObjectFile.cpp +++ b/lib/Target/ARM/ARMTargetObjectFile.cpp
@@ -36,6 +36,7 @@ ELF::SHF_WRITE | ELF::SHF_ALLOC, SectionKind::getDataRel()); + StructorOutputOrder = Structors::PriorityOrder; LSDASection = NULL; }