Commit 70d60e88 by John David Anglin Committed by John David Anglin

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
parent 263116c2
2009-12-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> 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 PR ada/41912
* pa/linux-unwind.h (pa32_fallback_frame_state): Set fs->signal_frame * pa/linux-unwind.h (pa32_fallback_frame_state): Set fs->signal_frame
for signal frames. for signal frames.
...@@ -89,6 +89,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -89,6 +89,7 @@ along with GCC; see the file COPYING3. If not see
%{!shared:%{pg:-L/lib/libp %{!static:\ %{!shared:%{pg:-L/lib/libp %{!static:\
%nWarning: consider linking with `-static' as system libraries with\n\ %nWarning: consider linking with `-static' as system libraries with\n\
%n profiling support are only provided in archive format}}}\ %n profiling support are only provided in archive format}}}\
%{!shared:%{!static:%{rdynamic:-E}}}\
-z %{mlinker-opt:-O} %{!shared:-u main}\ -z %{mlinker-opt:-O} %{!shared:-u main}\
%{static:-a archive} %{shared:-b}" %{static:-a archive} %{shared:-b}"
#else #else
...@@ -99,6 +100,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -99,6 +100,7 @@ along with GCC; see the file COPYING3. If not see
%{!shared:%{pg:-L/lib/libp %{!static:\ %{!shared:%{pg:-L/lib/libp %{!static:\
%nWarning: consider linking with `-static' as system libraries with\n\ %nWarning: consider linking with `-static' as system libraries with\n\
%n profiling support are only provided in archive format}}}\ %n profiling support are only provided in archive format}}}\
%{!shared:%{!static:%{rdynamic:-E}}}\
-z %{mlinker-opt:-O} %{!shared:-u main}\ -z %{mlinker-opt:-O} %{!shared:-u main}\
%{static:-a archive} %{shared:-b}" %{static:-a archive} %{shared:-b}"
#endif #endif
......
...@@ -110,6 +110,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -110,6 +110,7 @@ along with GCC; see the file COPYING3. If not see
%{!shared:%{pg:-L/lib/libp -L/usr/lib/libp %{!static:\ %{!shared:%{pg:-L/lib/libp -L/usr/lib/libp %{!static:\
%nWarning: consider linking with `-static' as system libraries with\n\ %nWarning: consider linking with `-static' as system libraries with\n\
%n profiling support are only provided in archive format}}}\ %n profiling support are only provided in archive format}}}\
%{!shared:%{!static:%{rdynamic:-E}}}\
-z %{mlinker-opt:-O} %{!shared:-u main -u __gcc_plt_call}\ -z %{mlinker-opt:-O} %{!shared:-u main -u __gcc_plt_call}\
%{static:-a archive} %{shared:-b}" %{static:-a archive} %{shared:-b}"
......
...@@ -32,7 +32,8 @@ along with GCC; see the file COPYING3. If not see ...@@ -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:\ %{!shared:%{pg:-L/lib/pa20_64/libp -L/usr/lib/pa20_64/libp %{!static:\
%nWarning: consider linking with `-static' as system libraries with\n\ %nWarning: consider linking with `-static' as system libraries with\n\
%n profiling support are only provided in archive format}}}\ %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}}}\ %{!shared:-u main %{!nostdlib:%{!nodefaultlibs:-u __cxa_finalize}}}\
%{static:-a archive} %{shared:%{mhp-ld:-b}%{!mhp-ld:-shared}}" %{static:-a archive} %{shared:%{mhp-ld:-b}%{!mhp-ld:-shared}}"
#else #else
...@@ -43,7 +44,8 @@ along with GCC; see the file COPYING3. If not see ...@@ -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:\ %{!shared:%{pg:-L/lib/pa20_64/libp -L/usr/lib/pa20_64/libp %{!static:\
%nWarning: consider linking with `-static' as system libraries with\n\ %nWarning: consider linking with `-static' as system libraries with\n\
%n profiling support are only provided in archive format}}}\ %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}}}\ %{!shared:-u main %{!nostdlib:%{!nodefaultlibs:-u __cxa_finalize}}}\
%{static:-a archive} %{shared:%{mgnu-ld:-shared}%{!mgnu-ld:-b}}" %{static:-a archive} %{shared:%{mgnu-ld:-shared}%{!mgnu-ld:-b}}"
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment