summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorFacundo Domínguez <facundo.dominguez@tweag.io>2014-08-18 21:50:15 -0500
committerAustin Seipp <austin@well-typed.com>2014-08-18 23:26:19 -0500
commit0138110125400581dc9872dedfcb21bd50b372f1 (patch)
tree1e23f36001b34a1a4d1e0aabf7999bbe31049662 /docs
parent9a708d38c4491dfdf7f97c03e3ff6d482cbdd66e (diff)
downloadhaskell-0138110125400581dc9872dedfcb21bd50b372f1.tar.gz
Implement -rdynamic in Linux and Windows/MinGW32.
Summary: In Linux, it is a synonym for -optl -rdynamic. In Windows, it is a synonym for -optl -export-all-symbols. Test Plan: validate Reviewers: simonmar, austin Reviewed By: simonmar, austin Subscribers: mboes, phaskell, simonmar, relrod, ezyang, carter Differential Revision: https://phabricator.haskell.org/D102 GHC Trac Issues: #9381
Diffstat (limited to 'docs')
-rw-r--r--docs/users_guide/flags.xml9
-rw-r--r--docs/users_guide/phases.xml15
2 files changed, 24 insertions, 0 deletions
diff --git a/docs/users_guide/flags.xml b/docs/users_guide/flags.xml
index 8381ca1254..dbad11867a 100644
--- a/docs/users_guide/flags.xml
+++ b/docs/users_guide/flags.xml
@@ -2429,6 +2429,15 @@
<entry>dynamic</entry>
<entry>-</entry>
</row>
+ <row>
+ <entry><option>-rdynamic</option></entry>
+ <entry>This instructs the linker to add all symbols, not only used ones, to the
+ dynamic symbol table. Currently Linux and Windows/MinGW32 only.
+ This is equivalent to using <literal>-optl -rdynamic</literal> in linux,
+ and <literal>-optl -export-all-symbols</literal> in Windows.</entry>
+ <entry>dynamic</entry>
+ <entry>-</entry>
+ </row>
</tbody>
</tgroup>
</informaltable>
diff --git a/docs/users_guide/phases.xml b/docs/users_guide/phases.xml
index 8a5589acda..fb92fd39ee 100644
--- a/docs/users_guide/phases.xml
+++ b/docs/users_guide/phases.xml
@@ -1230,6 +1230,21 @@ $ cat foo.hspp</screen>
platforms.</para>
</listitem>
</varlistentry>
+
+ <varlistentry>
+ <term>
+ <option>-rdynamic</option>
+ <indexterm><primary><option>-rdynamic</option></primary>
+ </indexterm>
+ </term>
+ <listitem>
+ <para>
+ This instructs the linker to add all symbols, not only used ones, to the
+ dynamic symbol table. Currently Linux and Windows/MinGW32 only.
+ This is equivalent to using <literal>-optl -rdynamic</literal> in linux,
+ and <literal>-optl -export-all-symbols</literal> in Windows.</para>
+ </listitem>
+ </varlistentry>
</variablelist>
</sect2>