Problem with linking static lib text into specific section
Ian Lance Taylor
iant@google.com
Tue May 29 17:49:00 GMT 2012
Elad Yosef <elad.yosef@gmail.com> writes:
> libMars-Cli.a *(.text.*) \
This is a list of file names. It will match any file name that matches
libMars-Cli.a or *. In other words, since * matches every file name,
this will match every file name.
To match a file within an archive, write archive-name:file-name. To
match the whole archive, write archive-name:. See
http://sourceware.org/binutils/docs-2.22/ld/Input-Section-Basics.html .
Ian
More information about the Gcc-help
mailing list