deb23819c8e6beb1871d17b87dfcd481e6b9cda5
explain/crt.md
... | ... | @@ -10,7 +10,7 @@ function: |
10 | 10 | |
11 | 11 | 1. aligns the stack |
12 | 12 | 2. reads `argc`, `argv`, `environ` and [the auxiliary vector |
13 | - ](https://refspecs.linuxfoundation.org/LSB_1.3.0/IA64/spec/auxiliaryvector.html) from the stack |
|
13 | + ](https://refspecs.linuxfoundation.org/LSB_1.3.0/IA64/spec/auxiliaryvector.html) from the stack (see the links to LWN in [Process creation](https://linux.weeaboo.software/explain/proc) for stack content details) |
|
14 | 14 | 3. sets up TLS, locales, and other crap |
15 | 15 | 4. calls `__libc_start_user`, which first calls the constructors of all global (C++) variables, then calls `main`, and `exit` automatically as |
16 | 16 | well. |