From b74103ef6b869db674045957e8fadad867b9ca54 Mon Sep 17 00:00:00 2001 From: Krister Walfridsson Date: Sun, 23 Jul 2017 23:43:08 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config.gcc | 9 +-------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8887cef63880..4740edbff242 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 b8b99692a5f4..2ae0218b5fc2 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" -- 2.43.5