On 3 November 2013 17:20, Baruch Siach <bar...@tkos.co.il> wrote:
> Not all architectures use 'ret' as function return instruction. For example,
> xtensa usually uses 'retw'. Use the ret_ERRVAL arch dependant macro instead.

yea. Did you grep for other occurances?
thanks,
>
> Signed-off-by: Baruch Siach <bar...@tkos.co.il>
> ---
>  librt/mq_timedreceive.S | 2 +-
>  librt/mq_timedsend.S    | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/librt/mq_timedreceive.S b/librt/mq_timedreceive.S
> index 43a5fda..00fecac 100644
> --- a/librt/mq_timedreceive.S
> +++ b/librt/mq_timedreceive.S
> @@ -3,6 +3,6 @@
>  #error Missing definition of NR_timedreceive needed for cancellation.
>  #endif
>  PSEUDO(mq_timedreceive, mq_timedreceive, 5)
> -ret
> +ret_ERRVAL
>  PSEUDO_END(mq_timedreceive)
>  librt_hidden_def(mq_timedreceive)
> diff --git a/librt/mq_timedsend.S b/librt/mq_timedsend.S
> index 13d91da..ee8d483 100644
> --- a/librt/mq_timedsend.S
> +++ b/librt/mq_timedsend.S
> @@ -3,6 +3,6 @@
>  #error Missing definition of NR_timedsend needed for cancellation.
>  #endif
>  PSEUDO(mq_timedsend, mq_timedsend, 5)
> -ret
> +ret_ERRVAL
>  PSEUDO_END(mq_timedsend)
>  librt_hidden_def(mq_timedsend)
> --
> 1.8.4.rc3
>
> _______________________________________________
> uClibc mailing list
> uClibc@uclibc.org
> http://lists.busybox.net/mailman/listinfo/uclibc
_______________________________________________
uClibc mailing list
uClibc@uclibc.org
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to