diff options
author | Joseph Myers <joseph@codesourcery.com> | 2011-02-17 18:35:41 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2011-02-17 18:35:41 +0000 |
commit | fa381cb2a157ab74bf8117938f3da5ba51095c2a (patch) | |
tree | 260fa61833790a5abb0b3a2f3fa38465340e24b1 /gcc | |
parent | 5437eaa69d067364050e8dce404dd311e17855b2 (diff) | |
download | gcc-fa381cb2a157ab74bf8117938f3da5ba51095c2a.zip gcc-fa381cb2a157ab74bf8117938f3da5ba51095c2a.tar.gz gcc-fa381cb2a157ab74bf8117938f3da5ba51095c2a.tar.bz2 |
re PR driver/47390 (Linking with -export-dynamic broken)
PR driver/47390
* common.opt (export-dynamic): New Driver option.
* gcc.c (LINK_COMMAND_SPEC): Add comment about %{e*}.
From-SVN: r170253
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/common.opt | 7 | ||||
-rw-r--r-- | gcc/gcc.c | 1 |
3 files changed, 14 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2c41f1f..40d8041 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 2011-02-17 Joseph Myers <joseph@codesourcery.com> + PR driver/47390 + * common.opt (export-dynamic): New Driver option. + * gcc.c (LINK_COMMAND_SPEC): Add comment about %{e*}. + +2011-02-17 Joseph Myers <joseph@codesourcery.com> + * config/rx/rx.h (LIB_SPEC): Match -msim not -msim*. 2011-02-17 Alexandre Oliva <aoliva@redhat.com> diff --git a/gcc/common.opt b/gcc/common.opt index 00c3f33..1f24a3a 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -712,6 +712,13 @@ Driver e Driver Joined Separate +; This option has historically been passed down to the linker by an +; accident of a %{e*} spec, so ensure it continues to be passed down +; as a single option. The supported option for this purpose is +; -rdynamic. See PR 47390. +export-dynamic +Driver Undocumented + ; The version of the C++ ABI in use. The following values are allowed: ; ; 0: The version of the ABI believed most conformant with the C++ ABI @@ -644,6 +644,7 @@ proper position among the other output files. */ directories. */ /* We pass any -flto flags on to the linker, which is expected to understand them. In practice, this means it had better be collect2. */ +/* %{e*} includes -export-dynamic; see comment in common.opt. */ #ifndef LINK_COMMAND_SPEC #define LINK_COMMAND_SPEC "\ %{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\ |