summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2003-03-29 00:58:07 +0000
committerBruno Haible <bruno@clisp.org>2003-03-29 00:58:07 +0000
commite66e3563dd0f9370b298c35a0aefda2d8ed70691 (patch)
tree18479e91293c43d74604e662f7fcd2bab6c517f3 /doc
parent85ac0f155c74890f63a179ba9a61cbd7d2a948c7 (diff)
downloadgperf-e66e3563dd0f9370b298c35a0aefda2d8ed70691.tar.gz
New option for position-independent code.
Diffstat (limited to 'doc')
-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