https://sourceware.org/bugzilla/show_bug.cgi?id=22512
--- Comment #2 from wbx at openadk dot org ---
Hi,
it seems to me FDPIC support was never implemented in the C library.
I think the default should be changed to Binfmt FLAT.
When I use following patch with binutils 2.44:
diff -Nur binutils-2.41
https://sourceware.org/bugzilla/show_bug.cgi?id=22512
--- Comment #1 from Alan Modra ---
The assertion failure is this one in lm32_elf_relocate_section:
case R_LM32_16_GOT:
/* Relocation is to the entry for this symbol in the global
offset table. */