config.gcc (*-*-netbsd*): Remove check for NetBSD versions not having __cxa_atexit.
authorKrister Walfridsson <krister.walfridsson@gmail.com>
Sun, 23 Jul 2017 23:43:08 +0000 (23:43 +0000)
committerKrister Walfridsson <kristerw@gcc.gnu.org>
Sun, 23 Jul 2017 23:43:08 +0000 (23:43 +0000)
2017-07-23  Krister Walfridsson  <krister.walfridsson@gmail.com>

* config.gcc (*-*-netbsd*): Remove check for NetBSD versions not
having __cxa_atexit.

From-SVN: r250466

gcc/ChangeLog
gcc/config.gcc

index 8887cef63880a299e14e13943d49c042d13d66f3..4740edbff242eeb817652858a700cdd1d66385fb 100644 (file)
@@ -1,3 +1,8 @@
+2017-07-23  Krister Walfridsson  <krister.walfridsson@gmail.com>
+
+       * config.gcc (*-*-netbsd*): Remove check for NetBSD versions not
+       having __cxa_atexit.
+
 2017-07-23  Michael Collison  <michael.collison@arm.com>
 
        * config/arm/arm.c (arm_option_override): Deprecate
index b8b99692a5f488044a5b2cc7471433f37ca25a8e..2ae0218b5fc2fcf3fa144f0a47decf2da7be0294 100644 (file)
@@ -798,14 +798,7 @@ case ${target} in
   case ${enable_threads} in
     "" | yes | posix) thread_file='posix' ;;
   esac
-
-  # NetBSD 2.0 and later provide __cxa_atexit(), which we use by
-  # default (unless overridden by --disable-__cxa_atexit).
-  case ${target} in
-    *-*-netbsd[2-9]* | *-*-netbsdelf[2-9]*)
-      default_use_cxa_atexit=yes
-      ;;
-  esac
+  default_use_cxa_atexit=yes
   ;;
 *-*-openbsd*)
   tmake_file="t-openbsd"