Fix MIPS PSEUDO define for n32 and n64 non-PIC.
authorChandrakala Chavva <cchavva@caviumnetworks.com>
Fri, 13 Aug 2010 23:25:10 +0000 (23:25 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 13 Aug 2010 23:25:10 +0000 (23:25 +0000)
ChangeLog.mips
sysdeps/unix/mips/mips64/n32/sysdep.h
sysdeps/unix/mips/mips64/n64/sysdep.h

index 33dbdb1..bbcf818 100644 (file)
@@ -1,3 +1,9 @@
+2010-08-13  Chandrakala Chavva  <cchavva@caviumnetworks.com>
+
+       * sysdeps/unix/mips/mips64/n64/sysdep.h (PSEUDO): Add 'nop' in
+       jump delay slot.
+       * sysdeps/unix/mips/mips64/n32/sysdep.h (PSEUDO): Ditto.
+
 2010-08-13  Joseph Myers  <joseph@codesourcery.com>
 
        * sysdeps/unix/sysv/linux/mips/bits/termios.h (EXTPROC): Define.
index ec93fad..df1391d 100644 (file)
@@ -45,6 +45,7 @@ L(syse1):
   .set noreorder;                                                            \
   .align 2;                                                                  \
   99: j __syscall_error;                                                     \
+  nop;                                                                        \
   ENTRY(name)                                                                \
   .set noreorder;                                                            \
   li v0, SYS_ify(syscall_name);                                                      \
index 502b667..da5f6a0 100644 (file)
@@ -45,6 +45,7 @@ L(syse1):
   .set noreorder;                                                            \
   .align 2;                                                                  \
   99: j __syscall_error;                                                     \
+  nop;                                                                        \
   ENTRY(name)                                                                \
   .set noreorder;                                                            \
   li v0, SYS_ify(syscall_name);                                                      \