+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]
#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. */