about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-11-06 03:19:51 +0000
committerRoland McGrath <roland@gnu.org>2002-11-06 03:19:51 +0000
commitbe280d0eafc104d60f75fe187ac0c96cce7f38f7 (patch)
tree53bbee904e152a170a76a8a9d88261f0a7696d7e
parentdf5391ff906e47fb5fa5c7d46b0fe1ea9b3a3a51 (diff)
downloadglibc-be280d0eafc104d60f75fe187ac0c96cce7f38f7.tar.gz
glibc-be280d0eafc104d60f75fe187ac0c96cce7f38f7.tar.xz
glibc-be280d0eafc104d60f75fe187ac0c96cce7f38f7.zip
* sysdeps/unix/mips/sysdep.h [! __PIC__] (PSEUDO): Add nop after jump.
	From Johannes Stezenbach <js@convergence.de>.
-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);						      \