Use init_array/fini_array sections for static contructors/destructors when the ABI...
authorLauro Ramos Venancio <lauro.venancio@gmail.com>
Mon, 5 Mar 2007 17:59:58 +0000 (17:59 +0000)
committerLauro Ramos Venancio <lauro.venancio@gmail.com>
Mon, 5 Mar 2007 17:59:58 +0000 (17:59 +0000)
commit6d7dd8ef46e9a505ddfb7d02cb2566560afec43d
treee4e3ec86c67ffa1464bd97d4cb1e54d87625cdcb
parent72adee00f6e0cd3239a2b4e1e1c8512e26ec6537
Use init_array/fini_array sections for static contructors/destructors when the ABI is AAPCS.
Fix SingleSource/Regression/C/ConstructorDestructorAttributes test on arm-linux-gnueabi.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34931 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMTargetAsmInfo.cpp
test/CodeGen/ARM/ctors_dtors.ll