Re: Problem with linking static lib text into specific section

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Elad Yosef <elad.yosef@xxxxxxxxx> 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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux