aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>2009-12-05 19:43:14 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2009-12-05 19:43:14 +0000
commit70d60e880112dcdb7553b648c901817ce5f72cdc (patch)
tree8a069ba9ee145f0798234530df9f1c13f2dc521a /gcc
parent263116c26162e8d9c4ef0f2b93ca22584394e410 (diff)
downloadgcc-70d60e880112dcdb7553b648c901817ce5f72cdc.zip
gcc-70d60e880112dcdb7553b648c901817ce5f72cdc.tar.gz
gcc-70d60e880112dcdb7553b648c901817ce5f72cdc.tar.bz2
pa64-hpux.h (LIB_SPEC): Handle -rdynamic.
* pa64-hpux.h (LIB_SPEC): Handle -rdynamic. * pa-hpux10.h (LIB_SPEC): Likewise. * pa-hpux11.h (LIB_SPEC): Likewise. From-SVN: r155014
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/pa/pa-hpux10.h2
-rw-r--r--gcc/config/pa/pa-hpux11.h1
-rw-r--r--gcc/config/pa/pa64-hpux.h6
4 files changed, 11 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a250252..74d6f75 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
2009-12-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+ * pa64-hpux.h (LIB_SPEC): Handle -rdynamic.
+ * pa-hpux10.h (LIB_SPEC): Likewise.
+ * pa-hpux11.h (LIB_SPEC): Likewise.
+
PR ada/41912
* pa/linux-unwind.h (pa32_fallback_frame_state): Set fs->signal_frame
for signal frames.
diff --git a/gcc/config/pa/pa-hpux10.h b/gcc/config/pa/pa-hpux10.h
index df36ea2..4fe03f6 100644
--- a/gcc/config/pa/pa-hpux10.h
+++ b/gcc/config/pa/pa-hpux10.h
@@ -89,6 +89,7 @@ along with GCC; see the file COPYING3. If not see
%{!shared:%{pg:-L/lib/libp %{!static:\
%nWarning: consider linking with `-static' as system libraries with\n\
%n profiling support are only provided in archive format}}}\
+ %{!shared:%{!static:%{rdynamic:-E}}}\
-z %{mlinker-opt:-O} %{!shared:-u main}\
%{static:-a archive} %{shared:-b}"
#else
@@ -99,6 +100,7 @@ along with GCC; see the file COPYING3. If not see
%{!shared:%{pg:-L/lib/libp %{!static:\
%nWarning: consider linking with `-static' as system libraries with\n\
%n profiling support are only provided in archive format}}}\
+ %{!shared:%{!static:%{rdynamic:-E}}}\
-z %{mlinker-opt:-O} %{!shared:-u main}\
%{static:-a archive} %{shared:-b}"
#endif
diff --git a/gcc/config/pa/pa-hpux11.h b/gcc/config/pa/pa-hpux11.h
index 09b414c..540a93d 100644
--- a/gcc/config/pa/pa-hpux11.h
+++ b/gcc/config/pa/pa-hpux11.h
@@ -110,6 +110,7 @@ along with GCC; see the file COPYING3. If not see
%{!shared:%{pg:-L/lib/libp -L/usr/lib/libp %{!static:\
%nWarning: consider linking with `-static' as system libraries with\n\
%n profiling support are only provided in archive format}}}\
+ %{!shared:%{!static:%{rdynamic:-E}}}\
-z %{mlinker-opt:-O} %{!shared:-u main -u __gcc_plt_call}\
%{static:-a archive} %{shared:-b}"
diff --git a/gcc/config/pa/pa64-hpux.h b/gcc/config/pa/pa64-hpux.h
index 16f5a3e..35ea51c 100644
--- a/gcc/config/pa/pa64-hpux.h
+++ b/gcc/config/pa/pa64-hpux.h
@@ -32,7 +32,8 @@ along with GCC; see the file COPYING3. If not see
%{!shared:%{pg:-L/lib/pa20_64/libp -L/usr/lib/pa20_64/libp %{!static:\
%nWarning: consider linking with `-static' as system libraries with\n\
%n profiling support are only provided in archive format}}}\
- %{mhp-ld:+Accept TypeMismatch -z} -E %{mlinker-opt:-O}\
+ %{!shared:%{!static:%{rdynamic:-E}}}\
+ %{mhp-ld:+Accept TypeMismatch -z} %{mlinker-opt:-O}\
%{!shared:-u main %{!nostdlib:%{!nodefaultlibs:-u __cxa_finalize}}}\
%{static:-a archive} %{shared:%{mhp-ld:-b}%{!mhp-ld:-shared}}"
#else
@@ -43,7 +44,8 @@ along with GCC; see the file COPYING3. If not see
%{!shared:%{pg:-L/lib/pa20_64/libp -L/usr/lib/pa20_64/libp %{!static:\
%nWarning: consider linking with `-static' as system libraries with\n\
%n profiling support are only provided in archive format}}}\
- %{!mgnu-ld:+Accept TypeMismatch -z} -E %{mlinker-opt:-O}\
+ %{!shared:%{!static:%{rdynamic:-E}}}\
+ %{!mgnu-ld:+Accept TypeMismatch -z} %{mlinker-opt:-O}\
%{!shared:-u main %{!nostdlib:%{!nodefaultlibs:-u __cxa_finalize}}}\
%{static:-a archive} %{shared:%{mgnu-ld:-shared}%{!mgnu-ld:-b}}"
#endif