aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoren J. Rittle <ljrittle@acm.org>2009-09-11 15:29:47 +0000
committerLoren J. Rittle <ljrittle@gcc.gnu.org>2009-09-11 15:29:47 +0000
commit8a47c6c41fed4fda85ec2dceaa34863686109f94 (patch)
treea4f85e46e080c75a51b909323d0ab7018889e258
parentfc52f99da8f58e11eadd3d6ff668cc949d120917 (diff)
downloadgcc-8a47c6c41fed4fda85ec2dceaa34863686109f94.zip
gcc-8a47c6c41fed4fda85ec2dceaa34863686109f94.tar.gz
gcc-8a47c6c41fed4fda85ec2dceaa34863686109f94.tar.bz2
config.gcc (*-*-freebsd*): Enable default_use_cxa_atexit to match the system compiler's configuration at...
2009-09-11 Loren J. Rittle <ljrittle@acm.org> * 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
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config.gcc7
2 files changed, 13 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index cb345ba..5b43e8a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2009-09-11 Loren J. Rittle <ljrittle@acm.org>
+
+ * 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 <bernd.schmidt@analog.com>
From Jie Zhang <jie.zhang@analog.com>:
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 6a680a0..0e3d52b 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)