This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 3/4] Consolidate pread/pread64 implementations
- From: Phil Blundell <pb at pbcl dot net>
- To: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- Cc: libc-alpha at sourceware dot org
- Date: Fri, 08 Jan 2016 21:02:19 +0000
- Subject: Re: [PATCH 3/4] Consolidate pread/pread64 implementations
- Authentication-results: sourceware.org; auth=none
- References: <1452187108-6504-1-git-send-email-adhemerval dot zanella at linaro dot org> <1452187108-6504-4-git-send-email-adhemerval dot zanella at linaro dot org> <20160107195245 dot GB25548 at vapier dot lan> <568ECAEE dot 9020602 at linaro dot org> <20160107205418 dot GE25548 at vapier dot lan> <568ED2AD dot 3000109 at linaro dot org> <20160108204336 dot GP25548 at vapier dot lan> <56902136 dot 3000201 at linaro dot org>
On Fri, 2016-01-08 at 18:51 -0200, Adhemerval Zanella wrote:
> I did not say that, what I said is the 'cancellable' syscalls is not a
> good idea to go in syscalls.list. You have duplicate logic (the assembly
> macros) and one need to reimplement function calls in assembly (which
> should be handled by C) while taking care of PIC and non-PIC.
Can't you rework the syscalls.list code to auto-generate C rather than
assembler for the cancellable cases?
p.