This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 08/05/2016 10:38 AM, Andreas Schwab wrote:
On Fr, Aug 05 2016, Stefan Liebler <stli@linux.vnet.ibm.com> wrote:diff --git a/sysdeps/unix/sysv/linux/i386/gettimeofday.c b/sysdeps/unix/sysv/linux/i386/gettimeofday.c index 965bb81..cbf7833 100644 --- a/sysdeps/unix/sysv/linux/i386/gettimeofday.c +++ b/sysdeps/unix/sysv/linux/i386/gettimeofday.c @@ -16,14 +16,20 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ +#ifdef SHARED +# define __gettimeofday __redirect___gettimeofday +#endif + #include <sys/time.h> #ifdef SHARED +# undef __gettimeofday +# define redirection __redirect___gettimeofdayPlease use a more specific name for this macro. Andreas.
Okay. Renamed to time_type and __gettimeofday_type. I've posted the whole series again. See follow-up thread: "[PATCH v2 4/9] i386, x86: Use libc_ifunc macro for time, gettimeofday." https://www.sourceware.org/ml/libc-alpha/2016-08/msg00257.html
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |