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: [PATCH] Fix DT_NEEDED when using -l:namespec


On Sun, Feb 16, 2014 at 10:02:56PM +0100, Romain Geissler wrote:
> 	* ldlang.h (full_name_provided): New input flag.
> 	* ldlang.c (new_afile): Set full_name_provided flag.
> 	* ldlfile.c (ldfile_open_file_search): Don't complete lib name if
> 	full_name_provided flag is set.
> 	* emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
> 	Correctly set DT_NEEDED for dynamic libraries with loaded with
> 	-l:namespec.
> 	* emultempl/aix.em (ppc_after_open_output): Don't try to load lib specified
> 	with -l:namespec.
> 	* emultempl/linux.em (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
> 	* emultempl/pe.em (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
> 	* emultempl/pep.em (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
> 	* emultempl/vms.em (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.

OK, makes sense to have -l:libfoo.so give the same DT_NEEDED as -lfoo.

-- 
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]