2014-09-24 23:12:34 +00:00
|
|
|
/*
|
2019-05-31 21:42:53 +00:00
|
|
|
* PROJECT: ReactOS CRT library
|
|
|
|
* LICENSE: BSD - See COPYING.ARM in the top level directory
|
|
|
|
* PURPOSE: Implementation of _chkstk and _alloca_probe
|
|
|
|
* COPYRIGHT: Copyright 2014 Timo Kreuzer (timo.kreuzer@reactos.org)
|
|
|
|
* Copyright 2014 Yuntian Zhang (yuntian.zh@gmail.com)
|
|
|
|
* Copyright 2019 Mohamed Mediouni (mmediouni@gmx.fr)
|
|
|
|
*
|
|
|
|
* REFERENCES: https://github.com/wine-mirror/wine/commit/2b095beace7b457586bd33b3b1c81df116215193
|
2014-09-24 23:12:34 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/* INCLUDES ******************************************************************/
|
|
|
|
|
2014-10-23 09:22:45 +00:00
|
|
|
#include <kxarm.h>
|
2014-09-24 23:12:34 +00:00
|
|
|
|
|
|
|
/* CODE **********************************************************************/
|
2014-10-23 09:22:45 +00:00
|
|
|
TEXTAREA
|
2014-09-24 23:12:34 +00:00
|
|
|
|
2014-10-23 09:22:45 +00:00
|
|
|
LEAF_ENTRY __chkstk
|
2019-05-31 21:42:53 +00:00
|
|
|
lsl r4, r4, #2
|
2014-10-23 09:22:45 +00:00
|
|
|
bx lr
|
|
|
|
LEAF_END __chkstk
|
2014-09-24 23:12:34 +00:00
|
|
|
|
2014-10-23 09:22:45 +00:00
|
|
|
LEAF_ENTRY __alloca_probe
|
2015-05-10 21:04:27 +00:00
|
|
|
__assertfail
|
2014-10-23 09:22:45 +00:00
|
|
|
bx lr
|
|
|
|
LEAF_END __alloca_probe
|
2014-09-24 23:12:34 +00:00
|
|
|
|
2014-10-23 09:22:45 +00:00
|
|
|
END
|
2014-09-24 23:12:34 +00:00
|
|
|
/* EOF */
|