OSDN Git Service

2009-09-11 Loren J. Rittle <ljrittle@acm.org>
authorljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 Sep 2009 15:29:47 +0000 (15:29 +0000)
committerljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 Sep 2009 15:29:47 +0000 (15:29 +0000)
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151636 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config.gcc

index cb345ba..5b43e8a 100644 (file)
@@ -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>:
index 6a680a0..0e3d52b 100644 (file)
@@ -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)