WebAssembly / WebAssembly/binaryen

Creating relocatable binaries via AST

Open
#1,307 21 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
WebAssembly
Stars
8.6k
Forks
885
Avg merge
1d 19h
Merged PRs (30d)
69

Description

It doesn't appear that binaryen's AST has a way to include reloc sections. What's everyone doing today with binaryen? (not using LLVM) Didn't see any discussions around a desire to add such support, so curious if perhaps I'm confused.

I guess this probably works in some limited situations as a temporary solution: wasm2wat | wat2wasm --relocatable 😆

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing Binaryen's AST and the WebAssembly Linking relocation-sections specification linked in the issue. Compare the wasm2wat | wat2wasm --relocatable workaround and determine whether AST-based creation needs explicit relocation-section support; done requires a defined implementation path or confirmed existing workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
wasm
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.