]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - bfd/ChangeLog
2011-01-14 Yao Qi <yao@codesourcery.com>
[thirdparty/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
4a97a0e5
AM
12011-01-14 Alan Modra <amodra@gmail.com>
2
3 * bfd.c (bfd_perror): Flush stdout before and stderr after printing
4 error.
5 (_bfd_default_error_handler): Likewise.
6 * elf.c (print_segment_map): Likewise.
7 * libbfd.c (warn_deprecated): Likewise.
8 * som.c (som_sizeof_headers): No need to do so here.
9 * coff-i860.c: Replace use of printf for error messages with
10 _bfd_error_handler.
11 * coff-ppc.c: Likewise.
12 * coff-sh.c: Likewise.
13 * elf32-bfin.c: Likewise.
14 * elf32-dlx.c: Likewise.
15 * elf32-mep.c: Likewise.
16 * elf32-v850.c: Likewise.
17 * mach-o.c: Likewise.
18 * pef.c: Likewise.
19
82e96e07
L
202011-01-13 H.J. Lu <hongjiu.lu@intel.com>
21
22 * elf64-x86-64.c (elf_x86_64_link_hash_table): Remove
23 swap_reloca_out.
24 (elf_x86_64_link_hash_table_create): Don't set swap_reloca_out.
25 (elf_x86_64_check_relocs): Align relocation section to 4 byte
26 for 32bit.
27 (elf_x86_64_gc_sweep_hook): Replace ELF64_ST_TYPE with
28 ELF_ST_TYPE.
29 (elf_x86_64_finish_dynamic_symbol): Updated.
30 (elf_x86_64_finish_dynamic_sections): Don't use
31 Elf64_External_Dyn, bfd_elf64_swap_dyn_in, nor
32 bfd_elf64_swap_dyn_out.
33
e6a6bb22
AM
342011-01-14 J. Park <grassman@gmail.com>
35
36 PR ld/12339
37 * elf32-arm.c (allocate_dynrelocs): Don't set up eh before
38 following bfd_link_hash_warning symbol link.
39
0855e32b
NS
402011-01-10 Nathan Sidwell <nathan@codesourcery.com>
41 Glauber de Oliveira Costa <glommer@gmail.com>
42
43 * reloc.c (BFD_RELOC_ARM_TLS_GOTDESC, BFD_RELOC_ARM_TLS_CALL,
44 BFD_RELOC_ARM_THM_TLS_CALL, BFD_RELOC_ARM_TLS_DESCSEQ,
45 BFD_RELOC_ARM_THM_TLS_DESCSEQ, BFD_RELOC_ARM_TLS_DESC): New
46 relocations.
47 * libbfd.h: Rebuilt.
48 * bfd-in2.h: Rebuilt.
49 * elf32-arm.c (elf32_arm_howto_table_1): Add new relocations.
50 (elf32_arm_reloc_map): Likewise.
51 (tls_trampoline, dl_tlsdesc_lazy_trampoline): New PLT templates.
52 (elf32_arm_stub_long_branch_any_tls_pic,
53 elf32_arm_stub_long_branch_v4t_thumb_tls_pic): New stub templates.
54 (DEF_STUBS): Add new stubs.
55 (struct_elf_arm_obj_data): Add local_tlsdesc_gotent field.
56 (elf32_arm_local_tlsdesc_gotent): New.
57 (GOT_TLS_GDESC): New mask.
58 (GOT_TLS_GD_ANY): Define.
59 (struct elf32_arm_link_hash_entry): Add tlsdesc_got field.
60 (elf32_arm_compute_jump_table_size): New.
61 (struct elf32_arm_link_hash_table): Add next_tls_desc_index,
62 num_tls_desc, dt_tlsdesc_plt, dt_tlsdesc_got, tls_trampoline,
63 sgotplt_jump_table_size fields.
64 (elf32_arm_link_hash_newfunc): Initialize tlsdesc_got field.
65 (elf32_arm_link_hash_table_create): Initialize new fields.
66 (arm_type_of_stub): Check TLS desc relocs too.
67 (elf32_arm_stub_name): TLS desc relocs can be shared.
68 (elf32_arm_tls_transition): Determine relaxation.
69 (arm_stub_required_alignment): Add tls stubs.
70 (elf32_arm_size_stubs): Likewise.
71 (elf32_arm_tls_relax): Perform TLS relaxing.
72 (elf32_arm_final_link_relocate): Process TLS DESC relocations.
73 (IS_ARM_TLS_GNU_RELOC): New.
74 (IS_ARM_TLS_RELOC): Use it.
75 (elf32_arm_relocate_section): Perform TLS relaxing.
76 (elf32_arm_check_relocs): Anticipate TLS relaxing, process tls
77 desc relocations.
78 (allocate_dynrelocs): Allocate tls desc relcoations.
79 (elf32_arm_output_arch_local_syms): Emit tls trampoline mapping
80 symbols.
81 (elf32_arm_size_dynamic_sections): Allocate tls trampolines and
82 got slots.
83 (elf32_arm_always_size_sections): New. Create _TLS_MODULE_BASE
84 symbol.
85 (elf32_arm_finish_dynamic_symbol): Adjust.
86 (arm_put_trampoline): New.
87 (elf32_arm_finish_dynamic_sections): Emit new dynamic tags and tls
88 trampolines.
89 (elf_backend_always_size_sections): Define.
90
7be86737
L
912011-01-06 H.J. Lu <hongjiu.lu@intel.com>
92
93 * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Optimized.
94
ae428b57 952011-01-06 H.J. Lu <hongjiu.lu@intel.com>
3db2e7dd
L
96
97 PR ld/12366
98 PR ld/12371
99 * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Properly
100 handle symbols marked with regular reference, but not non-GOT
101 reference when building shared library.
102
103 * elf32-i386.c (elf_i386_gc_sweep_hook): Properly handle
104 local and global STT_GNU_IFUNC symols when building shared
105 library.
106 * elf64-x86-64.c (elf_x86_64_gc_sweep_hook): Likewise.
107
9689e3a3
DD
1082011-01-05 DJ Delorie <dj@redhat.com>
109
110 * reloc.c: Add BFD_RELOC_RX_OP_NEG.
111 * libbfd.h: Regenerate.
112 * bfd-in2.h: Regenerate.
113 * elf32-rx.c: Add it to the list, corresponding to R_RX_OPneg.
114
889a4d3e
L
1152011-01-03 H.J. Lu <hongjiu.lu@intel.com>
116
117 * cpu-i386.c (bfd_i386_compatible): New.
118 (bfd_x64_32_arch_intel_syntax): Replace bfd_default_compatible
119 with bfd_i386_compatible.
120 (bfd_x86_64_arch_intel_syntax): Likewise.
121 (bfd_i386_arch_intel_syntax): Likewise.
122 (i8086_arch): Likewise.
123 (bfd_x64_32_arch): Likewise.
124 (bfd_x86_64_arch): Likewise.
125 (bfd_i386_arch): Likewise.
126
9e9e0820 127For older changes see ChangeLog-2010
56882138
AM
128\f
129Local Variables:
130mode: change-log
131left-margin: 8
132fill-column: 74
133version-control: never
134End: