binutils-gdb/ld/testsuite
H.J. Lu a3fadc9a17 bfd/
2007-08-14  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/4918
	* elf32-i386.c (elf_i386_relocate_section): Allow R_386_PC32
	on ___tls_get_addr for GD->LE/LD->LE transitions when not
	building shared library.

	* elf64-x86-64.c (elf64_x86_64_relocate_section): Allow
	R_X86_64_PC32 on __tls_get_addr for GD->LE/LD->LE transitions
	when not building shared library.

ld/testsuite/

2007-08-14  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/4918
	* ld-i386/i386.exp (i386tests): Add tlsgd1 and tlsld1 tests.
	* ld-x86-64/x86-64.exp (x86_64tests): Likewise.

	* ld-i386/tlsgd1.dd: New file.
	* ld-i386/tlsgd1.s: Likewise.
	* ld-i386/tlsld1.dd: Likewise.
	* ld-i386/tlsld1.s: Likewise.
	* ld-x86-64/tlsgd1.dd: Likewise.
	* ld-x86-64/tlsgd1.s: Likewise.
	* ld-x86-64/tlsld1.dd: Likewise.
	* ld-x86-64/tlsld1.s: Likewise.
2007-08-14 19:48:21 +00:00
..
config Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-alpha Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-arm 2007-06-29 Paul Brook <paul@codesourcery.com> 2007-07-25 14:39:48 +00:00
ld-auto-import Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-bootstrap Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-cdtest * ld-cdtest/cdtest-foo.cc (strncpy): Fix parameter name. 2007-07-25 21:30:59 +00:00
ld-checks Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-cris Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-crx Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-cygwin Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-d10v Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-discard Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-elf ld/ 2007-07-29 12:33:38 +00:00
ld-elfcomm Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-elfvers 2007-07-10 H.J. Lu <hongjiu.lu@intel.com> 2007-07-10 14:51:55 +00:00
ld-elfvsb Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-elfweak Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-fastcall Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-frv Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-h8300 Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-i386 bfd/ 2007-08-14 19:48:21 +00:00
ld-ia64 Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-libs Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-linkonce Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-m68hc11 Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-m68k Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-maxq Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-mep Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-mips-elf bfd/ 2007-08-13 21:16:39 +00:00
ld-mmix Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-pe * ld-pe/pe.exp: Special diff file for x86_64-mingw target. 2007-08-06 14:41:51 +00:00
ld-pie Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-powerpc bfd/ 2007-08-13 00:20:59 +00:00
ld-s390 Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-scripts * ld-scripts/assert.t: Tweak to avoid relying on empty's VMA being 2007-07-13 09:09:25 +00:00
ld-selective Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-sh Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-shared Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-sparc Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-spu Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-srec * ld-srec/srec.exp: XFAIL for powerpc*-*-*. 2007-08-03 12:53:47 +00:00
ld-undefined Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-v850 Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-versados Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-vxworks Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-x86-64 bfd/ 2007-08-14 19:48:21 +00:00
ld-xc16x Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-xstormy16 Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-xtensa Update sources to GPLv3 2007-07-06 14:09:45 +00:00
lib Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ChangeLog bfd/ 2007-08-14 19:48:21 +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-9303