MPC56XX Link Error on section '.ivor_branch_table'

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

MPC56XX Link Error on section '.ivor_branch_table'

741 次查看
lizhichaosdut
Contributor III
Hi,
I met this error with codewarrior  while making mpc5604 app
 
Link Error   : Linker command file output section '.ivor_branch_table' has a type or input which is incompatible with
section '.ivor_branch_table' in file 'F:\VCU_QLD4 -a\app\code\edv24_bsw.o'.
Change the type or add an input for this section.
lizhichaosdut_0-1709875776355.png

 

0 项奖励
回复
1 回复

711 次查看
stanish
NXP Employee
NXP Employee

Hi,

Seems there is an issue with .section statement of .ivor_branch_table section in edv24_bsw.a which is not declared as VLE code but rather as default code (PROGBITS).

I'd suggest you to use syntax below.  It causes to uses the same elf type/flags from section text_vle (vle code) to .ivor_branch_table section since it contains VLE instructions.

 

.section .ivor_branch_table, text_vle

 

 

Hope it helps.

Stan

 

标记 (1)
0 项奖励
回复