Commit ac7157f6 by Richard Kenner

(DO_GLOBAL_CTORS_BODY): Call __builtin_alloca with a non-zero

argument, forcing a frame pointer to be needed.

From-SVN: r7469
parent 36f6ff0d
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment