mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Add missing libc_hidden_weak/def calls
* io/read.c (read): Add libc_hidden_weak. * sysdeps/mach/hurd/read.c (read): Likewise. * io/write.c (write): Likewise. * sysdeps/mach/hurd/write.c (write): Likewise. * io/pread64.c (__pread64): Likewise. * sysdeps/mach/hurd/pread64.c (__pread64): Likewise. * posix/pread64.c (__pread64): Add libc_hidden_def.
This commit is contained in:
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
|||||||
|
2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
|
||||||
|
|
||||||
|
* io/read.c (read): Add libc_hidden_weak.
|
||||||
|
* sysdeps/mach/hurd/read.c (read): Likewise.
|
||||||
|
* io/write.c (write): Likewise.
|
||||||
|
* sysdeps/mach/hurd/write.c (write): Likewise.
|
||||||
|
* io/pread64.c (__pread64): Likewise.
|
||||||
|
* sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
|
||||||
|
* posix/pread64.c (__pread64): Add libc_hidden_def.
|
||||||
|
|
||||||
2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
|
2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
|
||||||
|
|
||||||
* benchtests/scripts/compare_strings.py: New option -g.
|
* benchtests/scripts/compare_strings.py: New option -g.
|
||||||
|
@ -45,3 +45,4 @@ stub_warning (read)
|
|||||||
weak_alias (__libc_read, __read)
|
weak_alias (__libc_read, __read)
|
||||||
libc_hidden_weak (__read)
|
libc_hidden_weak (__read)
|
||||||
weak_alias (__libc_read, read)
|
weak_alias (__libc_read, read)
|
||||||
|
libc_hidden_weak (read)
|
||||||
|
@ -46,3 +46,4 @@ stub_warning (write)
|
|||||||
weak_alias (__libc_write, __write)
|
weak_alias (__libc_write, __write)
|
||||||
libc_hidden_weak (__write)
|
libc_hidden_weak (__write)
|
||||||
weak_alias (__libc_write, write)
|
weak_alias (__libc_write, write)
|
||||||
|
libc_hidden_weak (write)
|
||||||
|
@ -40,5 +40,6 @@ __libc_pread64 (int fd, void *buf, size_t nbytes, off64_t offset)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
strong_alias (__libc_pread64, __pread64)
|
strong_alias (__libc_pread64, __pread64)
|
||||||
|
libc_hidden_def (__pread64)
|
||||||
weak_alias (__libc_pread64, pread64)
|
weak_alias (__libc_pread64, pread64)
|
||||||
stub_warning (pread64)
|
stub_warning (pread64)
|
||||||
|
@ -34,5 +34,6 @@ __libc_pread64 (int fd, void *buf, size_t nbytes, off64_t offset)
|
|||||||
|
|
||||||
#ifndef __libc_pread64
|
#ifndef __libc_pread64
|
||||||
weak_alias (__libc_pread64, __pread64)
|
weak_alias (__libc_pread64, __pread64)
|
||||||
|
libc_hidden_weak (__pread64)
|
||||||
weak_alias (__libc_pread64, pread64)
|
weak_alias (__libc_pread64, pread64)
|
||||||
#endif
|
#endif
|
||||||
|
@ -30,3 +30,4 @@ libc_hidden_def (__libc_read)
|
|||||||
weak_alias (__libc_read, __read)
|
weak_alias (__libc_read, __read)
|
||||||
libc_hidden_weak (__read)
|
libc_hidden_weak (__read)
|
||||||
weak_alias (__libc_read, read)
|
weak_alias (__libc_read, read)
|
||||||
|
libc_hidden_weak (read)
|
||||||
|
@ -30,3 +30,4 @@ libc_hidden_def (__libc_write)
|
|||||||
weak_alias (__libc_write, __write)
|
weak_alias (__libc_write, __write)
|
||||||
libc_hidden_weak (__write)
|
libc_hidden_weak (__write)
|
||||||
weak_alias (__libc_write, write)
|
weak_alias (__libc_write, write)
|
||||||
|
libc_hidden_weak (write)
|
||||||
|
@ -58,5 +58,6 @@ __libc_pread64 (int fd, void *buf, size_t nbyte, off64_t offset)
|
|||||||
|
|
||||||
#ifndef __libc_pread64
|
#ifndef __libc_pread64
|
||||||
weak_alias (__libc_pread64, __pread64)
|
weak_alias (__libc_pread64, __pread64)
|
||||||
|
libc_hidden_weak (__pread64)
|
||||||
weak_alias (__libc_pread64, pread64)
|
weak_alias (__libc_pread64, pread64)
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user