[webkit-changes] [WebKit/WebKit] 135125: [JSC] Fix GOT relocation for ARM64_32 since adrp a...

Yijia Huang noreply at github.com
Thu Aug 22 15:31:02 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1351254b9d49297d9e72829b6a1109cd18bc054c
      https://github.com/WebKit/WebKit/commit/1351254b9d49297d9e72829b6a1109cd18bc054c
  Author: Yijia Huang <yijia_huang at apple.com>
  Date:   2024-08-22 (Thu, 22 Aug 2024)

  Changed paths:
    M Source/JavaScriptCore/offlineasm/arm64.rb

  Log Message:
  -----------
  [JSC] Fix GOT relocation for ARM64_32 since adrp and ldr expect 64bit registers with only 32bit addresses
https://bugs.webkit.org/show_bug.cgi?id=278536
rdar://134522961

Reviewed by Yusuke Suzuki.

The build failures for ARM64_32 indicate that adrp and ldr expect
64-bit registers but with only 32-bit addresses. However,
the link warning mentioned in [1] checks for not loading 4-byte
on LDR instruction. So, this patch proposes this fix.

[1] https://commits.webkit.org/282625@main

* Source/JavaScriptCore/offlineasm/arm64.rb:

Canonical link: https://commits.webkit.org/282636@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list