https://sourceware.org/bugzilla/show_bug.cgi?id=16698
--- Comment #13 from maillist-gdb at barfooze dot de --- Created attachment 7670 --> https://sourceware.org/bugzilla/attachment.cgi?id=7670&action=edit testcase including all object files and stripped down libc.a savefile.c in the testcase uses both stdin and fflush - i wonder how i could miss that. using -Wl,-M i hunted down all referenced objects files and put them into a mini libc.a, and added musl's crt files. Nick, please see attached tarball, it contains everything needed to reproduce the issue - the only external thing getting pulled in is libgcc. the linker command used by gcc was extracted via strace, simplified and put into link.sh. the file test.elf.wlm contains the output of -Wl,-M. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils