This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] tile: Check SHARED instead PIC for SYSCALL_ERROR_NAME
- From: Chris Metcalf <cmetcalf at mellanox dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Tue, 3 Oct 2017 11:20:20 -0400
- Subject: Re: [PATCH] tile: Check SHARED instead PIC for SYSCALL_ERROR_NAME
- Authentication-results: sourceware.org; auth=none
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=cmetcalf at mellanox dot com;
- References: <20170929212914.GA2482@gmail.com>
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
On 9/29/2017 5:29 PM, H.J. Lu wrote:
For static PIE code, PIC is defined and SHARED is undefined. We
should check SHARED instead PIC for SYSCALL_ERROR_NAME.
OK for master?
* sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
Check SHARED instead PIC.
---
sysdeps/unix/sysv/linux/tile/sysdep.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Thanks, that looks good. Please commit.
--
Chris Metcalf, Mellanox Technologies
http://www.mellanox.com