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

cancel
Showing results for 
Search instead for 
Did you mean: 

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

316 Views
zengxianke
Contributor II

arm gcc ld script   

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

not work?

Labels (1)
2 Replies

152 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

152 Views
zengxianke
Contributor II

Thank you so much. It WORKS!!!   

0 Kudos