[webkit-changes] [WebKit/WebKit] d43ae0: [JSC] Fix GOT relocation in offlineasm for ARM64_32

Yijia Huang noreply at github.com
Thu Aug 22 11:12:50 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d43ae0bc142d79a00c629679c16c3e178cb34101
      https://github.com/WebKit/WebKit/commit/d43ae0bc142d79a00c629679c16c3e178cb34101
  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 in offlineasm for ARM64_32
https://bugs.webkit.org/show_bug.cgi?id=278528
rdar://134433908

Reviewed by Yusuke Suzuki.

Fix assembly generation logic in offlineasm to correctly handle GOT relocation
for the arm64_32 architecture. This change ensures that the GOT entries are correctly
referenced and loaded on arm64_32 devices, mitigating the link warning for
not load 4-byte on LDR instruction and preventing potential runtime errors.

* Source/JavaScriptCore/offlineasm/arm64.rb:
* Source/WTF/wtf/PlatformCPU.h:

Canonical link: https://commits.webkit.org/282625@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