how to allocate an input section from library file to a custom output section?

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

how to allocate an input section from library file to a custom output section?

974件の閲覧回数
zengxianke
Contributor II

arm gcc ld script   

 .zxk {libxyz.a:x.o(.data.*)}>flash.

not work?

ラベル(1)
2 返答(返信)

810件の閲覧回数
stanish
NXP Employee
NXP Employee

Hello,

please try to add one leading asterisk character in front of the library name:

.zxk {
*libxyz.a:x.o(.data.*)
}>flash‍‍‍

Hope it helps...

Stan

810件の閲覧回数
zengxianke
Contributor II

Thank you so much. It WORKS!!!   

0 件の賞賛