Automatic date update in version.in
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
a804e476
AM
12020-01-22 Alan Modra <amodra@gmail.com>
2
3 * elf64-ppc.c (struct ppc_link_hash_table): Add tga_group.
4 (ppc64_elf_archive_symbol_lookup): Extract __tls_get_addr_opt for
5 __tls_get_addr_desc.
6 (ppc64_elf_size_stubs): Add section for linker generated
7 __tls_get_addr_desc wrapper function. Loop at least once if
8 generating this function.
9 (emit_tga_desc, emit_tga_desc_eh_frame): New functions.
10 (ppc64_elf_build_stubs): Generate __tls_get_addr_desc.
11
9e7028aa
AM
122020-01-22 Alan Modra <amodra@gmail.com>
13
14 * elf64-ppc.h (struct ppc64_elf_params): Add no_tls_get_addr_regsave.
15 * elf64-ppc.c (struct ppc_link_hash_table): Add tga_desc and
16 tga_desc_fd.
17 (is_tls_get_addr): Match tga_desc and tga_desc_df too.
18 (STDU_R1_0R1, ADDI_R1_R1): Define.
19 (tls_get_addr_prologue, tls_get_addr_epilogue): New functions.
20 (ppc64_elf_tls_setup): Set up tga_desc and tga_desc_fd. Indirect
21 tga_desc_fd to opt_fd, and tga_desc to opt. Set
22 no_tls_get_addr_regsave.
23 (branch_reloc_hash_match): Add hash3 and hash4.
24 (ppc64_elf_tls_optimize): Handle tga_desc_fd and tga_desc too.
25 (ppc64_elf_size_dynamic_sections): Likewise.
26 (ppc64_elf_relocate_section): Likewise.
27 (plt_stub_size, build_plt_stub): Likewise. Size regsave
28 __tls_get_addr stub.
29 (build_tls_get_addr_stub): Build regsave __tls_get_addr stub and
30 eh_frame.
31 (ppc_size_one_stub): Handle tga_desc_fd and tga_desc too. Size
32 eh_frame for regsave __tls_get_addr.
33
abc489c6
AM
342020-01-22 Alan Modra <amodra@gmail.com>
35
36 * elf64-ppc.c (ppc64_elf_size_stubs): Correct condition under
37 which __tls_get_addr calls will be eliminated.
38
26916852
NC
392020-01-20 Nick Clifton <nickc@redhat.com>
40
41 * po/pt.po: Updates Portuguese translation.
42 * po/ru.po: Updated Russian translation.
43 * po/uk.po: Updated Ukranian translation.
44
14470f07
L
452020-01-20 H.J. Lu <hongjiu.lu@intel.com>
46
47 PR ld/25416
48 * elf64-x86-64.c (elf_x86_64_check_tls_transition): Support
49 "rex leal x@tlsdesc(%rip), %reg" and "call *x@tlsdesc(%eax)" in
50 X32 mode.
51 (elf_x86_64_relocate_section): In x32 mode, for GDesc -> LE
52 transition, relax "rex leal x@tlsdesc(%rip), %reg" to
53 "rex movl $x@tpoff, %reg", for GDesc -> IE transition, relax
54 "rex leal x@tlsdesc(%rip), %reg" to
55 "rex movl x@gottpoff(%rip), %eax". For both transitions, relax
56 "call *(%eax)" to "nopl (%rax)".
57
b9ca1af6
AM
582020-01-20 Alan Modra <amodra@gmail.com>
59
60 * elf64-ppc.c (LD_R11_0R3, CMPDI_R11_0, STD_R11_0R1, LD_R11_0R1),
61 (MTLR_R11): Don't define.
62 (LD_R0_0R3, CMPDI_R0_0): Define.
63 (build_tls_get_addr_stub): Don't use r11 in stub.
64
ed7007c1
AM
652020-01-20 Alan Modra <amodra@gmail.com>
66
67 * elf64-ppc.c (ppc_elf_hash_entry): New function, use throughout file.
68 (defined_sym_val, is_tls_get_addr): Likewise.
69
1b1bb2c6
NC
702020-01-18 Nick Clifton <nickc@redhat.com>
71
72 * version.m4 (BFD_VERSION): Set to 2.34.50.
73 * configure: Regenerate.
74 * po/bfd.pot: Regenerate.
75
ae774686
NC
762020-01-18 Nick Clifton <nickc@redhat.com>
77
78 Binutils 2.34 branch created.
79
07f1f3aa
CB
802020-01-17 Christian Biesinger <cbiesinger@google.com>
81
82 * coff-arm.c: Fix spelling error (seperate).
83 * elfxx-riscv.c (riscv_parse_sv_or_non_std_ext): Fix spelling
84 error (seperate).
85 * sysdep.h (strnlen): Fix spelling error (seperate).
86
0d1cc75d
LB
872020-01-15 Lars Brinkhoff <lars@nocrew.org>
88
89 PR 20694
90 * pdp11.c (TARGET_PAGE_SIZE): Set to 8192.
91
e1c6cf61
AM
922020-01-15 Alan Modra <amodra@gmail.com>
93
94 PR 25384
95 * elf64-ppc.c (ELIMINATE_COPY_RELOCS): Update comment.
96 (ppc64_elf_adjust_dynamic_symbol): Don't allow .dynbss copies
97 of function symbols unless dot symbols are present. Do warn
98 whenever one is created, regardles of whether a PLT entry is
99 also emitted for the function symbol.
100
ef4e5ba5
AM
1012020-01-14 Alan Modra <amodra@gmail.com>
102
103 * som.c (som_bfd_count_ar_symbols): Error when file position
104 of symbols on chains is not strictly increasing.
105
8ab484c2
AM
1062020-01-14 Alan Modra <amodra@gmail.com>
107
108 * vms.h (VMS_DEBUG): Define as 0.
109 * vms-alpha.c (image_write): Move debug output after bounds check.
110 Tidy bounds check.
111 (_bfd_vms_slurp_eihd): Warning fix.
112 (_bfd_vms_slurp_etir): Init variables to avoid bogus warnings.
113
b50ef514
AM
1142020-01-13 Alan Modra <amodra@gmail.com>
115
116 * vms-alpha.c (_bfd_vms_slurp_egsd): Ensure minimum size even
117 for "ignored" records.
118
0c0adcc5
AM
1192020-01-13 Alan Modra <amodra@gmail.com>
120
121 * wasm-module.c (wasm_scan_name_function_section): Formatting.
122 Delete asect name check. Move asect NULL check to wasm_object_p.
123 Correct bounds check of sizes against end. Replace uses of
124 bfd_zalloc with bfd_alloc, zeroing only necessary bytes. Use
125 just one bfd_release.
126 (wasm_scan): Don't use malloc/strdup for section names,
127 bfd_alloc instead. Simplify code prefixing section name.
128 Formatting. Don't attempt to free memory here..
129 (wasm_object_p): ..do so here.
130
7f026732
SN
1312020-01-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
132
133 PR ld/22269
134 * elf32-arm.c (elf32_arm_final_link_relocate): Use
135 UNDEFWEAK_NO_DYNAMIC_RELOC.
136 (allocate_dynrelocs_for_symbol): Likewise.
137
8cd0e5e9
TC
1382020-01-10 Tamar Christina <tamar.christina@arm.com>
139
140 PR 25210
141 * elfnn-aarch64.c (_bfd_aarch64_create_stub_section): Remove elfclass.
142
71780f45
AM
1432020-01-10 Alan Modra <amodra@gmail.com>
144
145 * coff-alpha.c (alpha_ecoff_object_p): Calculate size in bfd_size_type.
146
b899eb3b
NC
1472020-01-09 Nick Clifton <nickc@redhat.com>
148
149 PR 25221
150 * bfd.c (bfd_convert_section_contents): Check for a compress
151 header size that is larger than the actual section size.
152
4c6ee646
AM
1532020-01-08 Alan Modra <amodra@gmail.com>
154
155 PR 25351
156 * elflink.c (bfd_elf_final_link): Call _bfd_fix_excluded_sec_syms
157 after removing sections.
158
85f78364
JW
1592020-01-06 Jim Wilson <jimw@sifive.com>
160
161 PR 25205
162 * elfnn-riscv.c (riscv_elf_relocate_section) <R_RISCV_CALL>: Add
163 check for !bfd_link_pic (info).
164 <R_RISCV_CALL_PLT>: Move next to R_RISCV_CALL.
165 <R_RISCV_JAL>: Add comment.
166 (_bfd_riscv_relax_section): For plt.offset check, add check for
167 bfd_link_pic (info). Add comment.
168
49078ece
AM
1692020-01-06 Alan Modra <amodra@gmail.com>
170
171 * format.c (bfd_check_format_matches): Ignore bfd_error on target
172 match failures. Don't init to bfd_error_wrong_format before
173 calling _bfd_check_format.
174
ab356be7
AM
1752020-01-06 Alan Modra <amodra@gmail.com>
176
177 * vms-alpha.c (_bfd_vms_push, _bfd_vms_pop): Return pass/fail
178 status rather than exiting on stack overflow or underflow.
179 (_bfd_vms_slurp_etir): Adjust to suit.
180
85d86817
AM
1812020-01-06 Alan Modra <amodra@gmail.com>
182
183 * som.c (som_bfd_fill_in_ar_symbols): Bounds check som_dict index.
184
3e6aa775
AM
1852020-01-06 Alan Modra <amodra@gmail.com>
186
187 * mach-o.c (bfd_mach_o_read_dylinker): Don't read past end of
188 command. Check name offset is within command.
189 (bfd_mach_o_read_dylib, bfd_mach_o_read_prebound_dylib),
190 (bfd_mach_o_read_prebind_cksum, bfd_mach_o_read_twolevel_hints),
191 (bfd_mach_o_read_fvmlib, bfd_mach_o_read_dysymtab),
192 (bfd_mach_o_read_symtab, bfd_mach_o_read_uuid),
193 (bfd_mach_o_read_linkedit, bfd_mach_o_read_str),
194 (bfd_mach_o_read_dyld_info, bfd_mach_o_read_version_min),
195 (bfd_mach_o_read_encryption_info, bfd_mach_o_read_source_version),
196 (bfd_mach_o_read_encryption_info_64, bfd_mach_o_read_main),
197 (bfd_mach_o_read_note, bfd_mach_o_read_build_version),
198 (bfd_mach_o_read_segment): Similarly.
199 (bfd_mach_o_read_thread): Properly bound check thread struct.
200 Don't repeat checks on second loop.
201 (bfd_mach_o_read_command): Fail on invalid command length.
202
ea933f17
AM
2032020-01-04 Alan Modra <amodra@gmail.com>
204
205 * format.c (bfd_check_format_matches): Add preserve_match.
206 Save initial bfd state in "preserve", matched bfd state in
207 "preserve_match". Save just the first match. Release
208 bfd_alloc memory. Restore and finish preserved state as
209 appropriate on all function exit paths.
210
f24bdec4
AM
2112020-01-04 Alan Modra <amodra@gmail.com>
212
213 * mmo.c (mmo_mkobject): Allocate tdata with bfd_zalloc.
214
991fb595
AM
2152020-01-04 Alan Modra <amodra@gmail.com>
216
217 * coffgen.c (coff_real_object_p): Free malloc'd memory on target
218 match too.
219
f2a3559d
NC
2202020-01-03 Nick Clifton <nickc@redhat.com>
221
222 PR 25307
223 (bfd_pef_parse_function_stubs): Correct the test that ensures that
224 there is enough data remaining in the code buffer before
225 attempting to read a function stub.
226
7a0fb7be
NC
2272020-01-03 Nick Clifton <nickc@redhat.com>
228
229 PR 25308
230 * elf-properties.c (_bfd_elf_convert_gnu_properties): Check the
231 return value from bfd_malloc.
232 * elf32-arm.c (bfd_elf32_arm_vfp11_fix_veneer_locations): Likewise.
233 (bfd_elf32_arm_stm32l4xx_fix_veneer_locations): Likewise.
234 (elf32_arm_filter_cmse_symbols): Likewise.
235 (elf32_arm_write_section): Likewise.
236 * mach-o.c (bfd_mach_o_core_fetch_environment): Likewise.
237 (bfd_mach_o_follow_dsym): Likewise.
238 * pef.c (bfd_pef_print_loader_section): Likewise.
239 (bfd_pef_scan_start_address): Likewise.
240 (bfd_pef_parse_function_stubs): Likewise.
241 (bfd_pef_parse_symbols): Likewise.
242
b26a3d58
ST
2432020-01-03 Sergei Trofimovich <siarheit@google.com>
244
245 * elfnn-ia64.c (elfNN_ia64_merge_private_bfd_data): don't fail
246 on binary inputs ld/PR25316.
247 (is_ia64_elf): new helper to filter on ia64 objects.
248
4bb7a87e
JB
2492020-01-03 Jan Beulich <jbeulich@suse.com>
250
251 * mach-o.c (cpusubtype, bfd_mach_o_header_p): Insert underscore
252 in parameter names.
253 (bfd_mach_o_scan): Insert underscore in two variable names.
254
6655dba2
SB
2552020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
256
257 * Makefile.am: Add z80-elf target support.
258 * configure.ac: Likewise.
259 * targets.c: Likewise.
260 * Makefile.in: Regenerate.
261 * configure: Regenerate.
262 * config.bfd: Add z80-elf target support and new arches: ez80 and
263 z180.
264 * elf32-z80.c: New file.
265 * archures.c: Add new z80 architectures: eZ80 and Z180.
266 * coffcode.h: Likewise.
267 * cpu-z80.c: Likewise.
268 * coff-z80.c: Add new relocations for Z80 target and local label
269 check.
270 * reloc.c: Add new relocs.
271 * bfd-in2.h: Regenerate.
272 * libbfd.h: Regenerate.
273
0db131fb
TC
2742020-01-02 Tamar Christina <tamar.christina@arm.com>
275
276 PR 25210
277 PR 24753
278 * elfnn-aarch64.c (_bfd_aarch64_create_stub_section): Set ELF class.
279
b14ce8bf
AM
2802020-01-01 Alan Modra <amodra@gmail.com>
281
282 Update year range in copyright notice of all files.
283
0b114740 284For older changes see ChangeLog-2019
3499769a 285\f
0b114740 286Copyright (C) 2020 Free Software Foundation, Inc.
3499769a
AM
287
288Copying and distribution of this file, with or without modification,
289are permitted in any medium without royalty provided the copyright
290notice and this notice are preserved.
291
292Local Variables:
293mode: change-log
294left-margin: 8
295fill-column: 74
296version-control: never
297End:
This page took 0.327164 seconds and 4 git commands to generate.