[uClibc] SH4 shared libraries

Erik Andersen andersen at codepoet.org
Tue Aug 17 20:01:31 UTC 2004


On Tue Aug 17, 2004 at 04:30:23PM +0100, Carl SHAW wrote:
> 
> 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.

applied thanks,

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list