<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/82438>82438</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[LLD/ELF] Document large section support
</td>
</tr>
<tr>
<th>Labels</th>
<td>
lld:ELF
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
aeubanks
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
rnk
</td>
</tr>
</table>
<pre>
LLD's support for the large (and medium) code models has evolved significantly in the last year, and I think it deserves a standalone writeup, similar to the other features which are written up in [lld/ELF/docs](https://github.com/llvm/llvm-project/tree/main/lld/docs/ELF): __start/__stop, backref warnings, and linker scripts.
In particular, a public diagram of the section layout (.rodata, .text, .data, .bss -> add in the .l variants where they go) that is linkable and searchable would be really helpful, along with an explanation of the concept of relocation pressure.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUU8GO6ygQ_Bp8aT3LwXHiHHzI27xII80_jNrQttlgsKBJJn-_gkl2z3uxoYGi6KrCGM3siAbR_RZSIqUR3S0KKUV3qTDx4sMQ3K0avX4On58XIY8RYto2HxgmH4AXAothJhCyR6dhJW3SKuQJlNcEq9dkIywYge7e3klDvtJMRqFj-wTjXhiR4UkYhPwLMs4H8GLcDQyDpkjhThEQIqPTaL0jeATDlLa8P5rVWAzAvmB5XijARMgpUITHYtQCGH6OMDlIW75WdL-t1UJe_3xehbxqr6LoLkL2C_MWRXsWMtdnw0saa-VXIa_W3t-_X1vwf5NiIa8ciIS8rmhcWdRvuBf2SbRn-PqKjCFvzyNfiI-oboEmeGBwxs3x_Xhr3I0CRBXMxrEWzUU055_vh4MNAxuV7KtZsKXRGgXa4BxwBT-VLkRSbLwDi0-fOMtTB6-RMR-qmb65DP6tjDHCL9H-AdT6rUpt4Y7BoOPcRgqUq0-YfdaXF2QwsZDF0VJhHgmDWsr04ZPVMBIEQmufsJDdpmQLZ-vdDA_DC6AD-t4sOixsX-SVd4o2ztNA1qufxS1QjClQXemh1af2hBUNu2PT74_NodtVy9Drw6lHnPr-tNu3bafGRh1w1HI8Hk89HiszyEbuGykb2TZ9K-t26vGw248SD93UyUbsG1rR2DprXPswVybGREMv921fWRzJxldcstDtuShc8hKG4osxzVHsG2six_9Q2LAtOSspKr7oLnDxKq3k-JWht2avhFUp2OF_u7Hwzd4rlP8JAAD__xM7SuI">