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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

962 Views
zengxianke
Contributor II

arm gcc ld script   

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

not work?

Labels (1)
2 Replies

798 Views
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

798 Views
zengxianke
Contributor II

Thank you so much. It WORKS!!!   

0 Kudos