Code Warrior LCF file question

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Code Warrior LCF file question

跳至解决方案
1,666 次查看
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,497 次查看
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,497 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi lv,

what's your chip part number?

Jennie

0 项奖励
回复
1,497 次查看
lvyang
Contributor III

SPC560P34

0 项奖励
回复
1,498 次查看
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,497 次查看
lvyang
Contributor III

Thanks a lot.