I'm currently working on bringing up the Rust target
thumbv7m-unknown-linux-uclibc. I believe I have worked through the majority of the Rust related compiling and linking issues, and am now running into a post-linking issue. The
uClinux environment wants executables in a specific format
bFLT and provides a tool
elf2flt for transforming
bFLTs. Right now the
elf2flt utility is not very pleased with the object files Rust is handing it. Some days
elf2flt complains about "non-fully-resolved input file". Other days it complains about "overlapping .text and .data sections".
Is there anyone out there with experience guiding Rust objects through
elf2flt? Maybe @japaric? I see some level of support for
mips-unknown-linux-uclibc and I'm assuming that
elf2flt was wrangled as part of landing that target.