diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2010-04-09 17:35:18 +0000 |
---|---|---|
committer | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2010-04-09 17:35:18 +0000 |
commit | 48c644e9fb918a64726ddf05c67aa6a50e6bf679 (patch) | |
tree | c261fb4a84ed52a472f8babc5c6fd427d4cd4a86 /gcc/config/sol2.h | |
parent | 776834f89e5d95ffaab2aafeda0f08d4fc59eaa6 (diff) |
* configure.ac (plugin -rdynamic test): Log result.
* configure: Regenerate.
* config/sol2.h (LINK_SPEC): Handle -rdynamic.
(RDYNAMIC_SPEC): Define.
* config/sol2-gld.h (RDYNAMIC_SPEC): Redefine.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@158173 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/sol2.h')
-rw-r--r-- | gcc/config/sol2.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/sol2.h b/gcc/config/sol2.h index 8f24bc745f3..98e54e6a92c 100644 --- a/gcc/config/sol2.h +++ b/gcc/config/sol2.h @@ -174,12 +174,16 @@ along with GCC; see the file COPYING3. If not see #define LINK_SPEC \ "%{h*} %{v:-V} \ %{b} \ + %{!shared:%{!static:%{rdynamic: " RDYNAMIC_SPEC "}}} \ %{static:-dn -Bstatic} \ %{shared:-G -dy %{!mimpure-text:-z text}} \ %{symbolic:-Bsymbolic -G -dy -z text} \ %(link_arch) \ %{Qy:} %{!Qn:-Qy}" +/* With Sun ld, -rdynamic is a no-op. */ +#define RDYNAMIC_SPEC "" + /* The Solaris linker doesn't understand constructor priorities. (The GNU linker does support constructor priorities, so GNU ld configuration files for Solaris override this setting.) */ |