aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/unix/mips/sysdep.h3
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1b3fe821bb..7d702f6e2a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2002-11-05 Roland McGrath <roland@redhat.com>
+ * sysdeps/unix/mips/sysdep.h [! __PIC__] (PSEUDO): Add nop after jump.
+ From Johannes Stezenbach <js@convergence.de>.
+
* sysdeps/unix/sysv/linux/mips/Versions (libc: GLIBC_2.0): Change
#errlist-compat magic comment to give 123 as size.
(libc: GLIBC_2.1): Remove this set, moving #errlist-compat magic to ...
diff --git a/sysdeps/unix/mips/sysdep.h b/sysdeps/unix/mips/sysdep.h
index c25969610a..fd5191601a 100644
--- a/sysdeps/unix/mips/sysdep.h
+++ b/sysdeps/unix/mips/sysdep.h
@@ -49,7 +49,8 @@ syse1:
#define PSEUDO(name, syscall_name, args) \
.set noreorder; \
.align 2; \
- 99: j __syscall_error; \
+ 99: j __syscall_error; \
+ nop; \
ENTRY(name) \
.set noreorder; \
li v0, SYS_ify(syscall_name); \