makerel is a tool for games that use the relocatable module system. This tool has the following two purposes:
If you supply a list of partially linked files (PLFs) as arguments, makerel generates a list of functions that must not be dead stripped.
% makerel partial-link-file.preplf ...
The list of functions is saved in a file called import.lst.
If you supply as arguments a PLF list and a file name of an ELF file in the static portion of the program, makerel generates relocatable module files (.rel) and the module name string table file (.str).
% makerel exec-type-file.elf partial-link-file.plf ...
The generated relocatable module files (.rel) must be copied to the Game Disc. The module name string table file must also be copied to the Game Disc to use the program debugger. The runtime debug monitor references the module name string table file for locating the original PLFs residing in the host disc drive.
% makerel [-W] files [@response]
The optional response file can contain the list of PLF and ELF file names if the command prompt environment does not allow a large number of module names in its command line argument. In a response file, a number sign (#) and any following text characters up to the next line are ignored. A backslash (\) is the escape text character. The text character immediately following the backslash is escaped.
The optional -W command line option lets makerel detect external symbols defined in multiple modules and displays warning messages for those symbols.
$REVOLUTION_SDK_ROOT/X86/bin/makerel.exe
2006/03/01 Initial version.
CONFIDENTIAL