binutils-gdb/ld/testsuite/ld-size
H.J. Lu 20e52bd2b8 Don't resolve size relocation against non-zero TLS symbol
bfd/

	* elf32-i386.c (elf_i386_allocate_dynrelocs): Don't clear pc_count
	for non-zero TLS symbol.
	(elf_i386_relocate_section): Don't resolve size relocation against
	non-zero TLS symbol.
	* elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Don't clear
	pc_count for non-zero TLS symbol.
	(elf_x86_64_relocate_section): Don't resolve size relocation
	against non-zero TLS symbol.

ld/testsuite/

	* ld-size/size-10.rd: Updated.
	* ld-size/size-8.rd: Likewise.
	* ld-size/size32-2-i386.d: Likewise.
	* ld-size/size32-2-x32.d: Likewise.
	* ld-size/size32-2-x86-64.d: Likewise.
	* ld-size/size64-2-x32.d: Likewise.
	* ld-size/size64-2-x86-64.d: Likewise.

	* ld-size/size.exp (run_time_tests): Pass --hash-styl=gnu to
	linker for size-8 test.
2013-02-07 02:15:30 +00:00
..
size32-1-i386.d
size32-1-x32.d
size32-1-x86-64.d
size32-1.s
size32-2-i386.d Don't resolve size relocation against non-zero TLS symbol 2013-02-07 02:15:30 +00:00
size32-2-x32.d Don't resolve size relocation against non-zero TLS symbol 2013-02-07 02:15:30 +00:00
size32-2-x86-64.d Don't resolve size relocation against non-zero TLS symbol 2013-02-07 02:15:30 +00:00
size32-2.s
size32-3-i386.d
size32-3-x32.d
size32-3-x86-64.d
size32-3a.s
size32-3b.s
size64-1-x32.d
size64-1-x86-64.d
size64-1.s
size64-2-x32.d Don't resolve size relocation against non-zero TLS symbol 2013-02-07 02:15:30 +00:00
size64-2-x86-64.d Don't resolve size relocation against non-zero TLS symbol 2013-02-07 02:15:30 +00:00
size64-2.s
size-1.c Add size-1 and size-2 tests 2013-01-18 00:01:52 +00:00
size-1.out Add size-1 and size-2 tests 2013-01-18 00:01:52 +00:00
size-1a.c Add size-1 and size-2 tests 2013-01-18 00:01:52 +00:00
size-1b.c Add size-1 and size-2 tests 2013-01-18 00:01:52 +00:00
size-2.c Add size-1 and size-2 tests 2013-01-18 00:01:52 +00:00
size-2.out Add size-1 and size-2 tests 2013-01-18 00:01:52 +00:00
size-2a.c Add size-1 and size-2 tests 2013-01-18 00:01:52 +00:00
size-2b.c Add size-1 and size-2 tests 2013-01-18 00:01:52 +00:00
size-3.c
size-3.out
size-3a.c
size-3b.c
size-3c.c
size-4.out
size-4a.c
size-4b.c
size-5.out
size-5a.c
size-5b.c
size-6.out
size-6a.c
size-6b.c
size-7.out Verify run-time size relocations if supported 2013-01-18 00:21:52 +00:00
size-7.rd
size-7a.c
size-7b.c
size-8.out Verify run-time size relocations if supported 2013-01-18 00:21:52 +00:00
size-8.rd Don't resolve size relocation against non-zero TLS symbol 2013-02-07 02:15:30 +00:00
size-8a.c
size-8b.c
size-9.out Verify run-time size relocations if supported 2013-01-18 00:21:52 +00:00
size-9.rd Verify run-time size relocations if supported 2013-01-18 00:21:52 +00:00
size-9a.c Verify run-time size relocations if supported 2013-01-18 00:21:52 +00:00
size-9b.c Verify run-time size relocations if supported 2013-01-18 00:21:52 +00:00
size-10.out Verify run-time size relocations if supported 2013-01-18 00:21:52 +00:00
size-10.rd Don't resolve size relocation against non-zero TLS symbol 2013-02-07 02:15:30 +00:00
size-10a.c Verify run-time size relocations if supported 2013-01-18 00:21:52 +00:00
size-10b.c Verify run-time size relocations if supported 2013-01-18 00:21:52 +00:00
size.exp Don't resolve size relocation against non-zero TLS symbol 2013-02-07 02:15:30 +00:00