diff options
author | Loren J. Rittle <ljrittle@acm.org> | 2009-09-11 15:29:47 +0000 |
---|---|---|
committer | Loren J. Rittle <ljrittle@gcc.gnu.org> | 2009-09-11 15:29:47 +0000 |
commit | 8a47c6c41fed4fda85ec2dceaa34863686109f94 (patch) | |
tree | a4f85e46e080c75a51b909323d0ab7018889e258 | |
parent | fc52f99da8f58e11eadd3d6ff668cc949d120917 (diff) | |
download | gcc-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/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config.gcc | 7 |
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) |