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:

> Doesn't it match only the files names from the specified archive?

There is no colon there, so, no.  You can have a list of file name
patterns, and that is what is happening here.

Ian


> On Tue, May 29, 2012 at 8:48 PM, Ian Lance Taylor <iant@xxxxxxxxxx> wrote:
>> 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