-jump_entries_for_pic


< Optimizing Linkage Editor (rlink) Options / Output Options >

[Format]

-jump_entries_for_pic=<section name>[,...]

[Description]

-

Outputs an assembly-language source for a jump table to branch to external definition symbols in the specified section.

-

The file name is <output file>.jmp.

[Examples]

-

A jump table for branching to external definition symbols in the sections sct2 and sct3 is output to test.jmp.

jump_entries_for_pic=sct2,sct3
output=test.abs

-

[Example of a file output to test.jmp]

;OPTIMIZING LINKAGE EDITOR GENERATED FILE 2009.07.19
    .glb _func01
    .glb _func02
    .SECTION P,CODE
_func01:
    MOV.L #1000H,R14
    JMP   R14
_func02:
    MOV.L #2000H,R14
    JMP   R14
    .END

[Remarks]

-

This option is invalid when form={object | relocate| library} or strip is specified.

-

The generated jump table is output to the P section.

-

Only the program section can be specified for the type of section in the section name.