[coldfire-gnu-discuss] Usage of shared libraries

Nathan Sidwell nathan at codesourcery.com
Wed Sep 5 08:56:12 UTC 2007


Jate Sujjavanich wrote:
> I attempted to create a shared library according to the new method on pg
> 11 of the guide. I believe that the endianness of the data_end and
> data_start in the flat_hdr is causing a large negative size (0xffffffe4
> or something). So I abandoned that method and tried the old way.
> 
> I've tried using the old/uClibc method to get this working.
> Unfortunately, I am getting an "Illegal Instruction" on the load of the
> flat file. Do you have a working example for a small "hello world"
> shared library using either the new or old method? Thanks.

I'm sorry, we don't have a worked example available.  We do use the scheme 
documented in the guide to build and test the shared libc provided in the 
distribution.

nathan

-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery




More information about the coldfire-gnu-discuss mailing list