-FSymbol


This option outputs external defined symbols to the symbol address file.

[Specification format]

-FSymbol=section[,section]...

 

-

Interpretation when omitted

None

[Detailed description]

-

This option outputs the external defined symbols in section section to a file (symbol address file) in the form of assembler directives.
The file name is "output file name.fsy".

[Example of use]

-

To output the external defined symbols in sections ".A" and ".B" to symbol address file "test.fsy", describe as:

>rlink a.obj b.obj -fsymbol=.A,.B -output=test.abs

 

The output example of symbol address file "test.fsy" is shown below.

;RENESAS OPTIMIZING LINKER GENERATED FILE XXXX.XX.XX
        ;fsymbol = .A, .B
 
        ;SECTION NAME = .A
            .public _f
        _f .equ 0x00000000
            .public _g
        _g .equ 0x00000010
        ;SECTION NAME = .B
            .public _main
        _main .equ 0x00000020

[Remark]

-

If the -form={object|relocate|library} option or -strip option is specified, this option will be invalid.