Add pre and post hooks for C++ applications
Ahead of a stable release of the OS, add runtime hooks for C++ applications who require a list of constructors to be called before main()
, and list of destructors on any exit. The symbols are defined as weak so have no effect for existing applications, and their names chosen to match ARM's Norcroft C++ product.