On Fri, 16 Nov 2007 16:44:09 +0100 Carmelo AMOROSO <[EMAIL PROTECTED]> wrote:
> Just an idea... why not redefining 'inline' into > ldso/ldso/avr32/dl-syscalls.h that is included > at the top of ldso/include/dl-syscall.h. > This will not affect any other architectures, letting > the compiler to do the best choice ? Are you sure no other architectures need this? gcc tends to get extremely reluctant about inlining when compiling with -Os, and I have a hard time believing that avr32 is the only architecture that can't call functions before the GOT has been initialized. Actually, we probably can call functions before the GOT has been set up if ldso is compiled with enough optimization, but I think it's more robust to just make sure that the functions that are called early are always inlined. HÃ¥vard _______________________________________________ uClibc mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/uclibc
