aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/pa
diff options
context:
space:
mode:
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>2006-10-16 01:31:22 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2006-10-16 01:31:22 +0000
commitc05b443868b215036a8d9ba52a1d2f62b2f25fc1 (patch)
tree8807ab64b26f82400e80b12bd065f01f392abf6c /gcc/config/pa
parent0e520746117bcb10c44f9bbd7b90b29c28766412 (diff)
downloadgcc-c05b443868b215036a8d9ba52a1d2f62b2f25fc1.zip
gcc-c05b443868b215036a8d9ba52a1d2f62b2f25fc1.tar.gz
gcc-c05b443868b215036a8d9ba52a1d2f62b2f25fc1.tar.bz2
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
Diffstat (limited to 'gcc/config/pa')
-rw-r--r--gcc/config/pa/pa64-hpux.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/config/pa/pa64-hpux.h b/gcc/config/pa/pa64-hpux.h
index 4caef74..c5c6802 100644
--- a/gcc/config/pa/pa64-hpux.h
+++ b/gcc/config/pa/pa64-hpux.h
@@ -33,7 +33,8 @@ Boston, MA 02110-1301, USA. */
%{!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:-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}}"
#else
#define LINK_SPEC \
@@ -43,7 +44,8 @@ Boston, MA 02110-1301, USA. */
%{!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:-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}}"
#endif