old-cross-binutils/ld/testsuite
David S. Miller abd242a908 Fix sparc TLS call relaxation when the delay slot sets up %o0.
bfd/

	PR binutils/13301
	* elfxx-sparc.c (sparc_elf_find_reloc_at_ofs): New function.
	(_bfd_sparc_elf_relocate_section): Always move the __tls_get_addr
	call delay slot instruction forward 4 bytes when performing
	relaxation.

gold/

	PR binutils/13301
	* sparc.cc (Target_sparc::Relocate::reloc_adjust_addr_): New
	member to track relocation locations that have moved during TLS
	reloc optimizations.
	(Target_sparc::Relocate::Relocate): Initialize to NULL.
	(Target_sparc::Relocate::relocate): Adjust view down by 4
	bytes if it matches reloc_adjust_addr_.
	(Target_sparc::Relocate::relocate_tls): Always move the
	__tls_get_addr call delay slot instruction forward 4 bytes when
	performing relaxation.

ld/testsuite/

	* ld-sparc/tlssunbin32.dd: Update for TLS call relaxation fix
	for PR 13301.
	* ld-sparc/tlssunbin64.dd: Likewise.
	* ld-sparc/tlssunpic32.dd: Likewise.
	* ld-sparc/tlssunpic64.dd: Likewise.
2011-10-19 00:32:25 +00:00
..
config * config/default.exp (ld_assemble): Pass flags parameter to 2011-05-12 10:00:06 +00:00
ld-alpha * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Do not 2011-04-12 23:23:02 +00:00
ld-arm Jie Zhang <jie@codesourcery.com> 2011-10-18 14:41:55 +00:00
ld-auto-import update copyright dates 2009-09-02 07:25:43 +00:00
ld-bootstrap * ld-bootstrap/bootstrap.exp: Fix misplaced comment. 2010-12-20 13:05:00 +00:00
ld-cdtest update copyright dates 2009-09-02 07:25:43 +00:00
ld-checks update copyright dates 2009-09-02 07:25:43 +00:00
ld-cris * ld-cris/pic-gc-72.d: Adjust for dropping unused undefined 2011-10-14 06:51:48 +00:00
ld-crx update copyright dates 2009-09-02 07:25:43 +00:00
ld-cygwin update copyright dates 2009-09-02 07:25:43 +00:00
ld-d10v * ld-d10v/reloc-007.d: Don't error. 2010-09-23 11:55:47 +00:00
ld-discard * ld-elf/binutils.exp: Correct x86 gnu target match. 2010-11-18 06:57:57 +00:00
ld-elf Preserve the maximum alignment/size for common symbols. 2011-10-08 16:51:11 +00:00
ld-elfcomm PR ld/12360 2010-12-31 22:29:19 +00:00
ld-elfvers * ld-elfvers/vers2.ver: Don't assume any particular index for 2011-06-16 00:42:06 +00:00
ld-elfvsb Fix misc x32 bugs. 2011-06-19 21:22:16 +00:00
ld-elfweak Adjust URLs. 2010-12-21 11:00:48 +00:00
ld-fastcall update copyright dates 2009-09-02 07:25:43 +00:00
ld-frv Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-gc * ld-elf/elf.exp: Force 32-bit start address for alpha. 2011-03-30 17:41:36 +00:00
ld-h8300 * ld-h8300/h8300.exp: Use is_elf_format. 2010-09-29 06:20:06 +00:00
ld-i386 ld/testsuite/ 2011-07-27 20:58:14 +00:00
ld-ia64 Checked in the missing testcases. 2009-10-07 18:33:20 +00:00
ld-ifunc Use .got.plt for IFUNC symbols if there are no GOT relocations. 2011-09-12 18:17:36 +00:00
ld-libs binutils/testsuite/ 2009-04-16 04:24:07 +00:00
ld-linkonce Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
ld-m68hc11 update copyright dates 2009-09-02 07:25:43 +00:00
ld-m68k * ld-m68k/tls-gd-ie-1.d: Stabilize test. 2011-04-15 09:58:23 +00:00
ld-mep Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-mips-elf bfd/ 2011-07-24 14:20:15 +00:00
ld-misc * ld-gc/start.d: Exclude frv-*-linux*. 2011-02-10 07:24:06 +00:00
ld-mmix PR ld/12815 2011-07-25 01:16:05 +00:00
ld-mn10300 PR gas/12519 2011-02-25 13:45:54 +00:00
ld-pe * dw2gencfi.c (dwcfi_seg_list): New struct. 2011-04-26 15:28:08 +00:00
ld-pie Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
ld-plugin PR ld/13329 2011-10-06 10:07:17 +00:00
ld-powerpc ld/ 2011-10-10 09:05:41 +00:00
ld-s390 2010-10-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2010-10-27 15:02:52 +00:00
ld-scripts * readelf.c (get_machine_dlags): Add support for RX's PID mode. 2011-10-05 14:13:31 +00:00
ld-selective * ld-elf/flags1.d: Don't xfail tic6x. 2011-05-13 04:19:18 +00:00
ld-sh PR gas/12519 2011-02-25 13:45:54 +00:00
ld-shared Fix misc x32 bugs. 2011-06-19 21:22:16 +00:00
ld-sparc Fix sparc TLS call relaxation when the delay slot sets up %o0. 2011-10-19 00:32:25 +00:00
ld-spu bfd/ 2009-10-01 13:09:56 +00:00
ld-srec * Makefile.am (ALL_MACHINES): Add cpu-tilegx.lo and cpu-tilepro.lo. 2011-06-13 15:18:54 +00:00
ld-tic6x ld/testsuite/ 2011-05-20 10:10:00 +00:00
ld-tilegx * Makefile.am (ALL_MACHINES): Add cpu-tilegx.lo and cpu-tilepro.lo. 2011-06-13 15:18:54 +00:00
ld-tilepro * Makefile.am (ALL_MACHINES): Add cpu-tilegx.lo and cpu-tilepro.lo. 2011-06-13 15:18:54 +00:00
ld-undefined * ld-elf/flags1.d: Don't xfail tic6x. 2011-05-13 04:19:18 +00:00
ld-unique ELFOSABI_GNU 2011-07-03 13:37:09 +00:00
ld-v850 Add support for v850E2 and v850E2V3 2010-07-23 14:52:54 +00:00
ld-versados update copyright dates 2009-09-02 07:25:43 +00:00
ld-vxworks Tolerate some whitespace differences in readelf output. 2009-09-23 03:12:28 +00:00
ld-x86-64 Use .got.plt for IFUNC symbols if there are no GOT relocations. 2011-09-12 18:17:36 +00:00
ld-xc16x update copyright dates 2009-09-02 07:25:43 +00:00
ld-xstormy16 update copyright dates 2009-09-02 07:25:43 +00:00
ld-xtensa bfd/ 2009-09-24 15:56:52 +00:00
lib bfd/ 2011-07-24 14:20:15 +00:00
ChangeLog Fix sparc TLS call relaxation when the delay slot sets up %o0. 2011-10-19 00:32:25 +00:00
ChangeLog-2004 split changelogs 2006-01-16 23:15:07 +00:00
ChangeLog-2005 split changelogs 2006-01-16 23:15:07 +00:00
ChangeLog-2006 Move 2006 ChangeLog entries to ChangeLog-2006. 2007-01-09 17:30:59 +00:00
ChangeLog-2007 bfd/ 2008-01-07 16:45:35 +00:00
ChangeLog-2008 bfd/ 2009-01-02 16:48:11 +00:00
ChangeLog-2009 Move 2009 binutils ChangeLog to ChangeLog-2009. 2010-01-01 18:06:10 +00:00
ChangeLog-2010 Rotate binutils ChangeLogs. 2011-01-01 16:43:53 +00:00
ChangeLog-9303 Split ChangeLog files. 2004-01-02 11:16:21 +00:00