mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
Avoid local PLT reference in __nptl_main.
This commit is contained in:
parent
6ab1d1ea96
commit
f05e73f660
@ -1,3 +1,7 @@
|
||||
2014-10-21 Roland McGrath <roland@hack.frob.com>
|
||||
|
||||
* nptl/version.c (__nptl_main): Call __libc_write, not __write.
|
||||
|
||||
2014-10-20 Roland McGrath <roland@hack.frob.com>
|
||||
|
||||
* io/fts.c (dirent_not_directory): New function.
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user