(DO_GLOBAL_CTORS_BODY): Call __builtin_alloca with a non-zero
argument, forcing a frame pointer to be needed. From-SVN: r7469
This commit is contained in:
parent
36f6ff0d2b
commit
ac7157f6c9
@ -93,8 +93,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
#undef DO_GLOBAL_CTORS_BODY
|
||||
#define DO_GLOBAL_CTORS_BODY \
|
||||
do { \
|
||||
func_ptr *__CTOR_LIST__ = __builtin_alloca (0), *p; \
|
||||
for (p = __CTOR_LIST__; *p; p += 4) \
|
||||
func_ptr *__CTOR_LIST__ = __builtin_alloca (1), *p; \
|
||||
for (p = __CTOR_LIST__ + 4; *p; p += 4) \
|
||||
(*p) (); \
|
||||
} while (0)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user