VxWorks 5.4
Programmer’s Guide
xx
Compiling C or C++ Modules ......................................................... 400
B.3 Interface Variations .......................................................................................... 401
a.out-Specific Tools for SPARC and SPARClite ............................. 406
B.4 Architecture Considerations ........................................................................... 406
Reserved Registers ........................................................................... 407
Processor Mode .................................................................................. 407
Vector Table Initialization ................................................................. 407
Double-word Integers: long long ................................................... 407
Interrupt Handling ............................................................................ 407
Floating-Point Support ..................................................................... 410
Stack Pointer Usage ........................................................................... 412
SPARClite Overview ......................................................................... 412
Memory Layout ................................................................................. 413
C Intel i960 ........................................................................................................................... 417
C.1 Introduction ...................................................................................................... 417
C.2 Building Applications ..................................................................................... 417
Defining the CPU Type ..................................................................... 418
Configuring the GNU ToolKit Environment ................................. 418
Compiling C or C++ Modules ........................................................ 418
Boot Loader Changes ........................................................................ 420
C.3 Interface Variations .......................................................................................... 421
Initialization ....................................................................................... 422
Data Breakpoint Routine bh() ........................................................ 422
Parameter Change for intLevelSet() .............................................. 422
Results Change for memLib ............................................................ 422
Math Routines .................................................................................... 423
Adding in Unresolved Routines ...................................................... 423
Floating-Point Task Option: VX_FP_TASK ........................................ 423
COFF-Specific Tools For i960 ........................................................... 424
Limitation on d() in WindSh ........................................................... 424
C.4 Architecture Considerations ........................................................................... 425
Byte Order ........................................................................................... 425