old-cross-binutils/ld/emultempl
Alan Modra e1918d2387 * bfd-in.h (_bfd_elf_tls_setup): Declare.
* bfd-in2.h: Regenerate.
	* elf-bfd.h (struct elf_link_tls_segment): Delete.
	(struct elf_link_hash_table): Add tls_sec and tls_size.
	* elf.c (_bfd_elf_link_hash_table_init): Init tls_sec and tls_size.
	* elflink.c (_bfd_elf_tls_setup): New function.
	* elflink.h (struct elf_final_link_info): Remove first_tls_sec.
	(elf_bfd_final_link): Don't set first_tls_sec here.  Update code
	saving tls segment info, round segment size up.
	(elf_link_output_extsym): Adjust code using tls segment info.
	(elf_link_input_bfd): Likewise.
	* elf32-i386.c (dtpoff_base, tpoff): Likewise.
	* elf32-s390.c (dtpoff_base, tpoff): Likewise.
	* elf32-sh.c (dtpoff_base, tpoff): Likewise.
	* elf32-sparc.c (dtpoff_base, tpoff): Likewise.
	* elf64-s390.c (dtpoff_base, tpoff): Likewise.
	* elf64-x86-64.c (dtpoff_base, tpoff): Likewise.
	* elfxx-ia64.c (elfNN_ia64_tprel_base): Likewise.
	(elfNN_ia64_dtprel_base): Likewise.
	* elf64-alpha.c (alpha_get_dtprel_base): Likewise.
	(alpha_get_tprel_base): Likewise.
	(struct alpha_relax_info): Remove tls_segment.
	(elf64_alpha_relax_got_load): Adjust invocation of
	alpha_get_dtprel_base and alpha_get_tprel_base.
	(elf64_alpha_relax_tls_get_addr): Likewise.
	(elf64_alpha_relax_section): Likewise.
	(elf64_alpha_relocate_section): Likewise.
	(elf64_alpha_relax_find_tls_segment): Delete.
	* elf32-ppc.c (struct ppc_elf_link_hash_table): Remove tls_sec.
	(ppc_elf_tls_setup): Call _bfd_elf_tls_setup.  Return section.
	(ppc_elf_relocate_section): Adjust to use elf.tls_sec.
	* elf32-ppc.h (ppc_elf_tls_setup): Update.
	* elf64-ppc.c (struct ppc_link_hash_table): Remove tls_sec.
	(ppc64_elf_tls_setup): Call _bfd_elf_tls_setup.  Return section.
	(ppc64_elf_tls_optimize): Adjust to use elf.tls_sec.
	(ppc64_elf_relocate_section): Likewise.
	* elf64-ppc.h (ppc64_elf_tls_setup): Update.

	* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Call
	_bfd_elf_tls_setup.
2003-11-04 06:16:39 +00:00
..
aix.em * emultempl/aix.em: Convert to C90, remove unnecessary prototypes 2003-06-27 00:38:25 +00:00
alphaelf.em * emultempl/aix.em: Convert to C90, remove unnecessary prototypes 2003-06-27 00:38:25 +00:00
armcoff.em * emultempl/aix.em: Convert to C90, remove unnecessary prototypes 2003-06-27 00:38:25 +00:00
armelf.em * emultempl/aix.em: Convert to C90, remove unnecessary prototypes 2003-06-27 00:38:25 +00:00
armelf_oabi.em * emultempl/aix.em: Convert to C90, remove unnecessary prototypes 2003-06-27 00:38:25 +00:00
astring.sed
beos.em * emultempl/aix.em: Convert to C90, remove unnecessary prototypes 2003-06-27 00:38:25 +00:00
elf32.em * bfd-in.h (_bfd_elf_tls_setup): Declare. 2003-11-04 06:16:39 +00:00
generic.em * emultempl/aix.em: Convert to C90, remove unnecessary prototypes 2003-06-27 00:38:25 +00:00
gld960.em * emultempl/aix.em: Convert to C90, remove unnecessary prototypes 2003-06-27 00:38:25 +00:00
gld960c.em * emultempl/aix.em: Convert to C90, remove unnecessary prototypes 2003-06-27 00:38:25 +00:00
hppaelf.em * emultempl/aix.em: Convert to C90, remove unnecessary prototypes 2003-06-27 00:38:25 +00:00
ia64elf.em * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Don't 2003-10-16 06:26:37 +00:00
linux.em * emultempl/aix.em: Convert to C90, remove unnecessary prototypes 2003-06-27 00:38:25 +00:00
lnk960.em * emultempl/aix.em: Convert to C90, remove unnecessary prototypes 2003-06-27 00:38:25 +00:00
m68hc1xelf.em Oops - omitted from patch that added a second parameter to lang_memory_region_lookup. 2003-10-24 09:54:41 +00:00
m68kcoff.em Convert to C90 2003-06-28 05:28:54 +00:00
m68kelf.em Convert to C90 2003-06-28 05:28:54 +00:00
mipsecoff.em * emultempl/aix.em: Convert to C90, remove unnecessary prototypes 2003-06-27 00:38:25 +00:00
mipself.em * emultempl/aix.em: Convert to C90, remove unnecessary prototypes 2003-06-27 00:38:25 +00:00
mmix-elfnmmo.em * emultempl/mmix-elfnmmo.em (mmix_before_allocation): Force linker 2003-10-18 15:49:10 +00:00
mmixelf.em * emultempl/aix.em: Convert to C90, remove unnecessary prototypes 2003-06-27 00:38:25 +00:00
mmo.em * emultempl/aix.em: Convert to C90, remove unnecessary prototypes 2003-06-27 00:38:25 +00:00
needrelax.em * emultempl/aix.em: Convert to C90, remove unnecessary prototypes 2003-06-27 00:38:25 +00:00
netbsd.em * emultempl/aix.em: Convert to C90, remove unnecessary prototypes 2003-06-27 00:38:25 +00:00
ostring.sed
pe.em Index: sim/frv/ChangeLog 2003-10-31 05:32:46 +00:00
ppc32elf.em * emultempl/ppc32elf.em: Convert to C90. 2003-06-24 14:04:29 +00:00
ppc64elf.em bfd/ 2003-10-22 06:58:17 +00:00
README
sh64elf.em * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation): 2003-07-08 18:05:34 +00:00
sunos.em * emultempl/aix.em: Convert to C90, remove unnecessary prototypes 2003-06-27 00:38:25 +00:00
ticoff.em * emultempl/ticoff.em (gld_${EMULATION_NAME}_list_options): Add 2003-10-19 15:58:18 +00:00
vanilla.em * emultempl/aix.em: Convert to C90, remove unnecessary prototypes 2003-06-27 00:38:25 +00:00
xtensaelf.em * emultempl/aix.em: Convert to C90, remove unnecessary prototypes 2003-06-27 00:38:25 +00:00

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.