2003-01-27 Guido Guenther * sysdeps/unix/sysv/linux/mips/sysdep.h: SYSCALL_ERROR_LABEL: Define. +++ sysdeps/unix/sysv/linux/mips/sysdep.h 27 Jan 2003 19:47:17 -0000 @@ -33,7 +33,15 @@ # define SYS_ify(syscall_name) __NR_/**/syscall_name #endif -#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. */