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:
Jovan Dmitrovic 2025-09-03 13:53:39 +00:00 committed by Adhemerval Zanella
parent 3ac2833ec7
commit 70d45632ad
1 changed files with 1 additions and 1 deletions

View File

@ -28,8 +28,8 @@
.option pic2
#endif
ENTRY (setjmp)
.set noreorder
#ifdef __PIC__
.set noreorder
.cpload t9
.set reorder
la t9, C_SYMBOL_NAME (__sigsetjmp)