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

Andreas Schwab schwab@suse.de
Mon Nov 18 15:04:00 GMT 2013


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.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Binutils mailing list