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