Skip to content

Conversation

@justinmichaud
Copy link

https://bugs.webkit.org/show_bug.cgi?id=305773

See #1600.

We fix this build error:

<inline asm>:320:49: error: Relocation Not In Range
  320 | movw r4, #:lower16:.Lllint_op_tail_call_varargs - .Lllint_relativePCBase
      |                                                 ^
<inline asm>:321:49: error: Relocation Not In Range
  321 | movt r4, #:upper16:.Lllint_op_tail_call_varargs - .Lllint_relativePCBase
...

by emiting a worse sequence, a jump + data + a pc-relative load. This is
only emitted at startup, so the perf impact should be minimal.

@justinmichaud
Copy link
Author

Upstream: WebKit/WebKit#57177

https://bugs.webkit.org/show_bug.cgi?id=306182

Reviewed by Yusuke Suzuki.

See WebPlatformForEmbedded#1600.

We fix this build error:
```
<inline asm>:320:49: error: Relocation Not In Range
  320 | movw r4, #:lower16:.Lllint_op_tail_call_varargs - .Lllint_relativePCBase
      |                                                 ^
<inline asm>:321:49: error: Relocation Not In Range
  321 | movt r4, #:upper16:.Lllint_op_tail_call_varargs - .Lllint_relativePCBase
...

by emiting a worse sequence, a jump + data + a pc-relative load. This is
only emitted at startup, so the perf impact should be minimal.

* Source/JavaScriptCore/offlineasm/arm.rb:

Canonical link: https://commits.webkit.org/306181@main
@justinmichaud justinmichaud force-pushed the eng/32-bit-build-fix-clang-20 branch from 87df002 to 8dd9c72 Compare January 26, 2026 18:45
@magomez magomez merged commit 70d07ca into WebPlatformForEmbedded:wpe-2.46 Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants