Update #2559. --- cpukit/score/cpu/sparc/cpu.c | 4 ++++ cpukit/score/cpu/sparc/rtems/score/cpu.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/cpukit/score/cpu/sparc/cpu.c b/cpukit/score/cpu/sparc/cpu.c index 5434355..899ed40 100644 --- a/cpukit/score/cpu/sparc/cpu.c +++ b/cpukit/score/cpu/sparc/cpu.c @@ -116,6 +116,10 @@ RTEMS_STATIC_ASSERT( CPU_Interrupt_frame_alignment ); +#if (SPARC_HAS_FPU == 1) && !defined(SPARC_USE_SAFE_FP_SUPPORT) +Context_Control_fp _CPU_Null_fp_context; +#endif + /* * _CPU_Initialize * diff --git a/cpukit/score/cpu/sparc/rtems/score/cpu.h b/cpukit/score/cpu/sparc/rtems/score/cpu.h index 4dd57bf..c2b5f4c 100644 --- a/cpukit/score/cpu/sparc/rtems/score/cpu.h +++ b/cpukit/score/cpu/sparc/rtems/score/cpu.h @@ -785,7 +785,7 @@ typedef struct { * It is filled in by _CPU_Initialize and copied into the task's FP * context area during _CPU_Context_Initialize. */ -SCORE_EXTERN Context_Control_fp _CPU_Null_fp_context; +extern Context_Control_fp _CPU_Null_fp_context; /** * The following type defines an entry in the SPARC's trap table. -- 1.8.4.5 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel