mirror of git://sourceware.org/git/glibc.git
Prevent GCC reusing "hi" and "lo" across system calls.
* sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (__SYSCALL_CLOBBERS): Add "hi" and "lo". * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (__SYSCALL_CLOBBERS): Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (__SYSCALL_CLOBBERS): Likewise.
This commit is contained in:
parent
be0f2008ac
commit
f1297d79b2
|
@ -1,3 +1,12 @@
|
|||
2009-09-25 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
|
||||
(__SYSCALL_CLOBBERS): Add "hi" and "lo".
|
||||
* sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
|
||||
(__SYSCALL_CLOBBERS): Likewise.
|
||||
* sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
|
||||
(__SYSCALL_CLOBBERS): Likewise.
|
||||
|
||||
2009-08-05 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* sysdeps/mips/____longjmp_chk.c: Remove. Replaced by....
|
||||
|
|
|
@ -285,7 +285,7 @@
|
|||
})
|
||||
|
||||
#define __SYSCALL_CLOBBERS "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", \
|
||||
"$14", "$15", "$24", "$25", "memory"
|
||||
"$14", "$15", "$24", "$25", "hi", "lo", "memory"
|
||||
|
||||
#endif /* __ASSEMBLER__ */
|
||||
|
||||
|
|
|
@ -253,7 +253,7 @@
|
|||
})
|
||||
|
||||
#define __SYSCALL_CLOBBERS "$1", "$3", "$10", "$11", "$12", "$13", \
|
||||
"$14", "$15", "$24", "$25", "memory"
|
||||
"$14", "$15", "$24", "$25", "hi", "lo", "memory"
|
||||
#endif /* __ASSEMBLER__ */
|
||||
|
||||
/* Pointer mangling is not yet supported for MIPS. */
|
||||
|
|
|
@ -249,7 +249,7 @@
|
|||
})
|
||||
|
||||
#define __SYSCALL_CLOBBERS "$1", "$3", "$10", "$11", "$12", "$13", \
|
||||
"$14", "$15", "$24", "$25", "memory"
|
||||
"$14", "$15", "$24", "$25", "hi", "lo", "memory"
|
||||
#endif /* __ASSEMBLER__ */
|
||||
|
||||
/* Pointer mangling is not yet supported for MIPS. */
|
||||
|
|
Loading…
Reference in New Issue