Andrew Turner d131070105 Don't define CTORS_SECTION_ASM_OP and DTORS_SECTION_ASM_OP on arm when
built with clang. When these are defined the lists are defined similar to:

asm(".section .ctors");
STATIC func_ptr __CTOR_LIST__[1] = { (func_ptr) (-1) };
asm(".section .dtors");
STATIC func_ptr __DTOR_LIST__[1] = { (func_ptr) (-1) };

The problem is clang will move the two arrays out of the .ctors and .dtors
sections causing these sections to contain a single null address. By not
defining these macros we use the version of the code that places the arrays
is their sections by using __attribute__((section(".ctors"))) and similar
for .dtors.

Submitted by:	Daisuke Aoyama <aoyama AT peach.ne.jp>
2012-12-15 21:24:31 +00:00
..
2012-12-07 12:39:58 +00:00
2012-11-16 01:37:25 +00:00
2012-09-14 21:17:53 +00:00
2012-08-08 09:42:44 +00:00
2012-11-13 03:05:28 +00:00
2012-09-22 17:47:37 +00:00
2012-11-10 01:46:13 +00:00
2012-12-03 19:00:23 +00:00
2012-11-29 13:35:44 +00:00
2012-10-05 18:42:50 +00:00
2012-10-22 18:56:31 +00:00