From: Roland McGrath Date: Tue, 21 Oct 2014 17:18:17 +0000 (-0700) Subject: Avoid local PLT reference in __nptl_main. X-Git-Tag: glibc-2.21~480 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f05e73f660d5cc3a72b46047c829ccf5e096c88b;p=thirdparty%2Fglibc.git Avoid local PLT reference in __nptl_main. --- diff --git a/ChangeLog b/ChangeLog index 962e730d5d9..bb59eadfe43 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2014-10-21 Roland McGrath + + * nptl/version.c (__nptl_main): Call __libc_write, not __write. + 2014-10-20 Roland McGrath * io/fts.c (dirent_not_directory): New function. diff --git a/nptl/version.c b/nptl/version.c index b2095b41adf..1df7d8e2c9f 100644 --- a/nptl/version.c +++ b/nptl/version.c @@ -38,6 +38,6 @@ __attribute__ ((noreturn)) void __nptl_main (void) { - __write (STDOUT_FILENO, (const char *) banner, sizeof banner - 1); + __libc_write (STDOUT_FILENO, banner, sizeof banner - 1); _exit (0); }