This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Question about EXCLUDE FILE in ld script


On Tue, Oct 21, 2008 at 10:33:22PM +0800, loody wrote:
> *(EXCLUDE_FILE (*crtend.o *otherfile.o) .ctors)
> will cause all .ctors sections from all files except 'crtend.o' and
> 'otherfile.o' to be included. "
> 
> My question is:
> Why we have to use "*crtend.o" and "*otherfile.o" instead of
> "crtend.o" and "otherfile.o".

You don't need a wildcard here.

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]