Linker Question on CW 5.9.0; target uP = PowerPC 8270

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

Linker Question on CW 5.9.0; target uP = PowerPC 8270

ソリューションへジャンプ
1,659件の閲覧回数
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,159件の閲覧回数
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,160件の閲覧回数
Karl_H
Contributor III

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

 

KH

 

0 件の賞賛
返信