Ash 26a006cfac
[WiiU] Toolchain: Fix C++ constructor/destructor handling
The old setup relied on there being at least one constructor *or* the
value of *__CTOR_LIST__ being NULL. Neither of these are guaranteed; and
having no C++ constructors actually resulted in a random value being
read (which passed the NULL check!). This new setup uses the
__CTOR_END__ symbol; which is a pointer to just after the end of the
list. When there are no constructors, it has the same value as
__CTOR_LIST__; so the while loop is never entered.

This fix also allows us to re-enable destructors; in case they're ever
needed.
2017-12-01 18:18:02 +11:00
..
2017-08-19 12:27:24 +02:00
2017-11-14 19:49:50 +01:00
2017-05-23 20:45:14 +02:00
2017-10-28 20:56:04 +03:00
2017-06-21 05:02:03 +02:00
2017-08-19 12:27:24 +02:00
2017-10-03 04:36:43 +02:00
2017-01-22 13:40:32 +01:00