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

    <tr>
        <th>Summary</th>
        <td>
            [lld][LoongArch] Check that the relocation addend is zero before applying relaxation to R_LARCH_GOT_PC_{HI20,LO12}
        </td>
    </tr>

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

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

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

<pre>
    /cherry-pick 4ec8503e4c480f52426ddd03619b017f19a2f452
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxE0M2O2yAQwPGnwRe0EYwh2AcO-ZC7lSJtteo9wjDYdEmwAK-aPn3ldKWe5vLXaH5jSgnTHVETeSTy3Ji1zinrMRvHmjG5hyYw2BlzfrwswX5QgbaTrEVhRce8BAF75xxr97wfGVee9wa8kNA43bq-7U2DmispOFNdz5tZmxbAW6lQeN95BCs5854rxSV0hrkmaGAgWceACc5bvtv3Djou3Yit4lJ2RDC8mRB3MX7edilPTShlRc0lVz000YwYyxMEEKMjAJss6y1_GdepEMFiKLX8X1BDjc8fbL08E3m8pHSfDtnORJ7paUb7QetsKq0z0owxWVNDulPjHN4dDYX-wZzoiD5lpGZZ4iPcp600v_-VNdH36-Xwfnq9fnv7ef1xuhJ1fP0OjMDp8saBqHOz5qjnWpdC2gOBgcAwhTqv486mG4FhO_drvCw5_UJbCQxPfCEwfPk_NfwNAAD__9NfkSE">