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

loody miloody@gmail.com
Mon Nov 18 15:07:00 GMT 2013


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,



More information about the Binutils mailing list