tile: Check SHARED instead PIC for SYSCALL_ERROR_NAME
commitbcc4e4bb316cf5a29cd1488a582700a3f33cee2b
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 3 Oct 2017 21:54:55 +0000 (3 14:54 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 3 Oct 2017 21:54:55 +0000 (3 14:54 -0700)
treea4ef8dc1bf680b06a175b539f2154837a1a1a7b6
parent7f1cbdf8ed6e5266d3d5807329d2d110cf695b79
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.
ChangeLog
sysdeps/unix/sysv/linux/tile/sysdep.h