summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorFelix Yan <felixonmars@archlinux.org>2023-09-27 13:11:26 +0300
committerAnderson Torres <torres.anderson.85@protonmail.com>2023-09-27 09:59:56 -0300
commit8ac0795c1f54546caf49c759063a34e2a1e232a8 (patch)
tree819e9c08c884f5c78a90b76310424757f1ecbbf2 /doc
parentce860f6a1e0989d041556c45832b0b370a3d59a3 (diff)
doc: fix wrong flag in description of `bindnow`
`-z bindnow` doesn't exist. The actual flag added is `-z now`.
Diffstat (limited to 'doc')
-rw-r--r--doc/stdenv/stdenv.chapter.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/stdenv/stdenv.chapter.md b/doc/stdenv/stdenv.chapter.md
index 15cb081a04e22..08ee0e349d020 100644
--- a/doc/stdenv/stdenv.chapter.md
+++ b/doc/stdenv/stdenv.chapter.md
@@ -1478,7 +1478,7 @@ This flag can break dynamic shared object loading. For instance, the module syst
 
 #### `bindnow` {#bindnow}
 
-Adds the `-z bindnow` linker option. During program load, all dynamic symbols are resolved, allowing for the complete GOT to be marked read-only (due to `relro`). This prevents GOT overwrite attacks. For very large applications, this can incur some performance loss during initial load while symbols are resolved, but this shouldn’t be an issue for daemons.
+Adds the `-z now` linker option. During program load, all dynamic symbols are resolved, allowing for the complete GOT to be marked read-only (due to `relro`). This prevents GOT overwrite attacks. For very large applications, this can incur some performance loss during initial load while symbols are resolved, but this shouldn’t be an issue for daemons.
 
 This flag can break dynamic shared object loading. For instance, the module systems of Xorg and PHP are incompatible with this flag. Programs incompatible with this flag often fail at runtime due to missing symbols, like: