Browse Source

[PATCH 028/188] Update README.md

From 1fcb65d8e34e1d52cb177f75ea2e1c90696678a1 Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <[email protected]>
Date: Fri, 27 Sep 2019 22:56:22 -0400

git-svn-id: branches/wasm@46024 -
nickysn 5 years ago
parent
commit
e556d302cf
1 changed files with 8 additions and 1 deletions
  1. 8 1
      utils/wasmbin/README.md

+ 8 - 1
utils/wasmbin/README.md

@@ -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: