From: Krister Walfridsson Date: Sun, 23 Jul 2017 23:43:08 +0000 (+0000) Subject: config.gcc (*-*-netbsd*): Remove check for NetBSD versions not having __cxa_atexit. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b74103ef6b869db674045957e8fadad867b9ca54;p=gcc.git config.gcc (*-*-netbsd*): Remove check for NetBSD versions not having __cxa_atexit. 2017-07-23 Krister Walfridsson * config.gcc (*-*-netbsd*): Remove check for NetBSD versions not having __cxa_atexit. From-SVN: r250466 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8887cef6388..4740edbff24 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-07-23 Krister Walfridsson + + * config.gcc (*-*-netbsd*): Remove check for NetBSD versions not + having __cxa_atexit. + 2017-07-23 Michael Collison * config/arm/arm.c (arm_option_override): Deprecate diff --git a/gcc/config.gcc b/gcc/config.gcc index b8b99692a5f..2ae0218b5fc 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -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"