Bugzilla bug #122: merged NetBSD patch contributed by
Frank van der Linden (frank@wins.uva.nl).
This commit is contained in:
Родитель
86badc2b4e
Коммит
b4c2494330
|
@ -63,8 +63,15 @@
|
|||
#elif defined(__alpha__)
|
||||
#define JB_SP_INDEX 34
|
||||
#elif defined(__arm32__)
|
||||
/*
|
||||
* On the arm32, the jmpbuf regs underwent a name change after NetBSD 1.3.
|
||||
*/
|
||||
#ifdef JMPBUF_REG_R13
|
||||
#define JB_SP_INDEX JMPBUF_REG_R13
|
||||
#else
|
||||
#define JB_SP_INDEX _JB_REG_R13
|
||||
#endif
|
||||
#else
|
||||
#error "Need to define SP index in jmp_buf here"
|
||||
#endif
|
||||
#define _MD_GET_SP(_th) (_th)->md.context[JB_SP_INDEX]
|
||||
|
|
Загрузка…
Ссылка в новой задаче