summaryrefslogtreecommitdiff
path: root/doc/gperf.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/gperf.texi')
-rw-r--r--doc/gperf.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/gperf.texi b/doc/gperf.texi
index dd4df04..b9ce792 100644
--- a/doc/gperf.texi
+++ b/doc/gperf.texi
@@ -931,6 +931,13 @@ Generate the static table of keywords as a static global variable,
rather than hiding it inside of the lookup function (which is the
default behavior).
+@item -P
+@itemx --pic
+Optimize the generated table for inclusion in shared libraries. This
+reduces the startup time of programs using a shared library containing
+the generated code, at the expense of one more test-and-branch instruction
+at run time.
+
@item -W @var{hash-table-array-name}
@itemx --word-array-name=@var{hash-table-array-name}
@cindex Array name