Skip to content

Commit

Permalink
correct SP offset in jmpbif structure to be 8
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu user committed Nov 23, 2015
1 parent 8e22fed commit 56554a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion md.h
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@
#define MD_STACK_GROWS_DOWN

#if defined(__GLIBC__) && __GLIBC__ >= 2
#define MD_GET_SP(_t) (_t)->context[0].__jmpbuf[20]
#define MD_GET_SP(_t) (_t)->context[0].__jmpbuf[8]
#else
#error "ARM/Linux pre-glibc2 not supported yet"
#endif /* defined(__GLIBC__) && __GLIBC__ >= 2 */
Expand Down

0 comments on commit 56554a5

Please sign in to comment.