Unsupported ELF relocation

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

Unsupported ELF relocation

918 次查看
sebastianhoernl
Contributor I

Hi,

when I try to link a lib to my project, I get the following linker error:

mwldeppc Linker Error:

#   Unsupported ELF relocation (225)

#   of symbol 'dp_workingMemory_i16'

#   in 'xyz.o' of archive 'xyz_lib.lib'

 

I looked into the relocation section with readelf -r and I suspect the problem only comes up for symbols of type R_PPC_VLE_SDA21. R_PPC_EMB_SDA21 seems to work.

标签 (1)
标记 (2)
0 项奖励
回复
1 回复

572 次查看
stanish
NXP Employee
NXP Employee

Hello,

Thank you for this question.

I assume the library was build by the different compiler then CodeWarrior.

This is probably a known issue logged in our defect database. Some relocation VLE types are different in CodeWarrior. We are working on fix at the moment.


Can you perhaps share your library with us? We can use it for fix testing.


Thanks!

Stan

0 项奖励
回复