[PATCH] doubt in _dl_exit

Carmelo AMOROSO carmelo.amoroso at st.com
Tue Jun 3 11:49:53 UTC 2008


Bernhard Fischer wrote:
> Could somebody who uses ldso please have a look if this breaks his
> setup?
>
> $ size ldso/ldso/ldso.oS*
>    text	   data	    bss	    dec	    hex	filename
>   12424	     12	     72	  12508	   30dc	ldso/ldso/ldso.oS.old
>   12290	     12	     72	  12374	   3056	ldso/ldso/ldso.oS
>
> @@ -59,7 +59,11 @@
>     dynamic linking at all, so we cannot return any error codes.
>     We just punt if there is an error. */
>  #define __NR__dl_exit __NR_exit
> -static __always_inline _syscall1(void, _dl_exit, int, status);
> +static __always_inline attribute_noreturn void _dl_exit(int status)
> +{
> +	while (1)
> +		INLINE_SYSCALL(exit, 1, status);
> +}
>  
>   
Hi Bernd,
I've just now the chance to update my repo and figured out that this
brakes sh4 build.
My you explain the rationale for this change ?

Thanks,
Carmelo
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://busybox.net/cgi-bin/mailman/listinfo/uclibc
>
>   




More information about the uClibc mailing list