diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2024-07-23 00:57:25 +0200 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2024-07-30 02:32:32 +0200 |
| commit | b52e05426160c193c29e01072736a319e5fb6f24 (patch) | |
| tree | a07dfb7454def797044aebb1c42c607e87378be7 /lib/std/start.zig | |
| parent | 38e0f049c531e83ec2eec80d50b624e6c3b8c486 (diff) | |
| download | zig-b52e05426160c193c29e01072736a319e5fb6f24.tar.gz zig-b52e05426160c193c29e01072736a319e5fb6f24.zip | |
std.os.linux.tls: Refactor and improve documentation.
* Elaborate on the sub-variants of Variant I.
* Clarify the use of the TCB term.
* Rename a bunch of stuff to be more accurate/descriptive.
* Follow Zig's style around namespacing more.
* Use a structure for the ABI TCB.
No functional change intended.
Diffstat (limited to 'lib/std/start.zig')
| -rw-r--r-- | lib/std/start.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/start.zig b/lib/std/start.zig index 2a61be46e4..b5172d4f28 100644 --- a/lib/std/start.zig +++ b/lib/std/start.zig @@ -456,7 +456,7 @@ fn posixCallMainAndExit(argc_argv_ptr: [*]usize) callconv(.C) noreturn { } // Initialize the TLS area. - std.os.linux.tls.initStaticTLS(phdrs); + std.os.linux.tls.initStatic(phdrs); } // The way Linux executables represent stack size is via the PT_GNU_STACK |
