This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Remove unnecessary IFUNC dispatch for __memset_chk.
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Zack Weinberg <zackw at panix dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Sun, 09 Aug 2015 08:41:03 +0200
- Subject: Re: [PATCH] Remove unnecessary IFUNC dispatch for __memset_chk.
- Authentication-results: sourceware.org; auth=none
- References: <20150809013434 dot 0B16814B9A at panix1 dot panix dot com>
Zack Weinberg <zackw@panix.com> writes:
> __memset_chk does a bounds check (which the C compiler will optimize
> just fine) and then calls memset. That call will itself go through
> IFUNC dispatch,
Does it?
> -#ifndef SHARED
Not in libc.so.
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."