On Wednesday 19 September 2007, [EMAIL PROTECTED] wrote:
> +void (*__uc_malloc_failed)(size_t size) = NULL;
> +/* Seemingly superfluous assigment of NULL above prevents gas error
> + * ("__uc_malloc_failed can't be equated to common symbol
> + * __GI___uc_malloc_failed") in libc_hidden_data_def: */

that's because initialized data goes into the bss and you cant have aliases to 
symbols in the bss section

> +libc_hidden_data_def(__uc_malloc_failed)

you cant do hidden aliases on exported data due to binutils generating copy 
relocs on some architectures ... so the application gets a *copy* of this 
function pointer instead of the real thing :(
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
uClibc mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/uclibc

Reply via email to