mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
tile: Check SHARED instead PIC for SYSCALL_ERROR_NAME
For static PIE code, PIC is defined and SHARED is undefined. We should check SHARED instead PIC for SYSCALL_ERROR_NAME. * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME): Check SHARED instead PIC.
This commit is contained in:
@ -42,7 +42,7 @@
|
||||
|
||||
#define ret jrp lr
|
||||
|
||||
#ifndef PIC
|
||||
#ifndef SHARED
|
||||
/* For static code, on error jump to __syscall_error directly. */
|
||||
# define SYSCALL_ERROR_NAME __syscall_error
|
||||
#elif IS_IN (libc) || IS_IN (libpthread)
|
||||
|
Reference in New Issue
Block a user