This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: linker scripting: locating overlays after main code
- From: Richard Sandiford <rsandifo at redhat dot com>
- To: "Ian Montgomerie" <imontgom at lsil dot com>
- Cc: <binutils at sources dot redhat dot com>
- Date: Wed, 07 Apr 2004 21:03:05 +0100
- Subject: Re: linker scripting: locating overlays after main code
- References: <010f01c41cd1$8713a250$0100000a@imontgompc2k>
"Ian Montgomerie" <imontgom@lsil.com> writes:
> Is there any way I can get this sort of thing to work?
I might have misunderstood the question, but have you tried
EXCLUDE_FILE? E.g.:
.Core:
{
*(EXCLUDE_FILE (ovl1.* ovl2.*) .text)
...
}
should include everything except ovl1.*(.text) and ovl2.*(.text).
Richard