Prevent abort in register_data_segments for Symbian and Emscripten
authorIvan Maidanski <ivmai@mail.ru>
Tue, 20 Jun 2017 14:05:20 +0000 (17:05 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 20 Jun 2017 18:22:16 +0000 (21:22 +0300)
commit394c02bdb8bea4a3590452873f11a0692963ae5c
treeb2a572f633fcddf0b44d82ebf4c276aaa1c77952
parent76fd95b4803197954c60c585e4dfc795c4d5c533
Prevent abort in register_data_segments for Symbian and Emscripten

Issue #163 (bdwgc).

DATASTART is tested to have a non-null value in GC_register_data_segments,
so the macro should not be defined to null even if it is not really
used (null value typically means that the corresponding weak symbol
is not resolved).

* include/private/gcconfig.h [SYMBIAN || __EMSCRIPTEN__] (DATASTART,
DATAEND): Change to a non-null value (ALIGNMENT).
include/private/gcconfig.h