]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Define SYSCALL_ERROR_LABEL for mips32.
authorRobert Millan <rmh@gnu.org>
Wed, 15 Feb 2012 22:39:15 +0000 (22:39 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 15 Feb 2012 22:39:15 +0000 (22:39 +0000)
ChangeLog.mips
sysdeps/unix/sysv/linux/mips/mips32/sysdep.h

index 4d66c84e2a2a2dbcfbf34ea0d4a8e14a9c836744..0d43038df36d32e280ad18950b90423447ba0604 100644 (file)
@@ -1,3 +1,9 @@
+2012-02-15  Robert Millan  <rmh@gnu.org>
+
+       [BZ #12301]
+       * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h [__ASSEMBLER__]
+       [__PIC__] (SYSCALL_ERROR_LABEL): New macro.
+
 2012-02-15  Robert Millan  <rmh@gnu.org>
 
        [BZ #12298]
index 061e32244821bcf9155255a7d80f9d8527c13ec6..57de0a43426cad1444a144676bfd63327187e6f6 100644 (file)
 #undef SYS_ify
 #define SYS_ify(syscall_name)  __NR_##syscall_name
 
-#ifndef __ASSEMBLER__
+#ifdef __ASSEMBLER__
+
+/* We don't want the label for the error handler to be visible in the symbol
+   table when we define it here.  */
+#ifdef __PIC__
+# define SYSCALL_ERROR_LABEL 99b
+#endif
+
+#else   /* ! __ASSEMBLER__ */
 
 /* Define a macro which expands into the inline wrapper code for a system
    call.  */