how to force putting .text in libgcc.a to some other sections
loody
miloody@gmail.com
Mon Nov 18 15:12:00 GMT 2013
hi Andreas:
2013/11/18 loody <miloody@gmail.com>:
> 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)
how could I Include these 2 object in archive to another section?
By using below setting?
udivsi3.o (.text)
_dvmd_tls.o (.text)
Appreciate your kind help,
More information about the Binutils
mailing list