Commit c05b4438 by John David Anglin Committed by John David Anglin

pa64-hpux.h (LINK_SPEC): Force __cxa_finalize to be an undefined symbol in the output file for...

	* pa64-hpux.h (LINK_SPEC): Force __cxa_finalize to be an undefined
	symbol in the output file for non-shared links when -nostdlib or
	-nodefaultlibs isn't specified.

From-SVN: r117769
parent 0e520746
2006-10-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> 2006-10-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* pa64-hpux.h (LINK_SPEC): Force __cxa_finalize to be an undefined
symbol in the output file for non-shared links when -nostdlib or
-nodefaultlibs isn't specified.
* config.gcc (hppa*64*-*-hpux11*, hppa[12]*-*-hpux11*): Default to * config.gcc (hppa*64*-*-hpux11*, hppa[12]*-*-hpux11*): Default to
posix thread support. posix thread support.
......
...@@ -33,7 +33,8 @@ Boston, MA 02110-1301, USA. */ ...@@ -33,7 +33,8 @@ Boston, MA 02110-1301, USA. */
%{!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:-u main}\ %{mhp-ld:+Accept TypeMismatch -z} -E %{mlinker-opt:-O}\
%{!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
#define LINK_SPEC \ #define LINK_SPEC \
...@@ -43,7 +44,8 @@ Boston, MA 02110-1301, USA. */ ...@@ -43,7 +44,8 @@ Boston, MA 02110-1301, USA. */
%{!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:-u main}\ %{!mgnu-ld:+Accept TypeMismatch -z} -E %{mlinker-opt:-O}\
%{!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