Skip to content

Commit

Permalink
ldelf: increase heap size from 8 to 12 KiB
Browse files Browse the repository at this point in the history
The ldelf heap is not big enough to load some 64-bit TAs with several
shared libraries such as xtest 1006 when CFG_ULIBS_SHARED=y:

 * regression_1006 Test Basic OS features
 E/LD:  copy_section_headers:766 malloc
 E/TC:? 0 init_with_ldelf:229 ldelf failed with res: 0xffff000c
 E/TC:? 0 tee_ta_open_session:727 Failed. Return error 0xffff000c
   regression_1006 FAILED

Signed-off-by: Jerome Forissier <[email protected]>
Acked-by: Joakim Bech <[email protected]>
Reviewed-by: Jens Wiklander <[email protected]>
  • Loading branch information
jforissier committed Oct 7, 2019
1 parent 318b762 commit 0c76446
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ldelf/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include "sys.h"
#include "ta_elf.h"

static size_t mpool_size = 2 * SMALL_PAGE_SIZE;
static size_t mpool_size = 3 * SMALL_PAGE_SIZE;
static vaddr_t mpool_base;

static void __printf(2, 0) print_to_console(void *pctx __unused,
Expand Down

0 comments on commit 0c76446

Please sign in to comment.