2011-01-18 20:41:09 +00:00
|
|
|
|
2011-01-18 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-x86-64/ilp32-4.d: Updated.
|
|
|
|
|
|
2011-01-17 16:36:43 +00:00
|
|
|
|
2011-01-17 Richard Sandiford <richard.sandiford@linaro.org>
|
|
|
|
|
|
|
|
|
|
* ld-arm/arm-rel32.s, ld-arm/arm-rel32.d: New testcase.
|
|
|
|
|
* ld-arm/arm-elf.exp: Run it.
|
|
|
|
|
|
2011-01-17 16:36:15 +00:00
|
|
|
|
2011-01-17 Richard Sandiford <richard.sandiford@linaro.org>
|
|
|
|
|
|
|
|
|
|
* ld-arm/gc-thumb-lib.s, ld-arm/gc-thumb.s,
|
|
|
|
|
ld-arm/gc-thumb.d: New test.
|
|
|
|
|
* ld-arm/arm-elf.exp: Run it.
|
|
|
|
|
|
2011-01-14 23:07:11 +00:00
|
|
|
|
2011-01-14 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
2011-01-15 00:38:35 +00:00
|
|
|
|
* ld-x86-64/ia32-2.d: Replace --n32 with --x32.
|
|
|
|
|
* ld-x86-64/ilp32-1.d: Likewise.
|
2011-01-14 23:07:11 +00:00
|
|
|
|
* ld-x86-64/ilp32-2.d: Likewise.
|
|
|
|
|
* ld-x86-64/ilp32-3.d: Likewise.
|
|
|
|
|
* ld-x86-64/ilp32-4.d: Likewise.
|
|
|
|
|
* ld-x86-64/ilp32-5.d: Likewise.
|
2011-01-15 00:38:35 +00:00
|
|
|
|
* ld-x86-64/lp64-3.d: Likewise.
|
2011-01-14 23:07:11 +00:00
|
|
|
|
* ld-x86-64/x86-64.exp: Likewise.
|
|
|
|
|
|
2011-01-14 22:48:12 +00:00
|
|
|
|
2011-01-14 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-x86-64/ilp32-5.d: New.
|
|
|
|
|
* ld-x86-64/ilp32-5.s: Likewise.
|
|
|
|
|
|
|
|
|
|
* ld-x86-64/x86-64.exp: Run ilp32-5.
|
|
|
|
|
|
2011-01-14 04:24:00 +00:00
|
|
|
|
2011-01-13 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-x86-64/ilp32-4.d: New.
|
|
|
|
|
|
|
|
|
|
* ld-x86-64/x86-64.exp: Run ilp32-4.
|
|
|
|
|
|
2011-01-13 17:07:52 +00:00
|
|
|
|
2011-01-13 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/12356
|
|
|
|
|
* ld-scripts/defined.exp: Run defined5.
|
|
|
|
|
|
|
|
|
|
* ld-scripts/defined5.d: New.
|
|
|
|
|
* ld-scripts/defined5.s: Likewise.
|
|
|
|
|
* ld-scripts/defined5.t: Likewise.
|
|
|
|
|
|
2011-01-13 15:23:59 +00:00
|
|
|
|
2011-01-13 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-scripts/defined4.d: Xfail rs6000-*-aix*. Skip mips*-*-*
|
|
|
|
|
and mmix-*-*.
|
|
|
|
|
|
|
|
|
|
* ld-scripts/expr2.d: Xfail rs6000-*-aix* and arm-*-*aout.
|
|
|
|
|
|
2011-01-10 14:37:40 +00:00
|
|
|
|
2011-01-10 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-scripts/assert.exp: Run assert2.
|
|
|
|
|
|
|
|
|
|
* ld-scripts/assert2.d: New.
|
|
|
|
|
* ld-scripts/assert2.t: Likewise.
|
|
|
|
|
|
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
|
|
|
|
2011-01-10 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
Glauber de Oliveira Costa <glommer@gmail.com>
|
|
|
|
|
|
|
|
|
|
* 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-08 09:52:57 +00:00
|
|
|
|
2011-01-08 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ld-misc/defsym1.d: Add a -e linker command line option.
|
|
|
|
|
* ld-misc/dummy.s: Remove text.
|
|
|
|
|
|
2011-01-08 09:38:17 +00:00
|
|
|
|
2011-01-08 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
2011-01-08 09:40:40 +00:00
|
|
|
|
PR ld/12358
|
|
|
|
|
PR ld/12359
|
2011-01-08 09:38:17 +00:00
|
|
|
|
* ld-elf/textaddr2.d: Fix regexp to work with hppa64 targets.
|
|
|
|
|
* ld-elf/textaddr6.d: Fix regexp to work with hppa64 targets.
|
|
|
|
|
|
2011-01-06 19:05:48 +00:00
|
|
|
|
2011-01-06 H.J. Lu <hongjiu.lu@intel.com>
|
2011-01-06 18:45:05 +00:00
|
|
|
|
|
|
|
|
|
PR ld/12366
|
|
|
|
|
PR ld/12371
|
|
|
|
|
* ld-ifunc/ifunc-10-i386.s: Add more tests.
|
|
|
|
|
* ld-ifunc/ifunc-10-x86-64.s: Likewise.
|
|
|
|
|
* ld-ifunc/ifunc-11-i386.s: Likewise.
|
|
|
|
|
* ld-ifunc/ifunc-11-x86-64.s: Likewise.
|
|
|
|
|
|
|
|
|
|
* ld-ifunc/ifunc-12-i386.d: New.
|
|
|
|
|
* ld-ifunc/ifunc-12-i386.s: Likewise.
|
|
|
|
|
* ld-ifunc/ifunc-12-x86-64.d: Likewise.
|
|
|
|
|
* ld-ifunc/ifunc-12-x86-64.s: Likewise.
|
|
|
|
|
* ld-ifunc/ifunc-13-i386.d: Likewise.
|
|
|
|
|
* ld-ifunc/ifunc-13-x86-64.d: Likewise.
|
|
|
|
|
* ld-ifunc/ifunc-13a-i386.s: Likewise.
|
|
|
|
|
* ld-ifunc/ifunc-13a-x86-64.s: Likewise.
|
|
|
|
|
* ld-ifunc/ifunc-13b-i386.s: Likewise.
|
|
|
|
|
* ld-ifunc/ifunc-13b-x86-64.s: Likewise.
|
|
|
|
|
|
2011-01-03 18:16:46 +00:00
|
|
|
|
2011-01-03 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-x86-64/dummy.s: New.
|
|
|
|
|
* ld-x86-64/foo.s: Likewise.
|
|
|
|
|
* ld-x86-64/ia32-1.d: Likewise.
|
|
|
|
|
* ld-x86-64/ia32-2.d: Likewise.
|
|
|
|
|
* ld-x86-64/ia32-3.d: Likewise.
|
|
|
|
|
* ld-x86-64/ilp32-1.d: Likewise.
|
|
|
|
|
* ld-x86-64/ilp32-2.d: Likewise.
|
|
|
|
|
* ld-x86-64/ilp32-3.d: Likewise.
|
|
|
|
|
* ld-x86-64/lp64-1.d: Likewise.
|
|
|
|
|
* ld-x86-64/lp64-2.d: Likewise.
|
|
|
|
|
* ld-x86-64/lp64-3.d: Likewise.
|
|
|
|
|
* ld-x86-64/start.s: Likewise.
|
|
|
|
|
|
|
|
|
|
* ld-x86-64/x86-64.exp: Run ilp32-1, ilp32-2, ilp32-3, ia32-1,
|
|
|
|
|
ia32-2, ia32-3, lp64-1, lp64-2 and lp64-3.
|
|
|
|
|
|
2011-01-02 16:04:32 +00:00
|
|
|
|
2011-01-02 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/12001
|
|
|
|
|
* ld-misc/defsym.exp: New.
|
|
|
|
|
* ld-misc/defsym1.d: Likewise.
|
|
|
|
|
* ld-misc/dummy.s: Likewise.
|
|
|
|
|
* ld-misc/foo.s: Likewise.
|
|
|
|
|
* ld-misc/start.s: Likewise.
|
|
|
|
|
|
2011-01-01 16:43:53 +00:00
|
|
|
|
For older changes see ChangeLog-2010
|
2004-01-02 11:16:21 +00:00
|
|
|
|
|
|
|
|
|
Local Variables:
|
|
|
|
|
mode: change-log
|
|
|
|
|
left-margin: 8
|
|
|
|
|
fill-column: 74
|
|
|
|
|
version-control: never
|
|
|
|
|
End:
|