On Thu, Nov 07, 2013 at 09:03:30AM +0200, Baruch Siach wrote:
> Not all architectures use 'ret' as function return instruction. For example,
> xtensa usually uses 'retw'. Use the ret_ERRVAL arch dependant macro instead.
> 
> Signed-off-by: Baruch Siach <bar...@tkos.co.il>
> ---
> v2: Add ret_ERRVAL to architectures missing it as noted by Bernhard
>       Reutner-Fischer.
> ---
>  libc/sysdeps/linux/bfin/sysdep.h  | 2 ++
>  libc/sysdeps/linux/cris/sysdep.h  | 2 ++
>  libc/sysdeps/linux/metag/sysdep.h | 2 ++
>  libc/sysdeps/linux/sparc/sysdep.h | 2 ++
>  librt/mq_timedreceive.S           | 2 +-
>  librt/mq_timedsend.S              | 2 +-

What is the sense in having these files written in assembly in the
first place? A proper C file with an inline syscall should compile to
exactly the same thing and be much more maintainable.

Rich
_______________________________________________
uClibc mailing list
uClibc@uclibc.org
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to