diff options
| -rw-r--r-- | gcc/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/config/vxworks.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9f66357..b664cdf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2007-03-16 Richard Sandiford <richard@codesourcery.com> + * config/vxworks.h (SUPPORTS_INIT_PRIORITY): Define. + +2007-03-16 Richard Sandiford <richard@codesourcery.com> + * config/vx-common.h (WINT_TYPE, WINT_TYPE_SIZE): Define. 2007-03-16 Uros Bizjak <ubizjak@gmail.com> diff --git a/gcc/config/vxworks.h b/gcc/config/vxworks.h index 2d8bfbd..10d727f 100644 --- a/gcc/config/vxworks.h +++ b/gcc/config/vxworks.h @@ -87,6 +87,10 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA #define VXWORKS_OVERRIDE_OPTIONS vxworks_override_options () extern void vxworks_override_options (void); +/* Only RTPs support prioritized constructors and destructors: + the implementation relies on numbered .ctors* sections. */ +#define SUPPORTS_INIT_PRIORITY TARGET_VXWORKS_RTP + /* VxWorks requires special handling of constructors and destructors. All VxWorks configurations must use these functions. */ #define TARGET_ASM_CONSTRUCTOR vxworks_asm_out_constructor |
