binutils-gdb/ld/emultempl
Alan Modra d4ae5fb0b5 Remove search path from -l:namespec DT_NEEDED
For libraries without a soname, -l:libfoo.so set DT_NEEDED to the search
dir plus filename, while gold and -lfoo just use the filename.  This
patch fixes the inconsistency.

	* ldlang.h (full_name_provided): New input flag.
	* ldlang.c (new_afile): Don't use lang_input_file_is_search_file_enum
	for -l:namespec.  Instead use lang_input_file_is_l_enum with
	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):
	Handle full_name_provided libraries.  Tidy EXTRA_SHLIB_EXTENSION
	support.  Set DT_NEEDED for -l:namespec as namespec.
	* emultempl/aix.em (ppc_after_open_output): Handle full_name_provided.
	* emultempl/linux.em (gld${EMULATION_NAME}_open_dynamic_archive):
	Don't handle full_name_provided libraries.
	* emultempl/pe.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
	* emultempl/pep.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
	* emultempl/vms.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
2014-03-14 12:54:24 +10:30
..
aarch64elf.em Update copyright years 2014-03-05 22:16:15 +10:30
aix.em Remove search path from -l:namespec DT_NEEDED 2014-03-14 12:54:24 +10:30
alphaelf.em Update copyright years 2014-03-05 22:16:15 +10:30
armcoff.em Update copyright years 2014-03-05 22:16:15 +10:30
armelf.em Update copyright years 2014-03-05 22:16:15 +10:30
astring.sed
avrelf.em Update copyright years 2014-03-05 22:16:15 +10:30
beos.em Update copyright years 2014-03-05 22:16:15 +10:30
bfin.em Update copyright years 2014-03-05 22:16:15 +10:30
cr16elf.em Update copyright years 2014-03-05 22:16:15 +10:30
crxelf.em Update copyright years 2014-03-05 22:16:15 +10:30
default-manifest.rc This patch adds a default manifest in to the final links performed by the Cygwin and MinGW targets. 2014-02-27 14:13:43 +00:00
elf-generic.em Update copyright years 2014-03-05 22:16:15 +10:30
elf32.em Remove search path from -l:namespec DT_NEEDED 2014-03-14 12:54:24 +10:30
epiphanyelf_4x4.em Update copyright years 2014-03-05 22:16:15 +10:30
genelf.em Update copyright years 2014-03-05 22:16:15 +10:30
generic.em Update copyright years 2014-03-05 22:16:15 +10:30
gld960.em Update copyright years 2014-03-05 22:16:15 +10:30
gld960c.em Update copyright years 2014-03-05 22:16:15 +10:30
hppaelf.em Update copyright years 2014-03-05 22:16:15 +10:30
ia64elf.em Update copyright years 2014-03-05 22:16:15 +10:30
irix.em Update copyright years 2014-03-05 22:16:15 +10:30
linux.em Remove search path from -l:namespec DT_NEEDED 2014-03-14 12:54:24 +10:30
lnk960.em Update copyright years 2014-03-05 22:16:15 +10:30
m68hc1xelf.em Update copyright years 2014-03-05 22:16:15 +10:30
m68kcoff.em Update copyright years 2014-03-05 22:16:15 +10:30
m68kelf.em Update copyright years 2014-03-05 22:16:15 +10:30
metagelf.em Update copyright years 2014-03-05 22:16:15 +10:30
mipself.em Update copyright years 2014-03-05 22:16:15 +10:30
mmix-elfnmmo.em Update copyright years 2014-03-05 22:16:15 +10:30
mmixelf.em Update copyright years 2014-03-05 22:16:15 +10:30
mmo.em Update copyright years 2014-03-05 22:16:15 +10:30
nds32elf.em Update copyright years 2014-03-05 22:16:15 +10:30
needrelax.em Update copyright years 2014-03-05 22:16:15 +10:30
netbsd.em Update copyright years 2014-03-05 22:16:15 +10:30
nios2elf.em Update copyright years 2014-03-05 22:16:15 +10:30
ostring.sed
pe.em Remove search path from -l:namespec DT_NEEDED 2014-03-14 12:54:24 +10:30
pep.em Remove search path from -l:namespec DT_NEEDED 2014-03-14 12:54:24 +10:30
ppc32elf.em Fix ELF ppc32 targets that don't use ppc32elf.em 2014-02-27 23:39:01 +10:30
ppc64elf.em Update copyright years 2014-03-05 22:16:15 +10:30
README Update copyright years 2014-03-05 22:16:15 +10:30
rxelf.em Update copyright years 2014-03-05 22:16:15 +10:30
scoreelf.em Update copyright years 2014-03-05 22:16:15 +10:30
sh64elf.em Update copyright years 2014-03-05 22:16:15 +10:30
solaris2.em Update copyright years 2014-03-05 22:16:15 +10:30
spu_icache.o_c bfd/ 2009-03-17 12:46:19 +00:00
spu_icache.S bfd/ 2009-03-17 12:46:19 +00:00
spu_ovl.o_c Include the spu_ovl ASCII form in the repository files. 2008-08-02 16:25:44 +00:00
spu_ovl.S Update copyright years 2014-03-05 22:16:15 +10:30
spuelf.em Update copyright years 2014-03-05 22:16:15 +10:30
sunos.em Update copyright years 2014-03-05 22:16:15 +10:30
tic6xdsbt.em Update copyright years 2014-03-05 22:16:15 +10:30
ticoff.em Update copyright years 2014-03-05 22:16:15 +10:30
vanilla.em Update copyright years 2014-03-05 22:16:15 +10:30
vms.em Remove search path from -l:namespec DT_NEEDED 2014-03-14 12:54:24 +10:30
vxworks.em Update copyright years 2014-03-05 22:16:15 +10:30
xtensaelf.em Update copyright years 2014-03-05 22:16:15 +10:30
z80.em Update copyright years 2014-03-05 22:16:15 +10:30

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

The files in this directory are sourced by genscripts.sh, after
setting some variables to substitute in, to produce
C source files that contain jump tables for each emulation.

Copyright (C) 2012-2014 Free Software Foundation, Inc.

Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.