Browse Source

[PATCH 027/188] Update README.md

From 018e97fe982bbb35c6569203e77411e500b3cd57 Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <[email protected]>
Date: Fri, 27 Sep 2019 22:55:16 -0400

git-svn-id: branches/wasm@46023 -
nickysn 5 years ago
parent
commit
d7c13f0cf1
1 changed files with 16 additions and 3 deletions
  1. 16 3
      utils/wasmbin/README.md

+ 16 - 3
utils/wasmbin/README.md

@@ -27,6 +27,19 @@ The desired flag is a string (or a character) that should consists of the follow
 * L - WASM_SYM_BINDING_LOCAL
  
 * D - removes flag WASM_SYM_BINDING_LOCAL
-    
-    --symbolauto
-The flags for each symbol updated and  is determined based of the symbol use:
+
+Multiple characters can be specified per flag.
+     
+     --symbolauto
+
+The flags for each symbol updated and is determined based of the symbol use:
+if a function is a stub function (the only code is "unreachable"), the status given
+ "weak" (it's a reference function elsewhere)                                      
+
+if a function is located in the function table, then the status given is           
+ "hidden" (do not add to the final linked executable)                              
+
+if a function is not located in the function table, the status given is:           
+ "hidden"+"local" (local means the function can be used only in this object file)  
+ 
+Imported and exported functions are left unmodified.