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

    <tr>
        <th>Summary</th>
        <td>
            [Issue][Aarch64][Arm] questions  abot relocations
        </td>
    </tr>

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

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

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

<pre>
    I find in aarch64,   access the weak symbol address via a GOT entry when pie or not, However armv7l and x86 not.  I found that the ABI for aarch64 has relevant specifications, but the remaining architectures do not. Is this a difference with aarch64?  The problem is that the kernel does not support the relocation entries in the got table.

demo: https://godbolt.org/z/6nT8631Mn

https://github.com/ARM-software/abi-aa/blob/2b220a549315c4b7675a94925660934bc9d20f9d/sysvabi64/sysvabi64.rst?plain=1#L907-L945
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJx8Us1u4zYQfhrqMrAhkaIUHXRwaqg1kKBAkVNvQ3FksaFIlaTsuk-_oJ1sFnvYk0Ryvp-ZbzBGc3ZEPZPPTB4L3NLsQ__3TG5Gd654JQrl9a0_wWScBuMAMYxzUzP-GwDgOFKMkGaCK-E7xNuivAXUOuT7i0FA-P3PNyCXwg2uMzlYDYEP4HzKHH_4K10oAIbl0lpAp-G_pya_7gFOMPnNaUgzprvI4TlfhU8TMGOEQJYu6BLElUYzmRGT8S5mcrU9YIEWNM64M2ScSTSmLVAE7R9Cp9yCiYCgzTRRIDcSXE2av3crBoC3mWANXllawMQvU-8UHFnQnmKmg7itqw-fytY_DN1HYCjmGeaXs0-QUFnas_LAyoOmxTNxgDmlNTJxYHxgfDh7rbxNex_OjA__Mz407u2pEdWre8B-Kjdp3tR-9Avjw-Gv1130U7piIMYHVGaHyPigrFeMD1xxXqKsO1HJsVZt00rs6o7Lpik7Uaux07ycOs34EG_xgsrk1L_-9yEmJobVonFMHCvGxUtXtruXrpaF7oXuRIcF9VVbV03XNbIs5p6XohLVJHUnlK74OEo1dnVd1XrspnYShel5yWUpqqoSvBXlvhHUNFLwRsgGa06sLnOadm_tZclzKUyMG_WVKNtWFhYV2fi5z6HPVTu1nSOrS2tiil-4ZJK9b_4pEzB5ZPL58JH34xAWJo_w70bxvlIAqHz6IdNYbMH2v4gga318dmvw_9CYGB_uhiPjw4fnS8-_BQAA___n_SO6">