[PATCH] memcpy-ssse3: enable chk symbols in static builds
H.J. Lu
hjl.tools@gmail.com
Sun Feb 6 23:53:00 GMT 2011
On Sun, Feb 6, 2011 at 2:54 PM, Mike Frysinger <vapier@gentoo.org> wrote:
> On Sunday, February 06, 2011 17:46:45 H.J. Lu wrote:
>> On Sun, Feb 6, 2011 at 10:28 AM, Mike Frysinger <vapier@gentoo.org> wrote:
>> > 2011-02-06 Mike Frysinger <vapier@gentoo.org>
>> >
>> > * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Delete SHARED ifdef
>> > check around MEMCPY_CHK symbol.
>> > * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
>>
>> I don't think it is correct. Please try this.
>
> i dont think either are correct now that you posted this. the whole file is
> protected by:
> #if !defined NOT_IN_libc \
> && (defined SHARED \
> || defined USE_AS_MEMMOVE \
> || !defined USE_MULTIARCH)
>
> so there isnt much point in checking any of these inside of that. just delete
> the whole #if protection from the MEMCPY_CHK symbol.
We don't want to define memcpy_chk in libc.a twice,
--
H.J.
More information about the Libc-alpha
mailing list