<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/103710>103710</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [lld][clang] I think we need a wine PE header for ELF binaries
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang,
            lld
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          trcrsired
      </td>
    </tr>
</table>

<pre>
    Wine has this special ```__wine_spec_nt_header```

https://github.com/wine-mirror/wine/blob/master/tools/winebuild/spec32.c#L738

is that possible to make lld to print this out so that we can easily build linux .so that can be used in wine PE environment?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8Uk2P2yAQ_TX4MoqFB38kBx92m7VUaQ-99RjxMYnpYogAZ7v_viJOtz2tZBmYGebNew-Zkr14opF1z6w7VnLNc4hjjjomG8lUKpiP8af1BLNMkGebIF1JW-mA9Xz7Tqd36-lU4iefTzNJQ_Ezy_iR8aftP-d8TUw8MZwYTheb51XVOiwMp9Jit9gYQ3ycGE7KBcVwWmTKVMI5BJceabVaZxhOBVZgrRmK10Hs_4ezZWKZ4RpSssoR5ACLfCNwzpT9NVqfN1JhzZDCVv5OoKUHksm6D7jjgLN-_Q3135KSVwRrIgPWQ5kHfrwA-ZuNwS_kMxNTZUZhDuIgKxqbAUWPDW94NY_deY-q64Q6NGehG3nWXLSoede0A2rTVHZEji3fNy0fRN_x2lBv-oFkow_nft8K1nJapHW1c7elDvFS2ZRWGhsuhoZXTipy6W4qonbSXxgiw28M0RXRsHgdx3J5p9ZLYi13NuX0r1222d1fRanvjqx73tp0R_heFPNvRSZPZEB-0t-ch3OI8PI6gbJeRkupWqMbv7C-gD6W3TWGX6Qzw-lOqJj94HQb8U8AAAD___7S2yY">