binutils-gdb/ld/testsuite/ld-sh
Kaz Kojima 267fb3c1ce * elf32-sh.c (tpoff): New.
(struct elf_sh_dyn_relocs): Remove tls_tpoff32.
	(WILL_CALL_FINISH_DYNAMIC_SYMBOL): Pass SHARED instead of INFO.
        (allocate_dynrelocs): Don't make unnecessary dynamic TLS
	relocations.  Adjust WILL_CALL_FINISH_DYNAMIC_SYMBOL uses.
        (sh_elf_relocate_section): Likewise. Remove unnecessary tests.
	(dtpoff_base): Fix wrong indentation.
	(sh_elf_check_relocs): Don't set DF_STATIC_TLS flag with non-TLS
	relocations.  Don't set tls_tpoff32 flag.  Don't make unnecessary
	R_SH_TLS_TPOFF32 relocations.

	* ld-sh/tlsbin-1.d, ld-sh/tlsbin-2.d, ld-sh/tlsbin-3.d,
	ld-sh/tlstpoff-1.d, ld-sh/tlstpoff-2.d: Update for removing
	unnecessary TLS relocs.
2003-04-24 05:19:09 +00:00
..
sh64
ld-r-1.d
ldr1.s
ldr2.s
rd-sh.exp
refdbg-0-dso.d
refdbg-1.d
refdbg.s
refdbglib.s
sh1.s
sh2.c
sh.exp
shared-1.d
start.s
sub2l-1.d
sub2l.s
tlsbin-0-dso.d
tlsbin-1.d
tlsbin-2.d
tlsbin-3.d
tlsbin-4.d
tlsbin.s
tlsbinpic.s
tlslib.s
tlspic1.s
tlspic2.s
tlspic-1.d
tlspic-2.d
tlspic-3.d
tlspic-4.d
tlstpoff1.s
tlstpoff2.s
tlstpoff-1.d
tlstpoff-2.d
weak1.d
weak1.s