https://sourceware.org/bugzilla/show_bug.cgi?id=18160
--- Comment #4 from Matt Ickstadt <matthew.ickstadt at gmail dot com> --- Created attachment 8209 --> https://sourceware.org/bugzilla/attachment.cgi?id=8209&action=edit Link file Looking at the link.ld file right now, it's suddenly apparent that this issue is due to the fact that the OUTPUT_FORMAT() in the link file is not the same as the output format from the command line, which explains the strange backtrace. With the link file corrected, it links properly. Perhaps an error can be added for cases in which there are multiple different output formats specified. Also of note is that gold links fine either way; probably because it doesn't use bfd. -- 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