summaryrefslogtreecommitdiffstats
path: root/c/src/tests/sptests
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-01-08 16:22:22 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-01-08 16:22:22 +0000
commitd135fc52cd9dd02511aecf85654373a868880dff (patch)
treee17cbca9a8a93489c5f618f597c3253e70372e4c /c/src/tests/sptests
parentc6126e57fbbfd54cbd521f16be48239de0cb816f (diff)
downloadrtems-d135fc52cd9dd02511aecf85654373a868880dff.tar.bz2
_CPU_Trap_Table_area is now conditional based on whether or not
the application requires rtems to allocate a trap table
Diffstat (limited to 'c/src/tests/sptests')
-rw-r--r--c/src/tests/sptests/spsize/size.c7
1 files changed, 5 insertions, 2 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);