[PATCH 1/3] posix: Fix internal p{read,write} plt usage

Andreas Schwab schwab@suse.de
Tue May 2 15:53:00 GMT 2017


On Mai 02 2017, Adhemerval Zanella <adhemerval.zanella@linaro.org> wrote:

> 	* include/unistd.h (__pread): Add libc_hidden_proto.
> 	(__pread64): Likewise.
> 	(__pwrite): Likewise.
> 	* sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
> 	(__pread64): Remove.
> 	* sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
> 	* sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
> 	* sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.

I think the hidden alias should always be added to all implementations.
Ok with that change.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Libc-alpha mailing list