From 8a47c6c41fed4fda85ec2dceaa34863686109f94 Mon Sep 17 00:00:00 2001 From: "Loren J. Rittle" Date: Fri, 11 Sep 2009 15:29:47 +0000 Subject: [PATCH] config.gcc (*-*-freebsd*): Enable default_use_cxa_atexit to match the system compiler's configuration at... 2009-09-11 Loren J. Rittle * config.gcc (*-*-freebsd*): Enable default_use_cxa_atexit to match the system compiler's configuration at inflection point. Add comment to remark a remaining difference with system compiler. From-SVN: r151636 --- gcc/ChangeLog | 6 ++++++ gcc/config.gcc | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cb345ba38d37..5b43e8a0fdd9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2009-09-11 Loren J. Rittle + + * config.gcc (*-*-freebsd*): Enable default_use_cxa_atexit + to match the system compiler's configuration at inflection point. + Add comment to remark a remaining difference with system compiler. + 2009-09-11 Bernd Schmidt From Jie Zhang : diff --git a/gcc/config.gcc b/gcc/config.gcc index 6a680a0b094a..0e3d52b5643f 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -478,6 +478,13 @@ case ${target} in ;; esac fbsd_tm_file="${fbsd_tm_file} freebsd-spec.h freebsd.h freebsd-stdint.h" + case ${target} in + *-*-freebsd[345].*) + :;; + *) + default_use_cxa_atexit=yes;; + esac + # need_64bit_hwint=yes # system compiler has this for all arch! use_gcc_stdint=wrap ;; *-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu)