$REVOLUTION_SDK_ROOT/X86/bin/
Creates module files (.sel, .rso) from ELF files (.elf, .plf).
Creates module files usable by relocatable modules from ELF files.
Dynamic (relocatable) module information (.rso) will include code information, section information, export information (information to allow referencing from external modules), import information (information for referencing external modules), and internal referencing information.
Static module information (.sel) will include dummy section information and export information.
Distinction between static and dynamic will be made from information in the ELF file.
This option removes all information other than the specified symbols, which are referenced when creating export information.
Only one symbol list may be specified.
When this option is omitted, the file includes all information.
This option makes the debug file position information an absolute path.
You can also configure and specify the arguments through a response file which lists the arguments.
| 0 | Conversion successful. |
| 1 | An error that does not fall under the following errors. |
| 2 | -a: Conversion to absolute path by specification failed. |
| 3 | Reading of symbol list specified by -e failed. |
| 4 | Multiple symbol lists were specified. |
| 5 | Symbol file name not specified after -e. |
| 6 | No ELF file specified. |
| 7 | ELF file read failed. |
| 8 | Unsupported ELF file. |
| 9 | Duplicate ELF file specified. |
| 10 | File output failed. |
| 11 | Unspecifiable option. |
| 12 | Too many arguments specified (2048 maximum). |
| 13 | Response file read failed. |
| 14 | Abnormally long filename specified. |
| 15 | Allocation of conversion memory failed. |
This example creates a dynamic (relocatable) module file from the partially linked ELF files. a.rso will be generated.
When symbol.lst is specified, information for allowing referencing from external modules will be omitted.
Since the dynamic module symbol list cannot be auto-generated at this point, it must be manually created.
Register labels to be referenced from other modules in symbol.lst.
|
Multiple files may be specified.
An .rso file is created for each specified file.
The a.rso, b.rso, and c.rso files are created in the following example:
|
If using a response file (response.txt), do so as follows:
|
The response.txt example for the above case:
|
This example generates static module information from the static ELF file. static.sel will be generated.
Static module symbol list is generated using makelcf.exe from all dynamic modules.
|
2006/11/01 Added support for return values.
2006/10/27 Added support for response files.
2006/10/25 Added support for multiple files.
2006/06/14 Initial version.
CONFIDENTIAL