From: Anton Korobeynikov
bit(2-4)
Linkage type: 0=External, 1=Weak,
-2=Appending, 3=Internal, 4=LinkOnce
+ 2=Appending, 3=Internal, 4=LinkOnce, 5=DllImport,
+ 6=DllExport, 7=ExternWeak
bit(5-31)
@@ -1136,13 +1137,16 @@ href="#uint32_vbr">uint32_vbr that describes the function.
bit(4)
If this bit is set to 1, the indicated function is
external, and there is no Function Definiton
- Block in the bytecode file for the function.
+ Block in the bytecode file for the function. If the function is
+ external and has dllimport or extern_weak linkage additional
+ field in the extension word is used to indicate the actual linkage
+ type.
- bit(5-30)
Type slot number of type for the function.
+
@@ -1171,7 +1175,12 @@ follows with the following fields:bit(31)
Indicates whether an extension word follows.
+ The next two types of linkage are targeted for Microsoft Windows platform + only. They are designed to support importing (exporting) symbols from (to) + DLLs. +
+ +_imp__
and the function or variable name.
+ _imp__
and the function or variable
+ name.
+