Fix build for Nintendo platform
authorBruce A Henderson <woollybah@gmail.com>
Wed, 11 Jul 2018 07:39:28 +0000 (10:39 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 11 Jul 2018 07:39:28 +0000 (10:39 +0300)
commit0579f9ca912272882b1bcfd137c2b9b4d832ecce
tree380c495dad0df943c4c8c5f595a8eb42c4bd638b
parentc88c621500984442369e0ae4ceeec54cfb9a6ce4
Fix build for Nintendo platform
(fix of commit 9718229)

Issue #228 (bdwgc).

The NINTENDO_SWITCH defines in gcconfig.h were in the wrong section
(under ARM32).  Now they are under AARCH64 instead.

* include/private/gcconfig.h (__arm__): Remove checking of
NN_BUILD_TARGET_PLATFORM_NX.
* include/private/gcconfig.h [AARCH64 && NINTENDO_SWITCH] (__bss_end,
NO_HANDLE_FORK, DATASTART, DATAEND, switch_get_stack_bottom,
STACKBOTTOM): Move from ARM32 section.
include/private/gcconfig.h