This is the mail archive of the binutils@sources.redhat.com 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: ld: EXCLUDE_FILES archive doesn't exclude its members


On Sat, Jan 05, 2002 at 02:37:20AM -0200, Alexandre Oliva wrote:
> When a linker script mentions an archive in EXCLUDE_FILES, this
> doesn't result in the members of the archive being excluded as, IMO,
> it should.  This patch corrects this problem, and passes all ld
> regression tests on athlon-pc-linux-gnu.  Ok to install?

OK, except for this style nit.

> +	      if (! skip && file->the_bfd && file->the_bfd->my_archive
> +		  && file->the_bfd->my_archive->filename)

	      if (! skip && file->the_bfd != NULL
		  && file->the_bfd->my_archive != NULL
		  && file->the_bfd->my_archive->filename != NULL)

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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