mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-23 21:17:52 +00:00
Bugzilla bug #122: merged NetBSD patch contributed by
Frank van der Linden (frank@wins.uva.nl).
This commit is contained in:
parent
0aff974b23
commit
b064b17d15
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user