This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] fxstatat: fix __fxstatat64 symbol generation
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Yury Norov <ynorov at caviumnetworks dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Fri, 09 Sep 2016 16:16:44 +0200
- Subject: Re: [PATCH] fxstatat: fix __fxstatat64 symbol generation
- Authentication-results: sourceware.org; auth=none
- References: <1473424150-6407-1-git-send-email-ynorov@caviumnetworks.com>
On Sep 09 2016, Yury Norov <ynorov@caviumnetworks.com> wrote:
> diff --git a/sysdeps/unix/sysv/linux/fxstatat.c b/sysdeps/unix/sysv/linux/fxstatat.c
> index f716bf3..32959e5 100644
> --- a/sysdeps/unix/sysv/linux/fxstatat.c
> +++ b/sysdeps/unix/sysv/linux/fxstatat.c
> @@ -61,5 +61,5 @@ libc_hidden_def (__fxstatat)
> #ifdef XSTAT_IS_XSTAT64
> # undef __fxstatat64
> strong_alias (__fxstatat, __fxstatat64);
> -libc_hidden_def (__fxstatat64)
> +libc_hidden_ver (__fxstatat, __fxstatat64)
libc_hidden_ver doesn't make sense, as __fxstatat64 isn't a versioned
symbol. The real problem is that the hidden_proto for __fxstatat64 is
suppressed.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."