summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/cpu/sparc
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-09-18 20:47:39 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-09-18 20:47:39 +0000
commit20697735717407d0d2309e66ad47007b078ae7d3 (patch)
treeca396c6354a943bd360a8dc5490bbdad80c2e3ce /c/src/exec/score/cpu/sparc
parentcorrected white space problems (diff)
downloadrtems-20697735717407d0d2309e66ad47007b078ae7d3.tar.bz2
use address object to avoid direct pointer arithmetic
Diffstat (limited to 'c/src/exec/score/cpu/sparc')
-rw-r--r--c/src/exec/score/cpu/sparc/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/exec/score/cpu/sparc/cpu.h b/c/src/exec/score/cpu/sparc/cpu.h
index b0d1255744..0571ba5bd0 100644
--- a/c/src/exec/score/cpu/sparc/cpu.h
+++ b/c/src/exec/score/cpu/sparc/cpu.h
@@ -789,7 +789,7 @@ void _CPU_Context_Initialize(
*/
#define _CPU_Context_Fp_start( _base, _offset ) \
- ( (void *) (_base) + (_offset) )
+ ( (void *) _Addresses_Add_offset( (_base), (_offset) ) )
/*
* This routine initializes the FP context area passed to it to.