Elad Yosef <elad.yosef@xxxxxxxxx> writes: > When I add the new lib the ld file has these changes > > > #define SECTION_text(_region_, _vma_, _lma_) \ > .text _vma_ : _lma_ \ > { \ > _stext = .; _ftext = . ; \ > *(EXCLUDE_FILE (*libMy-Cli.a) .text) \ > *(EXCLUDE_FILE (*libMy-Cli.a) .text.*) \ > *(EXCLUDE_FILE (*libMy-ATP-GUI.a) .text) \ --- New LIB > *(EXCLUDE_FILE (*libMy-ATP-GUI.a) .text.*) \ --- New LIB I don't see how that could work. The first EXCLUDE_FILE will match the second library, and the second EXCLUDE_FILE will match the first library. I think you need to write something like *(EXCLUDE_FILE (*libMy-Cli.a *libMy-ATP-GUI.a) .text .text.*) Ian