This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how to force putting .text in libgcc.a to some other sections


hi Andreas:

2013/11/18 Andreas Schwab <schwab@suse.de>:
> loody <miloody@gmail.com> writes:
>
>> .text 0x00000000:
>>   {
>>     _ftext = ABSOLUTE(.) ;      /* Start of code and read-only data */
>>     *(EXCLUDE_FILE(_udivsi3.o) .text)
>>     *(EXCLUDE_FILE(_dvmd_tls.o) .text)
>>     *(EXCLUDE_FILE(libgcc.a) .text)
>
> If you want to match files in an archive you need to use the
> archive:file syntax.
so you mean I have to use
*(EXCLUDE_FILE(libgcc.a:_udivsi3.o) .text)
*(EXCLUDE_FILE(libgcc.a:_dvmd_tls.o) .text)

-- 
Regards,


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]