mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 08:29:29 +02:00
[PATCH 028/188] Update README.md
From 1fcb65d8e34e1d52cb177f75ea2e1c90696678a1 Mon Sep 17 00:00:00 2001 From: Dmitry Boyarintsev <skalogryz.lists@gmail.com> Date: Fri, 27 Sep 2019 22:56:22 -0400 git-svn-id: branches/wasm@46024 -
This commit is contained in:
parent
d7c13f0cf1
commit
e556d302cf
@ -4,7 +4,10 @@ Collection of WebAssembly binary utils
|
||||
## wasmtool
|
||||
wasmtool is an utility that allows to modify wasm binary linking information. wat2wasm util is capable of generating binaries with relocation information. However the symbol flags are setup in the manner that final binaries cannot be linked by wasm-ld utility. (i.e. non setting weak symbols).
|
||||
|
||||
### options
|
||||
### command
|
||||
|
||||
#### exportrename
|
||||
|
||||
--exportrename inputfile
|
||||
The option allow to change the export name. The reasoning for that is wasm-ld behavior of renaming the export from the declared name to the symbol name.
|
||||
|
||||
@ -13,6 +16,8 @@ The input file can be either a text file, containing a list of oldname new name
|
||||
OldExportName=NewExportName
|
||||
or the input file can point to an object file. The object file's export section is parsed for the desired export names.
|
||||
|
||||
#### symbolflag
|
||||
|
||||
--symbolflag inputfile
|
||||
The action allows to modify flags for the specified symbols.
|
||||
The input file specified must contain the pairs of symbolname + desired flags.
|
||||
@ -30,6 +35,8 @@ The desired flag is a string (or a character) that should consists of the follow
|
||||
|
||||
Multiple characters can be specified per flag.
|
||||
|
||||
#### symbolauto
|
||||
|
||||
--symbolauto
|
||||
|
||||
The flags for each symbol updated and is determined based of the symbol use:
|
||||
|
Loading…
Reference in New Issue
Block a user