mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:33:10 +00:00
[CRT]
- Add _JUMP_BUFFER for ARM - On ARM there are no underscore prefixes svn path=/trunk/; revision=67637
This commit is contained in:
parent
07f38d007d
commit
d6c154bc77
2 changed files with 19 additions and 3 deletions
|
@ -22,8 +22,8 @@
|
||||||
#define __MINGW32_MAJOR_VERSION 3
|
#define __MINGW32_MAJOR_VERSION 3
|
||||||
#define __MINGW32_MINOR_VERSION 11
|
#define __MINGW32_MINOR_VERSION 11
|
||||||
|
|
||||||
#ifdef _WIN64
|
#ifndef _M_IX86
|
||||||
/* MS does not prefix symbols by underscores for 64-bit. */
|
/* MS does not prefix symbols by underscores for anything other than x86. */
|
||||||
#ifndef __MINGW_USE_UNDERSCORE_PREFIX
|
#ifndef __MINGW_USE_UNDERSCORE_PREFIX
|
||||||
/* As we have to support older gcc version, which are using underscores
|
/* As we have to support older gcc version, which are using underscores
|
||||||
as symbol prefix for x64, we have to check here for the user label
|
as symbol prefix for x64, we have to check here for the user label
|
||||||
|
|
|
@ -131,9 +131,25 @@ extern "C" {
|
||||||
|
|
||||||
#elif defined(_M_ARM)
|
#elif defined(_M_ARM)
|
||||||
|
|
||||||
#define _JBLEN 11
|
#define _JBLEN 28
|
||||||
#define _JBTYPE int
|
#define _JBTYPE int
|
||||||
|
|
||||||
|
typedef struct _JUMP_BUFFER {
|
||||||
|
unsigned long Frame;
|
||||||
|
unsigned long R4;
|
||||||
|
unsigned long R5;
|
||||||
|
unsigned long R6;
|
||||||
|
unsigned long R7;
|
||||||
|
unsigned long R8;
|
||||||
|
unsigned long R9;
|
||||||
|
unsigned long R10;
|
||||||
|
unsigned long R11;
|
||||||
|
unsigned long Sp;
|
||||||
|
unsigned long Pc;
|
||||||
|
unsigned long Fpscr;
|
||||||
|
unsigned long long D[8]; // D8-D15 VFP/NEON regs
|
||||||
|
} _JUMP_BUFFER;
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#error Define Setjmp for this architecture!
|
#error Define Setjmp for this architecture!
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue