Fix compilation of crtstuff.c when DEFAULT_USE_CXA_ATEXIT is false
authorJohn David Anglin <danglin@gcc.gnu.org>
Sat, 18 Jan 2020 15:30:29 +0000 (10:30 -0500)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sat, 18 Jan 2020 15:30:29 +0000 (10:30 -0500)
commit84479e3a4cebbf2914f748cb363c054abfd47cb6
tree476d5c8d8a2c60e4c802dac30963eb278a785d69
parent93bb79abfcccd09fd1daaf7dd8ff27f352d8f23f
Fix compilation of crtstuff.c when DEFAULT_USE_CXA_ATEXIT is false

PR libgcc/92988
* crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
DEFAULT_USE_CXA_ATEXIT is true.
libgcc/ChangeLog
libgcc/crtstuff.c