mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00: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:
parent
7f1cbdf8ed
commit
bcc4e4bb31
@ -1,3 +1,8 @@
|
||||
2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
|
||||
Check SHARED instead PIC.
|
||||
|
||||
2017-10-03 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user