Linker Question on CW 5.9.0; target uP = PowerPC 8270

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

Linker Question on CW 5.9.0; target uP = PowerPC 8270

跳至解决方案
1,675 次查看
Karl_H
Contributor III

Right now we have only a small base of code on the CodeWarrior development system, and it all easily fits within the 64 Kbyte range that is available for short branch-and-link instructions. I can see that whenever we make a function call in C, the tools give us a short branch-and-link. But we expect that during integration, our code space will exceed 64 Kbytes, and it will be necessary that some function calls will require a long branch-and-link. I have not yet found any option for a large memory model in the CodeWarrior configuration dialogs. So my question is this: is the linker smart enough to insert the long branch-and-link automatically when it is necessary and leave short branch-and-links when it is able?

 

KH

标签 (1)
0 项奖励
回复
1 解答
1,175 次查看
Karl_H
Contributor III

The FAE resolved this for me. The answer is yes, the tools will automatically generate the correct branch.

 

KH

 

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,176 次查看
Karl_H
Contributor III

The FAE resolved this for me. The answer is yes, the tools will automatically generate the correct branch.

 

KH

 

0 项奖励
回复