[uClibc] SH4 shared libraries

Carl SHAW carl.shaw at st.com
Tue Aug 17 15:30:23 UTC 2004

I finally tracked down the problem with SH4 shared library loading - 

in file ldso/ldso/sh/dl-startup.h, the line

#define DL_BOOT(X)   static void __attribute_used__ _dl_boot2 (X)

should be

#define DL_BOOT(X)   static void* __attribute_used__ _dl_boot2 (X)

otherwise the application code will never be called and _dl_boot will
just return causing a segmentation fault.


More information about the uClibc mailing list