Relocatable Module (RSO) Sample Demos

Location

$REVOLUTION_SDK_ROOT/build/demos/rsodemo

Compilation

Go to $REVOLUTION_SDK_ROOT/build/demos/rsodemo and enter make. The executable programs (ELF files) are generated in the bin/RVL folder of each demo directory.

Execution

Go to the /bin/RVL/ directory for each demo in the $REVOLUTION_SDK_ROOT/build/demos/rsodemo directory and perform one of the following.

Description

LinkList/ Demo program for learning the basic use of the RSO functions. This program links module A and module B, using a link list.
LinkListFixed0/ Demo program that shows an example of relocatable module partial memory deallocation. This demo is similar to LinkList, but it deallocates part of the module information as a bss area.
LinkMem2/ Sample that uses a pragma when a relocatable module is allocated to the external main memory (MEM2 area). This program places module E in external main memory and module F in internal main memory.
LinkFar/ Sample that uses RSOLinkFar when a relocatable module is allocated to the external main memory (MEM2 area). This program places module G in external main memory and module H in internal main memory.
LinkJump/ Sample that uses RSOLinkJump when a relocatable module is allocated to the external main memory (MEM2 area).
MakeInc/ Demo program that uses makeinc.exe. Module D functions and variables are accessed from a static module, using d.inc. The d.inc is generated by makeinc.exe from the d.h header file.
Manually/ This is a demo program showing how to specify links without using a link list. Modules A, B, and C are linked using minimal link operations.

See Also

RSO API Function List

Revision History

2007/08/07 Expanded the descriptions of the demos and tools.
2006/12/19 Added LinkJump.
2006/06/14 Initial version.


CONFIDENTIAL