diff options
author | gerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-03 15:44:06 +0000 |
---|---|---|
committer | gerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-03 15:44:06 +0000 |
commit | f3c0d3e63d1a91c7d646f556216eb22dfdd81292 (patch) | |
tree | a0e181fe18c4a78b95d2a4f80597ed763e0b3ac5 /gcc | |
parent | 1c5ae16e0527891bb3d304384e19e28634124d68 (diff) | |
download | gcc-f3c0d3e63d1a91c7d646f556216eb22dfdd81292.tar.gz |
* config.gcc (*-*-openbsd4.[3-9]|*-*-openbsd[5-9]*): Set
default_use_cxa_atexit to yes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192039 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config.gcc | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index db70fed01bc..5d9f51955d8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-09-03 Mark Kettenis <kettenis@openbsd.org> + + * config.gcc (*-*-openbsd4.[3-9]|*-*-openbsd[5-9]*): Set + default_use_cxa_atexit to yes. + 2012-10-03 Jakub Jelinek <jakub@redhat.com> PR rtl-optimization/54792 diff --git a/gcc/config.gcc b/gcc/config.gcc index 097d456f676..d3c7ed70cae 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -709,6 +709,11 @@ case ${target} in *-*-openbsd2.*|*-*-openbsd3.[012]) tm_defines="${tm_defines} HAS_LIBC_R=1" ;; esac + case ${target} in + *-*-openbsd4.[3-9]|*-*-openbsd[5-9]*) + default_use_cxa_atexit=yes + ;; + esac ;; *-*-rtems*) case ${enable_threads} in |