Hi Greg, Greg Ungerer wrote, > Attached is a kernel patch that modifies binfmt_flat to print > out the reloc number along with the reloc error. That way we can > map that back to the reloc entry number printed out in the verbose > output from elf2flt at compile time.
The stm32 is now working, here is the output with patched kernel: ~ # /hello [ 162.460000] BINFMT_FLAT: Loading file: /hello [ 162.460000] Mapping is 90520000, Entry point is 45, data_start is 8984 [ 162.460000] Load /hello: TEXT=90520040-90528984 DATA=905289a0-9052e1b0 BSS=9052e1b0-9053240c [ 162.460000] BINFMT_FLAT: reference 0x870000 to shared library 237, killing hello! SEGV /hello [ 11.230000] BINFMT_FLAT: reference 0x870000 to shared library 237, killing hello! SEGV Hmm, on the stm32 with latest buildroot, I now get this errors. But I just use UCLIBC_FORMAT_FLAT. The kernel defconfig used has CONFIG_BINFMT_SHARED_FLAT enabled. Any idea? best regards Waldemar _______________________________________________ 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