Chapter 17 Appendix

Program generation options

Output debug information to the executable format file.

g

ld103 -g main.rf sub.rf

Specify a section start address.

T section-address

ld103 -T_TEXT@CODE=80000000 -T@DATA=0 main.rf sub.rf

Output an executable format file even if errors are detected.

r

ld103 -r main.rf

Do not output symbol table within the executable format file.

En

ld103 -En main.rf sub.rf

Enable output of DATA sections to the executable file.

Ed

ld103 -Ed main.rf sub.rf

Library file options

l library_filename

Specify a library file.

ld103 -l /usr/local/lib/sample.lib main.rf sub.rf

 

 

Specify a pathname for library files.

L path_name

ld103 -L/usr/lib -L/usr/local/lib -lsample.lib main.rf

 

sub.rf

Instruction RAM options

 

Specify starting address for section in instruction RAM.

OVL ID_number:

ldld103 -T @CODE=80000000 main.rf sub.rf

section=address

-OVL 1:_TEXT=40000000 seg1.rf

 

-OVL 2:_TEXT,_CONST=40000000 seg2.rf

 

Specify address for extra symbol.

PUT extra_symbol

ld103 -T @CODE=80000000 main.rf sub.rf

-OVL 1:_TEXT=40000000 seg1.rf

=address

-OVL 2:_TEXT=40000000 seg2.rf

 

-PUT __overlay_table=a0000000

 

-PUT __iram_manage=30000000

316 List of Command Options

Page 328
Image 328
Panasonic MN1030 user manual Library file options, Instruction RAM options