Define SYSCALL_ERROR_LABEL for mips32.

This commit is contained in:
Robert Millan 2012-02-15 22:39:15 +00:00 committed by Joseph Myers
parent d2cc32ab71
commit a31567f46f
2 changed files with 15 additions and 1 deletions

View 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]

View File

@ -37,7 +37,15 @@
#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. */