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
..
2010-10-28 11:40:26 +00:00
2010-04-10 22:52:37 +00:00
2010-11-25 06:08:52 +00:00
2010-12-09 09:03:18 +00:00
2009-11-24 22:47:20 +00:00
2010-05-07 12:28:50 +00:00
2010-08-18 12:24:13 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-11-23 14:41:33 +00:00
2010-08-25 07:02:40 +00:00
2009-10-02 14:40:41 +00:00
2010-08-25 07:02:40 +00:00
2009-09-02 07:25:43 +00:00
2010-08-18 12:24:13 +00:00
2010-08-18 12:24:13 +00:00
2010-12-13 01:06:16 +00:00
2010-06-23 10:21:16 +00:00
2010-11-12 22:10:18 +00:00
2010-12-31 00:33:36 +00:00
2011-01-10 08:40:19 +00:00
2010-11-08 02:48:57 +00:00
2010-11-03 02:31:02 +00:00
2010-01-05 00:40:07 +00:00
2010-06-09 13:28:31 +00:00
2009-07-02 17:08:51 +00:00
2009-11-23 14:41:33 +00:00
2010-06-27 04:07:55 +00:00
2009-12-11 15:42:38 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2011-01-10 08:40:19 +00:00
2009-01-02 16:48:11 +00:00
2010-01-01 18:06:10 +00:00
2011-01-01 16:43:53 +00:00
2010-08-30 09:35:25 +00:00
2010-08-18 12:24:13 +00:00
2010-05-26 07:37:36 +00:00
2009-09-02 07:25:43 +00:00
2010-08-25 07:02:40 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2010-03-31 16:32:02 +00:00
2010-06-27 04:07:55 +00:00
2009-09-05 07:56:26 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2010-06-27 04:07:55 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2010-06-27 04:07:55 +00:00
2010-08-18 12:24:13 +00:00
2009-09-02 07:25:43 +00:00
2009-09-05 07:56:26 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2010-03-31 16:32:02 +00:00
2009-10-17 17:18:28 +00:00
2010-11-04 16:03:25 +00:00
2010-04-27 14:42:50 +00:00
2010-12-13 01:06:16 +00:00
2009-09-05 07:56:26 +00:00
2010-12-24 10:40:19 +00:00
2010-12-31 11:01:00 +00:00
2010-04-27 17:26:09 +00:00
2010-12-31 11:01:00 +00:00
2009-09-30 13:12:50 +00:00
2010-12-31 11:01:00 +00:00
2010-12-31 11:01:00 +00:00
2010-08-18 12:24:13 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2010-06-27 04:07:55 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2010-09-23 11:55:01 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2011-01-03 18:16:46 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-07-25 15:50:20 +00:00
2008-12-23 19:10:25 +00:00
2010-01-13 14:34:13 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-08-06 17:38:04 +00:00
2010-11-17 09:32:42 +00:00
2009-09-02 07:25:43 +00:00
2009-04-16 15:39:48 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-05-26 14:12:03 +00:00
2010-02-08 01:59:38 +00:00
2009-09-02 07:25:43 +00:00
2009-09-29 14:17:19 +00:00
2009-09-02 07:25:43 +00:00
2009-03-02 10:33:08 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2010-03-25 21:12:36 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2010-07-23 14:52:54 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-06-04 06:51:11 +00:00
2010-01-11 09:53:27 +00:00
2010-10-29 12:10:39 +00:00
2010-12-13 01:06:16 +00:00
2009-09-25 19:13:27 +00:00
2010-08-18 12:24:13 +00:00
2011-01-10 08:40:19 +00:00
2010-11-17 10:56:42 +00:00
2010-11-15 22:30:47 +00:00
2010-10-25 15:54:16 +00:00
2010-10-25 15:54:16 +00:00
2010-10-25 15:54:16 +00:00
2010-10-25 15:54:16 +00:00
2010-10-25 15:54:16 +00:00
2009-09-02 07:25:43 +00:00
2010-10-25 15:54:16 +00:00
2010-10-25 15:54:16 +00:00
2010-10-25 15:54:16 +00:00
2010-10-25 15:54:16 +00:00
2009-09-02 07:25:43 +00:00
2010-10-25 15:54:16 +00:00
2011-01-06 18:45:05 +00:00
2010-10-25 15:54:16 +00:00
2010-10-25 15:54:16 +00:00
2010-10-25 15:54:16 +00:00
2010-10-25 15:54:16 +00:00
2010-10-25 15:54:16 +00:00
2010-10-25 15:54:16 +00:00
2010-10-25 15:54:16 +00:00
2010-02-04 09:16:43 +00:00
2010-08-25 14:53:45 +00:00
2010-08-25 14:53:45 +00:00
2010-10-25 15:54:16 +00:00
2009-09-02 07:25:43 +00:00
2010-10-25 15:54:16 +00:00
2010-10-25 15:54:16 +00:00
2010-10-04 14:13:10 +00:00
2010-12-31 11:01:00 +00:00
2010-10-25 15:54:16 +00:00
2010-10-25 15:54:16 +00:00
2010-10-25 15:54:16 +00:00
2010-10-25 15:54:16 +00:00
2010-10-25 15:54:16 +00:00
2009-09-21 11:51:02 +00:00
2011-01-05 22:04:09 +00:00
2010-10-25 15:54:16 +00:00
2010-10-25 15:54:16 +00:00
2010-10-25 15:54:16 +00:00
2009-05-21 14:15:50 +00:00
2009-09-02 07:25:43 +00:00
2010-06-27 04:07:55 +00:00
2009-09-02 07:25:43 +00:00
2010-05-25 14:12:43 +00:00
2010-10-25 15:54:16 +00:00
2010-10-22 12:08:32 +00:00
2010-10-25 15:54:16 +00:00
2009-08-05 20:40:34 +00:00
2010-11-05 13:04:07 +00:00
2010-06-16 00:36:04 +00:00
2010-10-25 15:54:16 +00:00
2010-10-25 15:54:16 +00:00
2010-10-25 15:54:16 +00:00
2010-10-25 15:54:16 +00:00
2010-10-25 15:54:16 +00:00
2009-09-02 07:25:43 +00:00
2010-10-25 15:54:16 +00:00
2010-11-08 02:48:57 +00:00
2009-09-02 07:25:43 +00:00
2010-12-31 11:01:00 +00:00
2010-10-25 15:54:16 +00:00
2010-10-25 15:54:16 +00:00
2010-03-15 01:59:57 +00:00
2010-10-25 15:54:16 +00:00
2010-10-25 15:54:16 +00:00
2010-10-22 12:08:32 +00:00
2011-01-06 18:45:05 +00:00
2009-09-02 07:25:43 +00:00
2010-11-05 13:02:09 +00:00
2010-12-31 00:33:36 +00:00
2010-11-23 23:30:04 +00:00
2010-08-25 07:02:40 +00:00
2011-01-07 03:34:23 +00:00
2010-10-25 15:54:16 +00:00
2010-10-25 15:54:16 +00:00
2009-09-09 21:38:59 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2010-12-15 14:56:40 +00:00
2010-12-31 02:43:21 +00:00
2010-08-18 12:24:13 +00:00
2010-12-31 02:43:21 +00:00
2010-12-31 11:01:00 +00:00
2010-11-08 02:48:57 +00:00
2010-11-23 17:04:13 +00:00
2010-08-25 14:53:45 +00:00
2010-10-25 15:54:16 +00:00
2010-02-08 20:28:43 +00:00
2010-11-04 11:35:01 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-09 21:38:59 +00:00
2009-09-02 07:25:43 +00:00
2010-11-08 02:48:57 +00:00
2009-09-02 07:25:43 +00:00
2009-10-02 14:40:41 +00:00
2010-06-27 04:07:55 +00:00
2010-08-18 12:24:13 +00:00
2010-08-18 12:24:13 +00:00
2009-10-02 14:40:41 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-10-02 14:40:41 +00:00
2010-06-27 04:07:55 +00:00
2009-09-02 07:25:43 +00:00
2009-11-23 14:41:33 +00:00
2009-09-02 07:25:43 +00:00
2009-11-23 14:41:33 +00:00
2010-06-27 04:07:55 +00:00
2009-11-23 14:41:33 +00:00
2009-09-02 07:25:43 +00:00
2010-08-18 12:24:13 +00:00
2009-09-09 21:38:59 +00:00
2010-10-29 12:10:39 +00:00
2010-10-29 12:10:39 +00:00
2011-01-10 08:40:19 +00:00
2010-03-18 12:27:15 +00:00
2010-03-18 12:27:15 +00:00
2010-03-24 15:41:59 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2010-12-13 01:06:16 +00:00
2010-08-18 12:24:13 +00:00
2009-09-02 07:25:43 +00:00
2009-10-02 14:40:41 +00:00
2009-09-02 07:25:43 +00:00
2009-10-02 14:40:41 +00:00
2009-09-02 07:25:43 +00:00
2010-01-11 15:39:41 +00:00
2010-08-18 12:24:13 +00:00
2010-01-13 11:49:36 +00:00
2010-06-27 04:07:55 +00:00
2010-01-11 15:57:59 +00:00
2010-12-04 13:00:35 +00:00
2010-12-04 13:00:35 +00:00
2010-11-04 13:51:37 +00:00
2010-10-29 12:10:39 +00:00
2009-10-02 14:40:41 +00:00
2010-06-27 04:07:55 +00:00
2010-09-01 13:51:35 +00:00
2009-10-02 14:40:41 +00:00
2010-06-27 04:07:55 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-11-23 14:41:33 +00:00
2009-09-02 07:25:43 +00:00
2010-03-24 15:41:59 +00:00
2010-10-25 07:02:19 +00:00
2010-08-18 12:24:13 +00:00
2009-10-02 14:40:41 +00:00
2010-12-13 01:06:16 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2010-06-27 04:07:55 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2010-09-14 20:40:39 +00:00
2009-12-11 13:42:17 +00:00
2009-09-05 07:56:26 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-04-21 17:08:20 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2010-10-08 15:54:18 +00:00
2010-05-26 07:37:36 +00:00
2010-12-21 15:24:39 +00:00
2010-12-12 23:50:47 +00:00
2009-05-28 11:30:49 +00:00
2009-11-23 14:41:33 +00:00
2010-08-18 12:24:13 +00:00
2009-09-02 07:25:43 +00:00
2011-01-10 08:40:19 +00:00
2010-08-25 07:02:40 +00:00
2009-09-11 08:08:11 +00:00
2010-08-18 12:24:13 +00:00
2010-11-08 02:48:57 +00:00
2010-10-29 12:10:39 +00:00
2010-06-27 04:07:55 +00:00
2010-06-10 08:51:46 +00:00
2009-10-02 14:40:41 +00:00
2009-09-02 07:25:43 +00:00
2009-11-23 14:41:33 +00:00
2009-09-02 07:25:43 +00:00
2009-09-09 21:38:59 +00:00
2009-09-09 21:38:59 +00:00
2009-09-02 07:25:43 +00:00
2010-12-31 11:01:00 +00:00
2009-12-15 16:59:20 +00:00
2009-09-02 07:25:43 +00:00
2010-08-18 12:24:13 +00:00
2009-09-02 07:25:43 +00:00
2009-10-02 14:40:41 +00:00
2009-09-02 07:25:43 +00:00
2010-04-09 14:40:18 +00:00
2010-06-27 04:07:55 +00:00
2011-01-09 23:00:06 +00:00
2010-12-13 01:06:16 +00:00
2010-11-17 11:32:53 +00:00
2010-08-03 15:18:51 +00:00
2010-06-11 15:13:32 +00:00
2010-04-07 07:19:02 +00:00
2010-08-18 12:24:13 +00:00
2010-12-13 01:06:16 +00:00
2010-06-27 04:07:55 +00:00
2009-12-11 13:42:17 +00:00
2010-05-28 18:10:45 +00:00