binutils-gdb/ld/testsuite/ld-arm
Daniel Jacobowitz ba93b8aced bfd/
* bfd-in2.h, libbfd.h: Regenerated.
	* reloc.c: Add ARM TLS relocations.
	* elf32-arm.c (elf32_arm_howto_table): Add dynamic TLS
	relocations.
	(elf32_arm_tls_gd32_howto, elf32_arm_tls_ldo32_howto)
	(elf32_arm_tls_ldm32_howto, elf32_arm_tls_le32_howto)
	(elf32_arm_tls_ie32_howto): New.
	(elf32_arm_howto_from_type): Support TLS relocations.
	(elf32_arm_reloc_map): Likewise.
	(elf32_arm_reloc_type_lookup): Likewise.
	(TCB_SIZE): Define.
	(struct elf32_arm_obj_tdata): New.
	(elf32_arm_tdata, elf32_arm_local_got_tls_type): Define.
	(elf32_arm_mkobject): New function.
	(struct elf32_arm_relocs_copied): Add pc_count.
	(elf32_arm_hash_entry, GOT_UNKNOWN, GOT_NORMAL, GOT_TLS_GD)
	(GOT_TLS_IE): Define.
	(struct elf32_arm_link_hash_table): Add tls_ldm_got.
	(elf32_arm_link_hash_newfunc): Initialize tls_type.
	(elf32_arm_copy_indirect_symbol): Copy pc_count and tls_type.
	(elf32_arm_link_hash_table_create): Initialize tls_ldm_got.
	(dtpoff_base, tpoff): New functions.
	(elf32_arm_final_link_relocate): Handle TLS relocations.
	(IS_ARM_TLS_RELOC): Define.
	(elf32_arm_relocate_section): Warn about TLS mismatches.
	(elf32_arm_gc_sweep_hook): Handle TLS relocations and pc_count.
	(elf32_arm_check_relocs): Detect invalid symbol indexes.  Handle
	TLS relocations and pc_count.
	(elf32_arm_adjust_dynamic_symbol): Check non_got_ref.
	(allocate_dynrelocs): Handle TLS.  Bind REL32 relocs to local
	calls.
	(elf32_arm_size_dynamic_sections): Handle TLS.
	(elf32_arm_finish_dynamic_symbol): Likewise.
	(bfd_elf32_mkobject): Define.
gas/
	* config/tc-arm.c (arm_parse_reloc): Add TLS relocations.
	(md_apply_fix3): Mark TLS symbols.
	(tc_gen_reloc): Handle TLS relocations.
	(arm_fix_adjustable): Ignore TLS relocations.
	(s_arm_elf_cons): Support expressions after decorated symbols.
gas/testuite/
	* gas/arm/tls.s, gas/arm/tls.d: New files.
	* gas/arm/arm.exp: Run TLS test.
include/elf/
	* arm.h: Add TLS relocations.
ld/testsuite/
	* ld-arm/tls-lib.s, ld-arm/tls-lib.d, ld-arm/tls-lib.r,
	ld-arm/tls-app.s, ld-arm/tls-app.d, ld-arm/tls-app.r: New files.
	* ld-arm/arm-lib.ld, ld-arm/arm-dyn.ld: Increase data segment
	alignment.
	* ld-arm/arm-elf.exp: Run TLS tests.
2005-03-29 16:54:22 +00:00
..
arm-app-abs32.d bfd/ 2004-11-17 17:50:28 +00:00
arm-app-abs32.r bfd/ 2004-11-17 17:50:28 +00:00
arm-app-abs32.s * ld-arm/arm-app-abs32.s, ld-arm/arm-app-abs32.r, 2004-01-23 16:51:39 +00:00
arm-app.d bfd/ 2004-11-17 17:50:28 +00:00
arm-app.r bfd/ 2004-11-17 17:50:28 +00:00
arm-app.s * ld-arm/arm-app.d, ld-arm/arm-app.r, ld-arm/arm-app.s, 2004-01-06 21:47:38 +00:00
arm-dyn.ld bfd/ 2005-03-29 16:54:22 +00:00
arm-elf.exp bfd/ 2005-03-29 16:54:22 +00:00
arm-lib-plt32.d bfd/ 2004-11-17 17:50:28 +00:00
arm-lib-plt32.r bfd/ 2004-11-17 17:50:28 +00:00
arm-lib-plt32.s * ld-arm/arm-app.d, ld-arm/arm-app.r, ld-arm/arm-app.s, 2004-01-06 21:47:38 +00:00
arm-lib.d bfd/ 2004-11-17 17:50:28 +00:00
arm-lib.ld bfd/ 2005-03-29 16:54:22 +00:00
arm-lib.r bfd/ 2004-11-17 17:50:28 +00:00
arm-lib.s * ld-arm/arm-app.d, ld-arm/arm-app.r, ld-arm/arm-app.s, 2004-01-06 21:47:38 +00:00
arm-rel31.d bfd/ 2004-09-17 12:18:19 +00:00
arm-rel31.s bfd/ 2004-09-17 12:18:19 +00:00
arm-static-app.d bfd/ 2004-11-17 17:50:28 +00:00
arm-static-app.r bfd/ 2004-11-17 17:50:28 +00:00
arm-static-app.s * ld-arm/arm-elf.exp: Add arm-static-app test. 2004-01-13 21:09:18 +00:00
arm-target1-abs.d bfd/ 2004-09-17 12:18:19 +00:00
arm-target1-rel.d bfd/ 2004-09-17 12:18:19 +00:00
arm-target1.s bfd/ 2004-09-17 12:18:19 +00:00
arm-target2-abs.d bfd/ 2004-09-30 17:03:53 +00:00
arm-target2-got-rel.d bfd/ 2004-09-17 12:18:19 +00:00
arm-target2-rel.d bfd/ 2004-09-17 12:18:19 +00:00
arm-target2.s bfd/ 2004-09-17 12:18:19 +00:00
arm.ld bfd/ 2004-09-17 12:18:19 +00:00
mixed-app.d bfd/ 2004-11-17 17:50:28 +00:00
mixed-app.r bfd/ 2004-11-17 17:50:28 +00:00
mixed-app.s bfd/ 2004-11-17 17:50:28 +00:00
mixed-app.sym bfd/ 2004-11-17 17:50:28 +00:00
mixed-lib.d bfd/ 2004-11-17 17:50:28 +00:00
mixed-lib.r bfd/ 2004-11-17 17:50:28 +00:00
mixed-lib.s bfd/ 2004-11-17 17:50:28 +00:00
mixed-lib.sym bfd/ 2005-03-16 21:52:48 +00:00
tls-app.d bfd/ 2005-03-29 16:54:22 +00:00
tls-app.r bfd/ 2005-03-29 16:54:22 +00:00
tls-app.s bfd/ 2005-03-29 16:54:22 +00:00
tls-lib.d bfd/ 2005-03-29 16:54:22 +00:00
tls-lib.r bfd/ 2005-03-29 16:54:22 +00:00
tls-lib.s bfd/ 2005-03-29 16:54:22 +00:00