[VxWorks] Define SUPPORTS_INIT_PRIORITY

Nathan Sidwell nathan@codesourcery.com
Fri Mar 16 14:41:00 GMT 2007


Richard Sandiford wrote:
> On VxWorks, prioritised constructors and destructors are only supported
> for RTPs.  They are not supported by kernel mode, which does not use
> .ctors or .dtors sections.
> 
> Tested on i586-wrs-vxworks, where it fixes the gcc.dg/initpri1.c failure.
> OK to install?

ok

nathan

-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk



More information about the Gcc-patches mailing list