Code Warrior LCF file question

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Code Warrior LCF file question

ソリューションへジャンプ
1,646件の閲覧回数
lvyang
Contributor III

 GROUP : {
    .ivor_branch_table (VLECODE) LOAD (ADDR(exception_handlers)) : {}
    .__exception_handlers  (VLECODE) LOAD (_e_ivor_branch_table) : {}
 } > exception_handlers

Where is the section ".ivor_branch_table" defined?

Where is the symbol "_e_ivor_branch_table" defined?

How to understand the meaning of structure above?

 

state: code above is generated by IDE automatically.

ラベル(1)
1 解決策
1,477件の閲覧回数
martin_kovar
NXP Employee
NXP Employee

Hi,

section .ivor_branch_table is is defined by this line:

.ivor_branch_table (VLECODE) LOAD (ADDR(exception_handlers)) : {}

Symbol _e_ivor_branch_table is automatically generated by linker. It is the address of the end of the section .ivor_branch_table.

Meaning of the group is following:

1) create section .ivor_branch_table and load it to the address of exceptions_handlers defined in memory location.

2) create section .__exception_handlers and load it to address defined by _e_ivor_branch_table symbol (below the section .ivor_branch_table).

If you have any other questions, please feel free to write me back.

Regards,

Martin

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,477件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi lv,

what's your chip part number?

Jennie

0 件の賞賛
返信
1,477件の閲覧回数
lvyang
Contributor III

SPC560P34

0 件の賞賛
返信
1,478件の閲覧回数
martin_kovar
NXP Employee
NXP Employee

Hi,

section .ivor_branch_table is is defined by this line:

.ivor_branch_table (VLECODE) LOAD (ADDR(exception_handlers)) : {}

Symbol _e_ivor_branch_table is automatically generated by linker. It is the address of the end of the section .ivor_branch_table.

Meaning of the group is following:

1) create section .ivor_branch_table and load it to the address of exceptions_handlers defined in memory location.

2) create section .__exception_handlers and load it to address defined by _e_ivor_branch_table symbol (below the section .ivor_branch_table).

If you have any other questions, please feel free to write me back.

Regards,

Martin

0 件の賞賛
返信
1,477件の閲覧回数
lvyang
Contributor III

Thanks a lot.