mirror of git://sourceware.org/git/glibc.git
mips: Fix delay slot filling in bsd-setjmp.S
In the !defined __PIC__ case, we cannot guarantee that the delay slot is properly filled at the final `j` instuction without reordering active. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
parent
3ac2833ec7
commit
70d45632ad
|
|
@ -28,8 +28,8 @@
|
||||||
.option pic2
|
.option pic2
|
||||||
#endif
|
#endif
|
||||||
ENTRY (setjmp)
|
ENTRY (setjmp)
|
||||||
.set noreorder
|
|
||||||
#ifdef __PIC__
|
#ifdef __PIC__
|
||||||
|
.set noreorder
|
||||||
.cpload t9
|
.cpload t9
|
||||||
.set reorder
|
.set reorder
|
||||||
la t9, C_SYMBOL_NAME (__sigsetjmp)
|
la t9, C_SYMBOL_NAME (__sigsetjmp)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue