This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: PATCH: PR libc/12518: Provide GLIBC_2_2_5/GLIBC_2_14 memcpy
- From: Jakub Jelinek <jakub at redhat dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Sat, 26 Mar 2011 18:14:10 +0100
- Subject: Re: PATCH: PR libc/12518: Provide GLIBC_2_2_5/GLIBC_2_14 memcpy
- References: <20110326161017.GA22399@intel.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Sat, Mar 26, 2011 at 09:10:17AM -0700, H.J. Lu wrote:
> --- a/sysdeps/x86_64/multiarch/Versions
> +++ b/sysdeps/x86_64/multiarch/Versions
> @@ -2,4 +2,7 @@ libc {
> GLIBC_PRIVATE {
> __get_cpu_features;
> }
> + GLIBC_2.14 {
> + memcpy;
> + }
> }
Whether memcpy@@GLIBC_2.14 is exported or not should not depend
on whether you configure glibc with --enable-multiarch or not.
Thus, the memcpy export for x86_64 needs to be in sysdeps/x86_64/Versions
and you need to also adjust sysdeps/x86_64/memcpy*
Jakub