From 0138110125400581dc9872dedfcb21bd50b372f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Facundo=20Dom=C3=ADnguez?= Date: Mon, 18 Aug 2014 21:50:15 -0500 Subject: 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 --- docs/users_guide/flags.xml | 9 +++++++++ docs/users_guide/phases.xml | 15 +++++++++++++++ 2 files changed, 24 insertions(+) (limited to 'docs') 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 @@ dynamic - + + + 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 -optl -rdynamic in linux, + and -optl -export-all-symbols in Windows. + dynamic + - + 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 platforms. + + + + + + + + + + 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 -optl -rdynamic in linux, + and -optl -export-all-symbols in Windows. + + -- cgit v1.2.1