Well, I've been wrestling with getting shared libraries to work on my Coldfire 5235 platform. I've been down the dead end (so far) of moving to the new 20061214 toolchain. I am using uClinux-dist-20051110.
>Freeing unused kernel memory: 32k freed (0x12e000 - 0x135000) >BINFMT_FLAT: Loading file: /bin/init >BINFMT_FLAT: ROM mapping of file (we hope) >BINFMT_FLAT: Allocated data+bss+stack (75946 bytes): f40010 >Mapping is f64000, Entry point is 48, data_start is 3140 >Load /bin/init: TEXT=f64040-f67140 DATA=f40010-f40370 BSS=f40370-f51880 >BINFMT_FLAT: Loading file: /lib/lib1.so >BINFMT_FLAT: ROM mapping of file (we hope) >BINFMT_FLAT: Allocated data+bss+stack (30464 bytes): ec0010 >Mapping is f00000, Entry point is 44, data_start is 370c0 >Lib /lib/lib1.so: TEXT=f00040-f370c0 DATA=ec0010-ec52c0 BSS=ec52c0-ec7710 >BINFMT_FLAT: library 0 is younger than 1, killing init! >BINFMT_FLAT: failed to load library 1, killing init! So load_flat_binary loads and prepares init. Then it realizes the shared library dependency, and loads lib1.so. What I don't know is how the kernel decides that lib1.so depends on init. Does the kernel decide this after traversing the executable's symbol table? - Jate S.
_______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev