Consolidate non cancellable writev call
commit19926de954bf89feb443aadd4db47a4e912b97b1
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 3 Jul 2017 18:33:23 +0000 (3 15:33 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 21 Aug 2017 18:37:45 +0000 (21 15:37 -0300)
treea9112ddb6db33274f5b609458695c9ce2723e8c1
parentdf1deda60050cc8a68156cf6c81ad42363647a29
Consolidate non cancellable writev call

This patch consolidates all the non cancellable writev calls to use
the __writev_nocancel identifier.  For non cancellable targets it will
be just a macro to call the default respective symbol while on Linux
will be a internal one.

Checked on x86_64-linux-gnu, x86_64-linux-gnu-x32, and i686-linux-gnu.

* gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
__writev_nocancel_nostatus.
(write_call_graph): Likewise.
(write_bb_counts): Likewise.
* resolv/herror.c (herror): Likewise.
* sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
macro.
(__writev_nocancel_nostatus): New macro.
* sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
Remove macro.
(__writev_nocancel_nostatus): New function.
ChangeLog
gmon/gmon.c
resolv/herror.c
sysdeps/generic/not-cancel.h
sysdeps/unix/sysv/linux/not-cancel.h