summaryrefslogtreecommitdiff
path: root/docs/users_guide/phases.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/users_guide/phases.rst')
-rw-r--r--docs/users_guide/phases.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/users_guide/phases.rst b/docs/users_guide/phases.rst
index b21ebf9529..74b7bd0f40 100644
--- a/docs/users_guide/phases.rst
+++ b/docs/users_guide/phases.rst
@@ -1226,6 +1226,7 @@ for example).
.. ghc-flag:: -pie
:shortdesc: Instruct the linker to produce a position-independent executable.
:type: dynamic
+ :reverse: -no-pie
:category: linking
:since: 8.2.2
@@ -1247,6 +1248,15 @@ for example).
Also, you may need to use the :ghc-flag:`-rdynamic` flag to ensure that
that symbols are not dropped from your PIE objects.
+.. ghc-flag:: -no-pie
+ :shortdesc: Don't instruct the linker to produce a position-independent executable.
+ :type: dynamic
+ :reverse: -pie
+ :category: linking
+
+ If required, the C compiler will still produce a PIE. Otherwise, this is the default.
+ Refer to -pie for more information about PIEs.
+
.. ghc-flag:: -fkeep-cafs
:shortdesc: Do not garbage-collect CAFs (top-level expressions) at runtime
:type: dynamic