binutils-gdb/ld/testsuite/ld-discard
Daniel Jacobowitz b1e24c0220 bfd/
* libbfd-in.h (_bfd_clear_contents): New prototype.
	* reloc.c (_bfd_clear_contents): New.
	* libbfd.h: Regenerated.

	* elf32-arm.c (elf32_arm_final_link_relocate): Use
	_bfd_clear_contents.
	* elf32-d10v.c (elf32_d10v_relocate_section): Likewise.
	* elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
	* elf32-i386.c (elf_i386_relocate_section): Likewise.
	* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
	* elf32-s390.c (elf_s390_relocate_section): Likewise.
	* elf32-sh.c (sh_elf_relocate_section): Likewise.
	* elf32-xtensa.c (elf_xtensa_relocate_section): Likewise.
	* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
	* elf64-s390.c (elf_s390_relocate_section): Likewise.
	* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
	* elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise.

	* elfxx-ia64.c (elfNN_ia64_relocate_section): Set value to
	zero for discarded symbols.
	* elfxx-mips.c (mips_elf_calculate_relocation): Likewise.
ld/testsuite/
	* ld-discard/zero-rel.d, ld-discard/zero-rel.s: New files.
2006-11-03 00:58:10 +00:00
..
discard.exp Update FSF addresses 2005-05-12 07:32:09 +00:00
discard.ld
exit.s o * ld-discard/exit.s: Correct .text.exit attributes. 2003-09-23 00:41:51 +00:00
extern.d bfd/ 2005-04-25 14:59:09 +00:00
extern.s o * ld-discard/exit.s: Correct .text.exit attributes. 2003-09-23 00:41:51 +00:00
start.d bfd/ 2005-04-25 14:59:09 +00:00
start.s * ld-discard/extern.s, ld-discard/start.s, ld-discard/static.s, 2003-04-13 14:42:22 +00:00
static.d bfd/ 2005-04-25 14:59:09 +00:00
static.s o * ld-discard/exit.s: Correct .text.exit attributes. 2003-09-23 00:41:51 +00:00
zero-rel.d bfd/ 2006-11-03 00:58:10 +00:00
zero-rel.s bfd/ 2006-11-03 00:58:10 +00:00