Cast to uintptr_t in MIPS jmpbuf-unwind.h.
This commit is contained in:
parent
7e1be74125
commit
c3151ad100
@ -1,5 +1,8 @@
|
|||||||
2012-11-21 Joseph Myers <joseph@codesourcery.com>
|
2012-11-21 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
* sysdeps/mips/jmpbuf-unwind.h (_jmpbuf_sp): Cast regs[0].__sp to
|
||||||
|
uintptr_t.
|
||||||
|
|
||||||
* sysdeps/mips/sotruss-lib.c: New file.
|
* sysdeps/mips/sotruss-lib.c: New file.
|
||||||
|
|
||||||
2012-11-20 Joseph Myers <joseph@codesourcery.com>
|
2012-11-20 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
static inline uintptr_t __attribute__ ((unused))
|
static inline uintptr_t __attribute__ ((unused))
|
||||||
_jmpbuf_sp (__jmp_buf regs)
|
_jmpbuf_sp (__jmp_buf regs)
|
||||||
{
|
{
|
||||||
uintptr_t sp = regs[0].__sp;
|
uintptr_t sp = (uintptr_t) regs[0].__sp;
|
||||||
#ifdef PTR_DEMANGLE
|
#ifdef PTR_DEMANGLE
|
||||||
PTR_DEMANGLE (sp);
|
PTR_DEMANGLE (sp);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user