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

    <tr>
        <th>Summary</th>
        <td>
            Backport `.init_array` WebAssembly fixes to release/19.x
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

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

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

<pre>
    I'd like to backport #111008 & #119127, implementing fixes for when there are multiple `.init_array` sections in WebAssembly.

/cherry-pick ac5dd455caaf286625f61b604291f2eaed9702f0 ed91843d435d0cd2c39ebb1a50f2907c621f07ed
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxkkd9q3jwMxq_GOTENthLb8YEP2u_jhV3BDof_KIlXJw620_a9-5G3ZRsMBEIIPZKen601LjuiIeKFiP87e7Y1F7NgLgvWZpelcznczTcCKtAUX5G2TJ31r0cujRIYOOeMTZSA_Kw0B0XgPxq3I-GGe4v7Quf4gZXOudD3FXfaVixIbUG6nanFIyElkvVxj-2HLcXeiWS0om8x75XGnX5H91wrbi7de8Ker4CbX7GU-9MR_Su1XoQwCuGtnWGSEsQsuZNsBM1nQItBKwYzoxg0n8YhjIMIzAfwg0bnuBVsBs2Ul8BnpjB0wQxBD9p2aLgaBs0mANWtZrKoJerROe8HwGnWQkmPI7fCeghDFw0wGDlwzjRnoHohQY8TODX5UUkEMjLcbEx9Sm9bn8vSxVpPNJxrAVOXrMNUH0AAdnynjy4BuPgUcw09uXOpZGQp1lb_yLTYEpqX33D-sfQvG7-QtEwLJrQVCdy47j-6sySztnZUMlwmE7gtsa2n633eCNyuZV_p6Sj5J_pG4PY4sV4Snz-8GfgVAAD__070vEA">