diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-10-03 14:54:55 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-10-03 14:54:55 -0700 |
commit | bcc4e4bb316cf5a29cd1488a582700a3f33cee2b (patch) | |
tree | a4ef8dc1bf680b06a175b539f2154837a1a1a7b6 /sysdeps/unix/sysv/linux/tile/sysdep.h | |
parent | 7f1cbdf8ed6e5266d3d5807329d2d110cf695b79 (diff) | |
download | glibc-bcc4e4bb316cf5a29cd1488a582700a3f33cee2b.tar.gz glibc-bcc4e4bb316cf5a29cd1488a582700a3f33cee2b.tar.xz glibc-bcc4e4bb316cf5a29cd1488a582700a3f33cee2b.zip |
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.
Diffstat (limited to 'sysdeps/unix/sysv/linux/tile/sysdep.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/tile/sysdep.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/tile/sysdep.h b/sysdeps/unix/sysv/linux/tile/sysdep.h index fb1b89c280..6e37fd2a08 100644 --- a/sysdeps/unix/sysv/linux/tile/sysdep.h +++ b/sysdeps/unix/sysv/linux/tile/sysdep.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) |