From d135fc52cd9dd02511aecf85654373a868880dff Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 8 Jan 1997 16:22:22 +0000 Subject: [PATCH] _CPU_Trap_Table_area is now conditional based on whether or not the application requires rtems to allocate a trap table --- c/src/tests/sptests/spsize/size.c | 7 +++++-- 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);