binutils-gdb/gas/doc
Nathan Sidwell 0855e32bf5 bfd/
* reloc.c (BFD_RELOC_ARM_TLS_GOTDESC, BFD_RELOC_ARM_TLS_CALL,
	BFD_RELOC_ARM_THM_TLS_CALL, BFD_RELOC_ARM_TLS_DESCSEQ,
	BFD_RELOC_ARM_THM_TLS_DESCSEQ, BFD_RELOC_ARM_TLS_DESC): New
	relocations.
	* libbfd.h: Rebuilt.
	* bfd-in2.h: Rebuilt.
	* elf32-arm.c (elf32_arm_howto_table_1): Add new relocations.
	(elf32_arm_reloc_map): Likewise.
	(tls_trampoline, dl_tlsdesc_lazy_trampoline): New PLT templates.
	(elf32_arm_stub_long_branch_any_tls_pic,
	elf32_arm_stub_long_branch_v4t_thumb_tls_pic): New stub templates.
	(DEF_STUBS): Add new stubs.
	(struct_elf_arm_obj_data): Add local_tlsdesc_gotent field.
	(elf32_arm_local_tlsdesc_gotent): New.
	(GOT_TLS_GDESC): New mask.
	(GOT_TLS_GD_ANY): Define.
	(struct elf32_arm_link_hash_entry): Add tlsdesc_got field.
	(elf32_arm_compute_jump_table_size): New.
	(struct elf32_arm_link_hash_table): Add next_tls_desc_index,
	num_tls_desc, dt_tlsdesc_plt, dt_tlsdesc_got, tls_trampoline,
	sgotplt_jump_table_size fields.
	(elf32_arm_link_hash_newfunc): Initialize tlsdesc_got field.
	(elf32_arm_link_hash_table_create): Initialize new fields.
	(arm_type_of_stub): Check TLS desc relocs too.
	(elf32_arm_stub_name): TLS desc relocs can be shared.
	(elf32_arm_tls_transition): Determine relaxation.
	(arm_stub_required_alignment): Add tls stubs.
	(elf32_arm_size_stubs): Likewise.
	(elf32_arm_tls_relax): Perform TLS relaxing.
	(elf32_arm_final_link_relocate): Process TLS DESC relocations.
	(IS_ARM_TLS_GNU_RELOC): New.
	(IS_ARM_TLS_RELOC): Use it.
	(elf32_arm_relocate_section): Perform TLS relaxing.
	(elf32_arm_check_relocs): Anticipate TLS relaxing, process tls
	desc relocations.
	(allocate_dynrelocs): Allocate tls desc relcoations.
	(elf32_arm_output_arch_local_syms): Emit tls trampoline mapping
	symbols.
	(elf32_arm_size_dynamic_sections): Allocate tls trampolines and
	got slots.
	(elf32_arm_always_size_sections): New. Create _TLS_MODULE_BASE
	symbol.
	(elf32_arm_finish_dynamic_symbol): Adjust.
	(arm_put_trampoline): New.
	(elf32_arm_finish_dynamic_sections): Emit new dynamic tags and tls
	trampolines.
	(elf_backend_always_size_sections): Define.

	include/elf/
	* arm.h (R_ARM_TLS_DESC, R_ARM_TLS_GOTDESC, R_ARM_TLS_CALL,
	R_ARM_TLS_DESCSEQ, T_ARM_THM_TLS_CALL, R_ARM_THM_TLS_DESCSEQ): New
	relocations.

	gas/
	* doc/c-arm.texi: Document TLSDESC and TLSCALL relocations, and
	.tlsdescseq directive.
	* config/tc-arm.c (arm_typed_reg_parse): Check for potential reloc
	following a symbol.
	(s_arm_tls_descseq): New directive.
	(md_pseudo_table): Add it.
	(encode_branch): Allow TLS_CALL relocs too.
	(do_t_blx, do_t_branch23): Use encode_branch.
	(reloc_names): Add tlsdesc and tlscall.
	(md_apply_fix): Process tls desc relocations.
	(tc_gen_reloc): Likewise.
	(arm_fix_adjustable): Likewise.

	gas/testsuite/
	* gas/arm/tls.s: Add tlsdesc tests.
	* gas/arm/tls.d: Adjust.

	ld/testsuite/
	* ld-arm/arm-elf.exp: Added tests for new TLS handling
	relocations.
	* ld-arm/tls-descrelax-be32.d: New.
	* ld-arm/tls-descrelax-be32.s: New.
	* ld-arm/tls-descrelax-be8.d: New.
	* ld-arm/tls-descrelax-be8.s: New.
	* ld-arm/tls-descrelax-v7.d: New.
	* ld-arm/tls-descrelax-v7.s: New.
	* ld-arm/tls-descrelax.d: New.
	* ld-arm/tls-descrelax.s: New.
	* ld-arm/tls-descseq.d: New.
	* ld-arm/tls-descseq.r: New.
	* ld-arm/tls-descseq.s: New.
	* ld-arm/tls-gdesc-got.d: New.
	* ld-arm/tls-gdesc-got.s: New.
	* ld-arm/tls-gdesc-nlazy.g: New.
	* ld-arm/tls-gdesc-nlazy.s: New.
	* ld-arm/tls-gdesc.d: New.
	* ld-arm/tls-gdesc.r: New.
	* ld-arm/tls-gdesc.s: New.
	* ld-arm/tls-gdierelax.d: New.
	* ld-arm/tls-gdierelax.s: New.
	* ld-arm/tls-gdierelax2.d: New.
	* ld-arm/tls-gdierelax2.s: New.
	* ld-arm/tls-gdlerelax.d: New.
	* ld-arm/tls-gdlerelax.s: New.
	* ld-arm/tls-lib-loc.d: New.
	* ld-arm/tls-lib-loc.r: New.
	* ld-arm/tls-lib-loc.s: New.
	* ld-arm/tls-longplt-lib.d: New.
	* ld-arm/tls-longplt-lib.s: New.
	* ld-arm/tls-longplt.d: New.
	* ld-arm/tls-longplt.s: New.
	* ld-arm/tls-mixed.r: New.
	* ld-arm/tls-mixed.s: New.
	* ld-arm/tls-thumb1.d: New.
	* ld-arm/tls-thumb1.s: New.
	* ld-arm/arm-elf.exp: New.
2011-01-10 08:40:19 +00:00
..
Makefile.am bfd: 2010-03-25 21:12:36 +00:00
Makefile.in bfd/ 2010-05-07 12:28:50 +00:00
all.texi bfd: 2010-03-25 21:12:36 +00:00
as.texinfo Add x86-64 ILP32 support. 2010-12-31 00:33:36 +00:00
c-alpha.texi * doc/as.texinfo: Refer to or include c-alpha.texi for Alpha 2010-11-22 22:11:52 +00:00
c-arc.texi update copyright dates 2009-09-02 07:25:43 +00:00
c-arm.texi bfd/ 2011-01-10 08:40:19 +00:00
c-avr.texi 2010-04-07 Eric B. Weddington <eric.weddington@atmel.com> 2010-04-09 03:48:54 +00:00
c-bfin.texi gas: bfin: convert to new doc style 2010-11-24 22:20:02 +00:00
c-cr16.texi update copyright dates 2009-09-02 07:25:43 +00:00
c-cris.texi update copyright dates 2005-03-03 01:29:54 +00:00
c-d10v.texi * doc/as.texinfo (Overview): Use @itemx for grouped @table 2010-06-21 10:49:41 +00:00
c-d30v.texi 19990502 sourceware import 1999-05-03 07:29:11 +00:00
c-h8300.texi update copyright dates 2009-09-02 07:25:43 +00:00
c-hppa.texi * som.c (struct som_misc_symbol_info): Add is_comdat, is_common and 2004-04-28 18:02:49 +00:00
c-i370.texi update copyright dates 2005-03-03 01:29:54 +00:00
c-i386.texi Add docs and arch tests to BMI. 2011-01-07 17:44:30 +00:00
c-i860.texi 2003-08-25 Jason Eckhardt <jle@rice.edu> 2003-08-26 02:40:43 +00:00
c-i960.texi update copyright dates 2009-09-02 07:25:43 +00:00
c-ia64.texi * doc/as.texinfo (Overview): Use @itemx for grouped @table 2010-06-21 10:49:41 +00:00
c-ip2k.texi * doc/c-ip2k.texi: The company name Scenix changed to Ubicom. 2002-07-22 19:04:28 +00:00
c-lm32.texi Add LM32 port. 2008-12-23 19:10:25 +00:00
c-m32c.texi update copyright dates 2009-09-02 07:25:43 +00:00
c-m32r.texi update copyright dates 2009-09-02 07:25:43 +00:00
c-m68hc11.texi update copyright dates 2009-09-02 07:25:43 +00:00
c-m68k.texi * doc/as.texinfo (Overview): Use @itemx for grouped @table 2010-06-21 10:49:41 +00:00
c-microblaze.texi missed from last commit 2009-08-07 06:26:33 +00:00
c-mips.texi bfd/ 2010-11-11 10:23:39 +00:00
c-mmix.texi update copyright dates 2009-09-02 07:25:43 +00:00
c-msp430.texi update copyright dates 2009-09-02 07:25:43 +00:00
c-mt.texi * doc/t-mt.texi: Update MS1 to MT. 2005-12-20 09:44:48 +00:00
c-ns32k.texi update copyright dates 2005-03-03 01:29:54 +00:00
c-pdp11.texi update copyright dates 2009-09-02 07:25:43 +00:00
c-pj.texi update copyright dates 2005-03-03 01:29:54 +00:00
c-ppc.texi include/ 2010-02-08 01:59:38 +00:00
c-rx.texi bfd 2009-09-29 14:17:19 +00:00
c-s390.texi 2010-09-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2010-09-27 13:36:48 +00:00
c-score.texi Add support for Score7 architecture. 2009-03-02 10:33:08 +00:00
c-sh.texi 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
c-sh64.texi update copyright dates 2009-09-02 07:25:43 +00:00
c-sparc.texi update copyright dates 2009-09-02 07:25:43 +00:00
c-tic6x.texi * doc/as.texinfo: Refer to or include c-alpha.texi for Alpha 2010-11-22 22:11:52 +00:00
c-tic54x.texi * doc/as.texinfo (Overview): Use @itemx for grouped @table 2010-06-21 10:49:41 +00:00
c-v850.texi Add support for v850E2 and v850E2V3 2010-07-23 14:52:54 +00:00
c-vax.texi update copyright dates 2005-03-03 01:29:54 +00:00
c-xc16x.texi Add support for the Infineon XC16X. 2006-02-17 14:36:28 +00:00
c-xtensa.texi 2010-11-23 Sterling Augustine <sterling@tensilica.com> 2010-11-23 19:19:38 +00:00
c-z8k.texi update copyright dates 2005-03-03 01:29:54 +00:00
c-z80.texi Fix spelling typos 2006-07-24 13:49:50 +00:00
fdl.texi Change documentation license to FDL v1.3 2008-11-19 16:22:48 +00:00
h8.texi Replace occurrances of 'Hitachi' with 'Renesas'. 2003-04-15 08:51:55 +00:00
internals.texi * symbols.c (symbol_clone_if_forward_ref): Call tc_new_dot_label 2010-12-16 18:48:28 +00:00