rework docs

This commit is contained in:
Quentin Carbonneaux 2026-04-29 11:21:39 +02:00
parent 8c16de02ed
commit f36c06c3ee

View File

@ -228,14 +228,13 @@ symbol's numeric value is resolved at runtime in the
thread-local storage. thread-local storage.
When the `extern` keyword prefixes a symbol name, the When the `extern` keyword prefixes a symbol name, the
symbol is accessed indirectly through the Global Offset symbol is accessed indirectly through a table edited
Table (GOT). Function calls to extern symbols use the by the dynamic linker (e.g., GOT/PLT). This enables
Procedure Linkage Table (PLT). This enables PIE and PIE/PIC code generation. When `extern` is combined
PIC code generation for symbols that are not part of with `thread`, the symbol is accessed using the
the main executable. When `extern` is combined with initial-exec TLS model, suitable for thread-local
`thread`, the symbol is accessed using the initial-exec variables defined in shared objects available at
TLS model, suitable for thread-local variables defined startup time (i.e., not loaded through dlopen).
in shared libraries.
Vals are used as arguments in regular, phi, and jump Vals are used as arguments in regular, phi, and jump
instructions within function definitions. They are instructions within function definitions. They are