commit | 9a9247cda267f20d43e1eb25a5e96cecc73db2a8 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut+renesas@gmail.com> | Sat May 09 22:02:50 2020 +0200 |
committer | Marek Vasut <marek.vasut+renesas@gmail.com> | Sun Aug 02 19:58:26 2020 +0200 |
tree | 9b2e37681c44ddedea42cbe308621581971d535c | |
parent | f992502347242d45088792310ba0fc5683afa155 [diff] |
sh: Set gd->malloc_base if MALLOC_F_LEN is set The gd->malloc_base must be set before the C runtime if the MALLOC_F_LEN is non-zero, otherwise we hit assertion in dlmalloc.c initf_malloc(). So set it. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>