This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: how to force putting .text in libgcc.a to some other sections
- From: Andreas Schwab <schwab at suse dot de>
- To: loody <miloody at gmail dot com>
- Cc: "binutils at sourceware dot org Development" <binutils at sourceware dot org>
- Date: Mon, 18 Nov 2013 16:03:19 +0100
- Subject: Re: how to force putting .text in libgcc.a to some other sections
- Authentication-results: sourceware.org; auth=none
- References: <CANudz+tuy6zL_7TMuD7YB5=SZWGYV28td-3+8iVT+TgeiBbGQQ at mail dot gmail dot com>
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."