config.gcc (*-*-rtems*): Use __cxa_atexit by default.

2013-07-31  Sebastian Huber  <sebastian.huber@embedded-brains.de>

	* config.gcc (*-*-rtems*): Use __cxa_atexit by default.
	* config/rs6000/rtems.h (TARGET_LIBGCC_SDATA_SECTION): Define.

From-SVN: r201370
This commit is contained in:
Sebastian Huber 2013-07-31 12:58:35 +00:00 committed by Joel Sherrill
parent a781834e44
commit 228c1313ff
3 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2013-07-31 Sebastian Huber <sebastian.huber@embedded-brains.de>
* config.gcc (*-*-rtems*): Use __cxa_atexit by default.
* config/rs6000/rtems.h (TARGET_LIBGCC_SDATA_SECTION): Define.
2013-07-31 Jan-Benedict Glaw <jbglaw@lug-owl.de>
* gen-pass-instances.awk: Fix offset of substr().

View File

@ -760,6 +760,7 @@ case ${target} in
yes) thread_file='rtems' ;;
esac
extra_options="${extra_options} rtems.opt"
default_use_cxa_atexit=yes
use_gcc_stdint=wrap
;;
*-*-uclinux*)

View File

@ -34,6 +34,9 @@
} \
while (0)
#undef TARGET_LIBGCC_SDATA_SECTION
#define TARGET_LIBGCC_SDATA_SECTION ".sdata"
#undef CPP_OS_DEFAULT_SPEC
#define CPP_OS_DEFAULT_SPEC "%(cpp_os_rtems)"