binutils-gdb/ld/emultempl
Alan Modra 74541ad4c0 bfd/
* elf-bfd.h (struct elf_link_hash_table): Reorder.  Add
	text_index_section and data_index_section.
	(struct elf_backend_data): Add elf_backend_init_index_section.
	(_bfd_elf_init_1_index_section): Declare.
	(_bfd_elf_init_2_index_sections): Declare.
	* elfxx-target.h (elf_backend_init_index_section): Define.
	(elfNN_bed): Init new field.
	* elflink.c (_bfd_elf_link_omit_section_dynsym): Keep first tls
	section and text_index_section plus data_index_section.
	(_bfd_elf_link_renumber_dynsyms): Clear dynindx on omitted sections.
	(_bfd_elf_init_1_index_section): New function.
	(_bfd_elf_init_2_index_sections): New function.
	(bfd_elf_size_dynsym_hash_dynstr): Call elf_backend_init_index_section.
	(elf_link_input_bfd): When emitting relocs, use text_index_section
	and data_index_section for removed sections.
	* elf-m10300.c (elf_backend_omit_section_dynsym): Define.
	* elf32-i386.c: Likewise.
	* elf32-m32r.c: Likewise.
	* elf32-sh.c: Likewise.
	* elf32-xstormy16.c: Likewise.
	* elf32-xtensa.c: Likewise.
	* elf64-alpha.c: Likewise.
	* elf64-hppa.c: Likewise.
	* elf64-mmix.c: Likewise.
	* elf64-sh64.c: Likewise.
	* elfxx-ia64.c: Likewise.
	* elf32-arm.c (elf32_arm_final_link_relocate): Use text_index_section
	and data_index_section sym for relocs against sections with no dynamic
	section sym.
	(elf_backend_init_index_section): Define.
	* elf32-cris.c: Similarly.
	* elf32-hppa.c: Similarly.
	* elf32-i370.c: Similarly.
	* elf32-m68k.c: Similarly.
	* elf32-mips.c: Similarly.
	* elf32-ppc.c: Similarly.
	* elf32-s390.c: Similarly.
	* elf32-sparc.c: Similarly.
	* elf32-vax.c: Similarly.
	* elf64-mips.c: Similarly.
	* elf64-ppc.c: Similarly.
	* elf64-s390.c: Similarly.
	* elf64-sparc.c: Similarly.
	* elf64-x86-64.c: Similarly.
	* elfn32-mips.c: Similarly.
	* elfxx-mips.c: Similarly.
	* elfxx-sparc.c: Similarly.
	* linker.c (fix_syms): Base symbols in removed sections on
	previous section in preference to using absolute section.

ld/
	* ldlang.c (strip_excluded_output_sections): Do strip sections
	that define syms, but don't ignore them.
	* ld.texinfo (Output Section Discarding): Revise.
	* emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Always call
	finish_default.

ld/testsuite/
	Update for section sym changes.
2006-10-17 13:41:49 +00:00
..
README
aix.em * bfd-in.h (STRING_AND_COMMA): New macro. Takes one constant string as its 2006-09-16 18:12:17 +00:00
alphaelf.em * emulparams/elf64alpha.sh (PLT): New. 2005-05-29 23:16:09 +00:00
armcoff.em bfd/ 2006-10-17 13:41:49 +00:00
armelf.em 2006-08-18 Paul Brook <paul@codesourcery.com> 2006-08-18 15:00:18 +00:00
astring.sed
avrelf.em Add support for AVR6 family 2006-05-24 07:36:12 +00:00
beos.em * bfd-in.h (STRING_AND_COMMA): New macro. Takes one constant string as its 2006-09-16 18:12:17 +00:00
crxelf.em Update FSF addresses 2005-05-12 07:32:09 +00:00
elf-generic.em * emultempl/elf-generic.em (map_segments): Reorganise loop so that 2006-07-26 12:27:12 +00:00
elf32.em * bfd-in.h (STRING_AND_COMMA): New macro. Takes one constant string as its 2006-09-16 18:12:17 +00:00
genelf.em bfd/ 2006-06-20 02:22:16 +00:00
generic.em bfd/ 2005-08-04 06:22:14 +00:00
gld960.em bfd/ 2005-08-04 06:22:14 +00:00
gld960c.em bfd/ 2005-08-04 06:22:14 +00:00
hppaelf.em bfd/ 2006-06-20 02:22:16 +00:00
ia64elf.em bfd/ 2006-04-06 18:52:46 +00:00
irix.em ld/ 2006-07-29 08:48:15 +00:00
linux.em bfd/ 2005-08-04 06:22:14 +00:00
lnk960.em bfd/ 2005-08-04 06:22:14 +00:00
m68hc1xelf.em * ldlang.h (lang_input_section_type): Remove "ifile" field. 2005-11-17 00:10:05 +00:00
m68kcoff.em bfd/ 2005-08-04 06:22:14 +00:00
m68kelf.em Update FSF addresses 2005-05-12 07:32:09 +00:00
mipsecoff.em Update FSF addresses 2005-05-12 07:32:09 +00:00
mipself.em ld/ 2006-07-29 08:48:15 +00:00
mmix-elfnmmo.em Update FSF addresses 2005-05-12 07:32:09 +00:00
mmixelf.em Update FSF addresses 2005-05-12 07:32:09 +00:00
mmo.em * emultempl/mmo.em: Improve comments. Explain why there's 2006-06-21 02:53:43 +00:00
needrelax.em Update FSF addresses 2005-05-12 07:32:09 +00:00
netbsd.em
ostring.sed
pe.em * pe-dll.c : Fix typo. 2006-10-03 10:06:26 +00:00
pep.em Add x86_64-mingw64 target 2006-09-20 11:35:11 +00:00
ppc32elf.em bfd/ 2005-12-08 11:41:12 +00:00
ppc64elf.em bfd/ 2006-06-20 02:22:16 +00:00
scoreelf.em Add support for Score target. 2006-09-16 23:51:50 +00:00
sh64elf.em * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation): 2005-08-17 05:13:13 +00:00
sunos.em * bfd-in.h (STRING_AND_COMMA): New macro. Takes one constant string as its 2006-09-16 18:12:17 +00:00
ticoff.em bfd/ 2005-08-04 06:22:14 +00:00
vanilla.em bfd/ 2005-08-04 06:22:14 +00:00
vxworks.em bfd/ 2006-08-04 13:13:56 +00:00
xtensaelf.em bfd/ 2006-10-12 21:56:19 +00:00
z80.em Add support for the Z80 processor family 2005-10-25 17:40:19 +00:00

README

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.