From: Ralf Corsepius Date: Wed, 6 Feb 2008 07:34:30 +0000 (+0100) Subject: rtems-elf.h (TARGET_OS_CPP_BUILTINS): Add builtin_define ("__USE_INIT_FINI__"). X-Git-Tag: prereleases/gcc-4.2.4-rc1~154 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=752e5115e4b6d6539c5544813c956778f0d3186d;p=thirdparty%2Fgcc.git rtems-elf.h (TARGET_OS_CPP_BUILTINS): Add builtin_define ("__USE_INIT_FINI__"). 2008-02-06 Ralf Corsepius * config/arm/rtems-elf.h (TARGET_OS_CPP_BUILTINS): Add builtin_define ("__USE_INIT_FINI__"). * config/h8300/t-rtems (MULTILIB_OPTION,MULTILIB_DIRNAMES): Add -msx multilibs. From-SVN: r132142 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1d82595a537d..09ab3a13a6ec 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2008-02-06 Ralf Corsepius + * config/arm/rtems-elf.h (TARGET_OS_CPP_BUILTINS): Add + builtin_define ("__USE_INIT_FINI__"). + * config/h8300/t-rtems (MULTILIB_OPTION,MULTILIB_DIRNAMES): Add + -msx multilibs. * gthr-rtems.h: Remove __GTHREAD_MUTEX_INIT. 2008-02-05 Richard Guenther diff --git a/gcc/config/arm/rtems-elf.h b/gcc/config/arm/rtems-elf.h index ca14a5b43aa0..ebeeed36a908 100644 --- a/gcc/config/arm/rtems-elf.h +++ b/gcc/config/arm/rtems-elf.h @@ -26,6 +26,7 @@ #define TARGET_OS_CPP_BUILTINS() \ do { \ builtin_define ("__rtems__"); \ + builtin_define ("__USE_INIT_FINI__"); \ builtin_assert ("system=rtems"); \ } while (0) diff --git a/gcc/config/h8300/t-rtems b/gcc/config/h8300/t-rtems index 104ee2366f10..0d76437f8cf7 100644 --- a/gcc/config/h8300/t-rtems +++ b/gcc/config/h8300/t-rtems @@ -2,6 +2,6 @@ # -mn is not applicable to RTEMS (-mn implies 16bit void*) -MULTILIB_OPTIONS = mh/ms mint32 -MULTILIB_DIRNAMES = h8300h h8300s int32 +MULTILIB_OPTIONS = mh/ms/msx mint32 +MULTILIB_DIRNAMES = h8300h h8300s h8sx int32 MULTILIB_EXCEPTIONS = mint32