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-15 21:24:31 +00:00
2012-10-27 17:39:36 +00:00
2012-07-15 10:54:10 +00:00
2012-07-15 10:54:10 +00:00
2012-07-15 10:54:10 +00:00
2011-03-29 20:53:51 +00:00
2008-06-01 00:03:21 +00:00
2012-07-15 10:54:10 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2010-11-25 20:29:14 +00:00
2010-06-02 11:06:03 +00:00
2010-06-02 11:06:03 +00:00
2010-06-02 11:06:03 +00:00
2010-06-02 11:06:03 +00:00
2010-06-02 11:06:03 +00:00
2010-06-02 11:06:03 +00:00
2010-06-02 11:06:03 +00:00
2010-06-02 11:06:03 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2009-12-02 16:34:20 +00:00
2012-01-06 18:37:49 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00
2008-06-01 00:03:21 +00:00