aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKrister Walfridsson <krister.walfridsson@gmail.com>2017-07-23 23:43:08 +0000
committerKrister Walfridsson <kristerw@gcc.gnu.org>2017-07-23 23:43:08 +0000
commitb74103ef6b869db674045957e8fadad867b9ca54 (patch)
tree9fa8730239669255fca5d3b69ad833402c57f1c7 /gcc
parent33cd5f8f424cc16dad99b5dc54854b8c5fdb8287 (diff)
downloadgcc-b74103ef6b869db674045957e8fadad867b9ca54.zip
gcc-b74103ef6b869db674045957e8fadad867b9ca54.tar.gz
gcc-b74103ef6b869db674045957e8fadad867b9ca54.tar.bz2
config.gcc (*-*-netbsd*): Remove check for NetBSD versions not having __cxa_atexit.
2017-07-23 Krister Walfridsson <krister.walfridsson@gmail.com> * config.gcc (*-*-netbsd*): Remove check for NetBSD versions not having __cxa_atexit. From-SVN: r250466
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config.gcc9
2 files changed, 6 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8887cef..4740edbf 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config.gcc b/gcc/config.gcc
index b8b9969..2ae0218 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"