mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 16:17:38 +00:00
Adding dllimport, dllexport and external weak linkage types.
DLL* linkages got full (I hope) codegeneration support in C & both x86 assembler backends. External weak linkage added for future use, we don't provide any codegeneration, etc. support for it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30374 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1025,7 +1025,8 @@ follows. </td>
|
||||
<tr>
|
||||
<td><a href="#bit">bit(2-4)</a></td>
|
||||
<td class="td_left">Linkage type: 0=External, 1=Weak,
|
||||
2=Appending, 3=Internal, 4=LinkOnce</td>
|
||||
2=Appending, 3=Internal, 4=LinkOnce, 5=DllImport,
|
||||
6=DllExport, 7=ExternWeak</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="#bit">bit(5-31)</a></td>
|
||||
@@ -1136,13 +1137,16 @@ href="#uint32_vbr">uint32_vbr</a> that describes the function.</p>
|
||||
<td><a href="#bit">bit(4)</a></td>
|
||||
<td class="td_left">If this bit is set to 1, the indicated function is
|
||||
external, and there is no <a href="#functiondefs">Function Definiton
|
||||
Block</a> in the bytecode file for the function.</td>
|
||||
Block</a> in the bytecode file for the function. If the function is
|
||||
external and has <tt>dllimport or extern_weak</tt> linkage additional
|
||||
field in the extension word is used to indicate the actual linkage
|
||||
type.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="#bit">bit(5-30)</a></td>
|
||||
<td class="td_left">Type slot number of type for the function.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr>
|
||||
<td><a href="#bit">bit(31)</a></td>
|
||||
<td class="td_left">Indicates whether an extension word follows.</td>
|
||||
</tr>
|
||||
@@ -1171,7 +1175,12 @@ follows with the following fields:</p>
|
||||
<td class="td_left">If this bit is set, a SectionID follows this vbr.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="#bit">bit(11-31)</a></td>
|
||||
<td><a href="#bit">bit(11-12)</a></td>
|
||||
<td class="td_left">Linkage type for external functions. 0 - External
|
||||
linkage, 1 - DLLImport linkage, 2 - External weak linkage.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="#bit">bit(13-31)</a></td>
|
||||
<td class="td_left">Currently unassigned.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@@ -1410,8 +1419,8 @@ size<br>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="#uint32_vbr">uint32_vbr</a></td>
|
||||
<td class="td_left">The linkage type of the function: 0=External,
|
||||
1=Weak, 2=Appending, 3=Internal, 4=LinkOnce<sup>1</sup></td>
|
||||
<td class="td_left">The linkage type of the function: 0=External, 1=Weak,
|
||||
2=Appending, 3=Internal, 4=LinkOnce, 5=DllImport, 6=DllExport<sup>1</sup></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="#block">block</a></td>
|
||||
|
||||
Reference in New Issue
Block a user