binutils-gdb/ld/emultempl
Bernd Schmidt d4730f921a bfd/
* elf-bfd.h (struct bfd_elf_section_reloc_data): New structure.
	(struct bfd_elf_section_data): New members REL and RELA; delete
	members REL_HDR, REL_HDR2, REL_COUNT, REL_COUNT2, REL_IDX,
	REL_IDX2, REL_HASHES.
	(_bfd_elf_init_reloc_shdr): Adjust declaration.
	(_bfd_elf_single_rel_hdr): Declare.
	(RELOC_AGAINST_DISCARDED_SECTION): Use it.
	* elf.c (bfd_section_from_shdr): Adjusted to match changes in
	data structures.
	(_bfd_elf_init_reloc_shdr): New arg RELDATA.  Remove arg REL_HDR.
	All callers changed.  Allocate memory for the Elf_Internal_Shdr
	structure.
	(_bfd_elf_single_rel_hdr): New function.
	(struct fake_section_arg): New structure.
	(elf_fake_section): Expect to see a pointer to it in the third
	argument.  If doing a relocatable link, allocate both REL and RELA
	sections as needed.
	(assign_section_numbers): Adjusted to match changes in
	data structures.
	(_bfd_elf_compute_section_file_positions): Call elf_fake_sections
	with a struct fake_section_args argument.
	* elfcode.h (elf_write_relocs): Adjusted to match changes in
	data structures.
	(elf_slurp_reloc_table): Likewise.
	* elflink.c (_bfd_elf_link_read_relocs): Likewise.
	(_bfd_elf_link_size_reloc_section): Remove arg REL_HDR, replace with
	RELDATA.  Remove argument O.  All callers changed.  Remove code to
	discover the right rel_hdr and count.
	(_bfd_elf_link_output_relocs): Adjusted to match changes in
	data structures.
	(elf_link_adjust_relocs): Remove args REL_HDR, COUNT and REL_HASH;
	replace with RELDATA.  All callers changed.
	(elf_link_input_bfd): Correctly generate rel_hash data when both
	REL and RELA sections are present.
	(elf_reloc_link_order): Adjusted to match changes in
	data structures.
	(bfd_elf_final_link): Simplify code to count relocs.  Free the
	hashes array for both REL and RELA.
	(get_dynamic_reloc_section_name): Use _bfd_elf_single_reloc_hdr
	* elf32-m32r.c (m32r_elf_fake_sections, elf_backend_fake_sections):
	Delete.
	* elf32-tic6x.c (elf32_tic6x_fake_sections, elf_backend_fake_sections):
	Delete.
	(elf32_tic6x_rel_relocation_p): Adjusted to match changes in
	data structures.
 	* elf32-microblaze.c (microblaze_elf_check_relocs): Use
	_bfd_elf_single_rel_hdr.
	* elf32-ppc.c (ppc_elf_relax_section): Likewise.
	* elf32-spu.c (spu_elf_relocate_section): Likewise.
	* elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
	* elf64-hppa.c (get_reloc_section): Likewise.
	* elf64-mips.c (mips_elf64_slurp_reloc_table): Adjusted to match
	changes in data structures.
	(mips_elf64_write_relocs): Use _bfd_elf_single_rel_hdr.
	* elf64-ppc.c (ppc64_elf_edit_opd): Likewise.
	(ppc64_elf_edit_toc): Likewise.
	(get_relocs): Adjusted to match changes in data structures.
	Allocate an Elf_Internal_Shdr structure if necessary.
	(ppc64_elf_finish_dynamic_sections): Use _bfd_elf_single_rel_hdr.
	* elf64-sparc.c (elf64_sparc_slurp_reloc_table): Adjusted to match
	changes in data structures.
	* elfxx-ia64.c (get_reloc_section): Use _bfd_elf_single_rel_hdr.
	* elfxx-mips.c (MIPS_RELOC_RELA_P): Remove macro.
	(mips_elf_rel_relocation_p): Adjusted to match changes in data
	structures.
	(_bfd_mips_elf_relocate_section): Use mips_elf_rel_relocation_p rather
	than MIPS_RELOC_RELOCA_P.
	* elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Use
	_bfd_elf_single_rel_hdr.
	(_bfd_sparc_elf_relocate_section): Likewise.

ld/
	* emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Use
	_bfd_elf_single_rel_hdr.
2010-10-04 14:13:10 +00:00
..
README 19990502 sourceware import 1999-05-03 07:29:11 +00:00
aix.em fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
alphaelf.em * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add 2010-02-04 09:16:43 +00:00
armcoff.em update copyright dates 2009-09-02 07:25:43 +00:00
armelf.em 2010-04-15 Andrew Haley <aph@redhat.com> 2010-04-21 16:32:31 +00:00
astring.sed * emultempl/ostring.sed: Rename from stringify.sed. 1999-08-06 22:46:03 +00:00
avrelf.em PR ld/10956 2009-11-26 13:45:25 +00:00
beos.em * ldlang.c (push_stat_ptr, pop_stat_ptr): New functions. 2009-02-16 07:25:52 +00:00
cr16elf.em PR ld/10956 2009-11-26 13:45:25 +00:00
crxelf.em PR ld/10956 2009-11-26 13:45:25 +00:00
elf-generic.em update copyright dates 2009-09-02 07:25:43 +00:00
elf32.em Check audit entry only on ELF input. 2010-08-25 16:57:32 +00:00
genelf.em bfd/ 2010-02-19 01:47:16 +00:00
generic.em update copyright dates 2009-09-02 07:25:43 +00:00
gld960.em include/ 2008-02-15 03:35:53 +00:00
gld960c.em 2007-07-19 Roland McGrath <roland@redhat.com> 2007-07-19 19:56:10 +00:00
hppaelf.em * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add 2010-02-04 09:16:43 +00:00
ia64elf.em PR ld/6766 2009-09-13 07:19:18 +00:00
irix.em update copyright dates 2009-09-02 07:25:43 +00:00
linux.em include/ 2008-02-15 03:35:53 +00:00
lnk960.em include/ 2008-02-15 03:35:53 +00:00
m68hc1xelf.em update copyright dates 2009-09-02 07:25:43 +00:00
m68kcoff.em * emultempl/armelf.em (elf32_arm_add_stub_section): Use 2008-07-07 00:46:51 +00:00
m68kelf.em update copyright dates 2009-09-02 07:25:43 +00:00
mipsecoff.em update copyright dates 2009-09-02 07:25:43 +00:00
mipself.em * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add 2010-02-04 09:16:43 +00:00
mmix-elfnmmo.em PR ld/10956 2009-11-26 13:45:25 +00:00
mmixelf.em update copyright dates 2009-09-02 07:25:43 +00:00
mmo.em update copyright dates 2009-09-02 07:25:43 +00:00
needrelax.em PR ld/10956 2009-11-26 13:45:25 +00:00
netbsd.em include/ 2009-10-14 05:54:29 +00:00
ostring.sed * emultempl/ostring.sed: Rename from stringify.sed. 1999-08-06 22:46:03 +00:00
pe.em 2010-09-22 Kai Tietz <kai.tietz@onevision.com> 2010-09-22 08:03:42 +00:00
pep.em 2010-09-22 Kai Tietz <kai.tietz@onevision.com> 2010-09-22 08:03:42 +00:00
ppc32elf.em * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add 2010-02-04 09:16:43 +00:00
ppc64elf.em include/elf/ 2010-06-25 05:20:57 +00:00
rxelf.em bfd 2009-09-29 14:17:19 +00:00
scoreelf.em Add support for Score7 architecture. 2009-03-02 10:33:08 +00:00
sh64elf.em PR ld/11384 2010-03-18 13:15:46 +00:00
solaris2.em ld: 2010-03-05 19:49:00 +00:00
spu_icache.S bfd/ 2009-03-17 12:46:19 +00:00
spu_icache.o_c bfd/ 2009-03-17 12:46:19 +00:00
spu_ovl.S bfd/ 2008-06-16 16:16:31 +00:00
spu_ovl.o_c Include the spu_ovl ASCII form in the repository files. 2008-08-02 16:25:44 +00:00
spuelf.em PR 10474 2009-08-10 07:50:56 +00:00
sunos.em 2008-09-08 H.J. Lu <hongjiu.lu@intel.com> 2008-09-08 16:07:46 +00:00
ticoff.em update copyright dates 2009-09-02 07:25:43 +00:00
vanilla.em update copyright dates 2009-09-02 07:25:43 +00:00
vms.em bfd/ 2010-06-01 09:52:28 +00:00
vxworks.em PR 11107 2010-01-08 01:41:11 +00:00
xtensaelf.em bfd/ 2010-10-04 14:13:10 +00:00
z80.em update copyright dates 2009-09-02 07:25:43 +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.