diff options
-rw-r--r-- | c/src/tests/sptests/spsize/size.c | 7 | ||||
-rw-r--r-- | testsuites/sptests/spsize/size.c | 7 |
2 files changed, 10 insertions, 4 deletions
diff --git a/c/src/tests/sptests/spsize/size.c b/c/src/tests/sptests/spsize/size.c index 666f1e1468..5b3385c8e6 100644 --- a/c/src/tests/sptests/spsize/size.c +++ b/c/src/tests/sptests/spsize/size.c @@ -393,8 +393,11 @@ uninitialized += (sizeof _CPU_Interrupt_stack_low) + /* cpu.h */ uninitialized += (sizeof _CPU_Interrupt_stack_low) + (sizeof _CPU_Interrupt_stack_high) + - (sizeof _CPU_Null_fp_context) + - (sizeof _CPU_Trap_Table_area); + (sizeof _CPU_Null_fp_context); + +#ifndef NO_TABLE_MOVE +uninitialized += (sizeof _CPU_Trap_Table_area); +#endif #ifdef erc32 uninitialized += (sizeof _ERC32_MEC_Timer_Control_Mirror); diff --git a/testsuites/sptests/spsize/size.c b/testsuites/sptests/spsize/size.c index 666f1e1468..5b3385c8e6 100644 --- a/testsuites/sptests/spsize/size.c +++ b/testsuites/sptests/spsize/size.c @@ -393,8 +393,11 @@ uninitialized += (sizeof _CPU_Interrupt_stack_low) + /* cpu.h */ uninitialized += (sizeof _CPU_Interrupt_stack_low) + (sizeof _CPU_Interrupt_stack_high) + - (sizeof _CPU_Null_fp_context) + - (sizeof _CPU_Trap_Table_area); + (sizeof _CPU_Null_fp_context); + +#ifndef NO_TABLE_MOVE +uninitialized += (sizeof _CPU_Trap_Table_area); +#endif #ifdef erc32 uninitialized += (sizeof _ERC32_MEC_Timer_Control_Mirror); |