This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 1/3] posix: Fix internal p{read,write} plt usage
- From: Andreas Schwab <schwab at suse dot de>
- To: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 02 May 2017 17:53:22 +0200
- Subject: Re: [PATCH 1/3] posix: Fix internal p{read,write} plt usage
- Authentication-results: sourceware.org; auth=none
- References: <1493735612-26045-1-git-send-email-adhemerval.zanella@linaro.org>
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."