* config/vxworks.h (SUPPORTS_INIT_PRIORITY): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122992
138bc75d-0d04-0410-961f-
82ee72b054a4
+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.
#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