<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><span class=""><blockquote type="cite"><div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div>So, what exactly does x86_64-pc-windows-macho mean? Is it producing a COFF or a MachO?</div></div></div></div></div></blockquote></span><div>It is producing a macho file. But as far as I understand it this firmware build does not need and cannot deal with GOT relocations which would not be useful on any current windows system anyway.</div><span class="HOEnZb"><font color="#888888"><div><br></div></font></span></div></div></blockquote><div><br></div><div><span style="font-family:arial,sans-serif;font-size:small">That is an annoying special case. Normally when there is an -elf or -macho at the end we mean a plain elf or macho. For example, producing an ELF that an ELF loader can use on windows.</span></div><div><span style="font-family:arial,sans-serif;font-size:small"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:small">Hopefully the case you have is the only use of *-windows-macho, so the patch is probably OK, but please add a comment explaining it.</span></div><div><span style="font-family:arial,sans-serif;font-size:small"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:small">Cheers,</span></div><div><span style="font-family:arial,sans-serif;font-size:small">Rafael</span></div><div><span style="font-family:arial,sans-serif;font-size:small"> </span></div></div></div></div>