[Bug binutils/22512] lm32 fdpic toolchain segfault with binutils ld

2025-04-12 Thread wbx at openadk dot org
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

[Bug binutils/22512] lm32 fdpic toolchain segfault with binutils ld

2024-02-28 Thread amodra at gmail dot com
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. */