diff options
author | joel <joel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-07-31 12:58:35 +0000 |
---|---|---|
committer | joel <joel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-07-31 12:58:35 +0000 |
commit | d69684b5ae07f73a02fcde2dec64e96eff1aea33 (patch) | |
tree | b1d5eb04603f110ca6f6face30497d42b5b0169a | |
parent | 7fac97ea1a7c81c46f593004b5eff34ab9573170 (diff) | |
download | gcc-d69684b5ae07f73a02fcde2dec64e96eff1aea33.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201370 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config.gcc | 1 | ||||
-rw-r--r-- | gcc/config/rs6000/rtems.h | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c0927cd4c81..5664eee817f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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(). diff --git a/gcc/config.gcc b/gcc/config.gcc index efb74f7e134..e5e94857bea 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -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*) diff --git a/gcc/config/rs6000/rtems.h b/gcc/config/rs6000/rtems.h index b910b5ec5a2..fb22be1e8bb 100644 --- a/gcc/config/rs6000/rtems.h +++ b/gcc/config/rs6000/rtems.h @@ -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)" |