(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:
Richard Kenner 1994-06-14 17:52:06 -04:00
parent 36f6ff0d2b
commit ac7157f6c9
1 changed files with 2 additions and 2 deletions

View File

@ -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)