Fun with the dynamic loader.
Carmelo AMOROSO
carmelo.amoroso at st.com
Fri Nov 14 08:27:45 UTC 2008
Rob Landley wrote:
> While debugging why the dynamic loader is just not working for me on sparc, I
> stumbled across this little gem:
>
> Near the end of ldso/ldso/dl-startup.c we have the only user of the START()
> macro:
>
> #ifndef START
> return _dl_elf_main;
> #else
> START();
> #endif
>
> Only three architectures actually #define this macro: frv, bfin, and avr32.
> The last of which does:
>
> ./avr32/dl-startup.h:#define START() return _dl_elf_main;
>
> So it's #defining the macro to do what the absence of the macro would do.
>
> Why?
>
I think it can be safely removed. it doesn't make sense.
> Rob
Carmelo
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://busybox.net/cgi-bin/mailman/listinfo/uclibc
More information about the uClibc
mailing list