Chapter 17 Appendix
316 List of Command Options
Program generation optionsLibrary file optionsInstruction RAM options
gOutput debug information to the executable format file.
ld103 -g main.rf sub.rf
T section-address Specify a section start address.
ld103 -T_TEXT@CODE=80000000 -T@DATA=0 main.rf sub.rf
rOutput an executable format file even if errors are detected.
ld103 -r main.rf
En Do not output symbol table within the executable format file.
ld103 -En main.rf sub.rf
Ed Enable output of DATA sections to the executable file.
ld103 -Ed main.rf sub.rf
l library_filename Specify a library file.
ld103 -l /usr/local/lib/sample.lib main.rf sub.rf
L path_name
Specify a pathname for library files.
ld103 -L/usr/lib -L/usr/local/lib -lsample.lib main.rf
sub.rf
OVL ID_number:
section=address
Specify starting address for section in instruction RAM.
ldld103 -T @CODE=80000000 main.rf sub.rf
-OVL 1:_TEXT=40000000 seg1.rf
-OVL 2:_TEXT,_CONST=40000000 seg2.rf
PUT extra_symbol
=address
Specify address for extra symbol.
ld103 -T @CODE=80000000 main.rf sub.rf
-OVL 1:_TEXT=40000000 seg1.rf
-OVL 2:_TEXT=40000000 seg2.rf
-PUT __overlay_table=a0000000
-PUT __iram_manage=30000000