]>
Commit | Line | Data |
---|---|---|
086b06f3 AS |
1 | 2020-01-27 Andreas Schwab <schwab@suse.de> |
2 | ||
3 | * Makefile.am (ALL_MACHINES): Remove cpu-plugin.lo. | |
4 | (ALL_MACHINES_CFILES): Remove cpu-plugin.c. | |
5 | * Makefile.in: Regenerate. | |
6 | * cpu-plugin.c: Remove. | |
7 | * archures.c (enum bfd_architecture): Remove bfd_arch_plugin. | |
8 | (bfd_plugin_arch): Remove declaration. | |
9 | * bfd-in2.h: Regenerate. | |
10 | * po/SRC-POTFILES.in: Regenerate. | |
11 | ||
3024a17a AM |
12 | 2020-01-27 H.J. Lu <hongjiu.lu@intel.com> |
13 | Alan Modra <amodra@gmail.com> | |
14 | ||
15 | PR ld/25458 | |
16 | * elflink.c (_bfd_elf_gc_mark_rsec): Mark all weak aliases. | |
17 | ||
b5f998b2 JW |
18 | 2020-01-24 Jim Wilson <jimw@sifive.com> |
19 | ||
20 | * elfxx-riscv.c (riscv_get_prefix_class): Format s case like others. | |
21 | (riscv_parse_prefixed_ext): Fix s extension comment and reword to | |
22 | avoid over long line. | |
23 | ||
caa31cfa NC |
24 | 2020-01-24 Nick Clifton <nickc@redhat.com> |
25 | ||
26 | PR 25447 | |
27 | * coffgen.c (_bfd_coff_close_and_cleanup): Do not clear the keep | |
28 | syms and keep strings flags as these may have been set in order to | |
29 | prevent a bogus call to free. | |
30 | ||
24e648d4 NC |
31 | 2020-01-23 Nick Clifton <nickc@redhat.com> |
32 | ||
33 | * po/fr.po: Updated French translation. | |
34 | ||
67641dd3 AM |
35 | 2020-01-23 Alan Modra <amodra@gmail.com> |
36 | ||
37 | PR 25444 | |
38 | * elf.c (assign_file_positions_for_load_sections): Avoid divide | |
39 | by zero when p_align is zero. | |
40 | ||
403d1bd9 JW |
41 | 2020-01-22 Maxim Blinov <maxim.blinov@embecosm.com> |
42 | ||
43 | * bfd/elfnn-riscv.c (riscv_skip_prefix): New. | |
44 | (riscv_prefix_cmp): Likewise. | |
45 | (riscv_non_std_ext_p): Deleted. | |
46 | (riscv_std_sv_ext_p): Likewise. | |
47 | (riscv_non_std_sv_ext_p): Likewise. | |
48 | (riscv_merge_non_std_and_sv_ext): Rename to... | |
49 | (riscv_merge_multi_letter_ext): and modified to use riscv_prefix_cmp. | |
50 | (riscv_merge_arch_attr_info): Replace 3 calls to | |
51 | riscv_merge_non_std_and_sv_ext with single call to | |
52 | riscv_merge_multi_letter_ext. | |
53 | * bfd/elfxx-riscv.c (riscv_parse_std_ext): Break if we | |
54 | encounter a 'z' prefix. | |
55 | (riscv_get_prefix_class): New function, return prefix class based | |
56 | on first few characters of input string. | |
57 | (riscv_parse_config): New structure to factor out minor differences | |
58 | in extension class parsing behaviour. | |
59 | (riscv_parse_sv_or_non_std_ext): Rename to... | |
60 | (riscv_parse_prefixed_ext): and parameterise with | |
61 | riscv_parse_config. | |
62 | (riscv_std_z_ext_strtab, riscv_std_s_ext_strtab): New. | |
63 | (riscv_multi_letter_ext_valid_p): New. | |
64 | (riscv_ext_x_valid_p, riscv_ext_z_valid_p, riscv_ext_s_valid_p): New. | |
65 | (riscv_parse_subset): Delegate all non-single-letter parsing work | |
66 | to riscv_parse_prefixed_ext. | |
67 | * bfd/elfxx-riscv.h (riscv_isa_ext_class): New type. | |
68 | (riscv_get_prefix_class): Declare. | |
69 | ||
a804e476 AM |
70 | 2020-01-22 Alan Modra <amodra@gmail.com> |
71 | ||
72 | * elf64-ppc.c (struct ppc_link_hash_table): Add tga_group. | |
73 | (ppc64_elf_archive_symbol_lookup): Extract __tls_get_addr_opt for | |
74 | __tls_get_addr_desc. | |
75 | (ppc64_elf_size_stubs): Add section for linker generated | |
76 | __tls_get_addr_desc wrapper function. Loop at least once if | |
77 | generating this function. | |
78 | (emit_tga_desc, emit_tga_desc_eh_frame): New functions. | |
79 | (ppc64_elf_build_stubs): Generate __tls_get_addr_desc. | |
80 | ||
9e7028aa AM |
81 | 2020-01-22 Alan Modra <amodra@gmail.com> |
82 | ||
83 | * elf64-ppc.h (struct ppc64_elf_params): Add no_tls_get_addr_regsave. | |
84 | * elf64-ppc.c (struct ppc_link_hash_table): Add tga_desc and | |
85 | tga_desc_fd. | |
86 | (is_tls_get_addr): Match tga_desc and tga_desc_df too. | |
87 | (STDU_R1_0R1, ADDI_R1_R1): Define. | |
88 | (tls_get_addr_prologue, tls_get_addr_epilogue): New functions. | |
89 | (ppc64_elf_tls_setup): Set up tga_desc and tga_desc_fd. Indirect | |
90 | tga_desc_fd to opt_fd, and tga_desc to opt. Set | |
91 | no_tls_get_addr_regsave. | |
92 | (branch_reloc_hash_match): Add hash3 and hash4. | |
93 | (ppc64_elf_tls_optimize): Handle tga_desc_fd and tga_desc too. | |
94 | (ppc64_elf_size_dynamic_sections): Likewise. | |
95 | (ppc64_elf_relocate_section): Likewise. | |
96 | (plt_stub_size, build_plt_stub): Likewise. Size regsave | |
97 | __tls_get_addr stub. | |
98 | (build_tls_get_addr_stub): Build regsave __tls_get_addr stub and | |
99 | eh_frame. | |
100 | (ppc_size_one_stub): Handle tga_desc_fd and tga_desc too. Size | |
101 | eh_frame for regsave __tls_get_addr. | |
102 | ||
abc489c6 AM |
103 | 2020-01-22 Alan Modra <amodra@gmail.com> |
104 | ||
105 | * elf64-ppc.c (ppc64_elf_size_stubs): Correct condition under | |
106 | which __tls_get_addr calls will be eliminated. | |
107 | ||
26916852 NC |
108 | 2020-01-20 Nick Clifton <nickc@redhat.com> |
109 | ||
110 | * po/pt.po: Updates Portuguese translation. | |
111 | * po/ru.po: Updated Russian translation. | |
112 | * po/uk.po: Updated Ukranian translation. | |
113 | ||
14470f07 L |
114 | 2020-01-20 H.J. Lu <hongjiu.lu@intel.com> |
115 | ||
116 | PR ld/25416 | |
117 | * elf64-x86-64.c (elf_x86_64_check_tls_transition): Support | |
118 | "rex leal x@tlsdesc(%rip), %reg" and "call *x@tlsdesc(%eax)" in | |
119 | X32 mode. | |
120 | (elf_x86_64_relocate_section): In x32 mode, for GDesc -> LE | |
121 | transition, relax "rex leal x@tlsdesc(%rip), %reg" to | |
122 | "rex movl $x@tpoff, %reg", for GDesc -> IE transition, relax | |
123 | "rex leal x@tlsdesc(%rip), %reg" to | |
124 | "rex movl x@gottpoff(%rip), %eax". For both transitions, relax | |
125 | "call *(%eax)" to "nopl (%rax)". | |
126 | ||
b9ca1af6 AM |
127 | 2020-01-20 Alan Modra <amodra@gmail.com> |
128 | ||
129 | * elf64-ppc.c (LD_R11_0R3, CMPDI_R11_0, STD_R11_0R1, LD_R11_0R1), | |
130 | (MTLR_R11): Don't define. | |
131 | (LD_R0_0R3, CMPDI_R0_0): Define. | |
132 | (build_tls_get_addr_stub): Don't use r11 in stub. | |
133 | ||
ed7007c1 AM |
134 | 2020-01-20 Alan Modra <amodra@gmail.com> |
135 | ||
136 | * elf64-ppc.c (ppc_elf_hash_entry): New function, use throughout file. | |
137 | (defined_sym_val, is_tls_get_addr): Likewise. | |
138 | ||
1b1bb2c6 NC |
139 | 2020-01-18 Nick Clifton <nickc@redhat.com> |
140 | ||
141 | * version.m4 (BFD_VERSION): Set to 2.34.50. | |
142 | * configure: Regenerate. | |
143 | * po/bfd.pot: Regenerate. | |
144 | ||
ae774686 NC |
145 | 2020-01-18 Nick Clifton <nickc@redhat.com> |
146 | ||
147 | Binutils 2.34 branch created. | |
148 | ||
07f1f3aa CB |
149 | 2020-01-17 Christian Biesinger <cbiesinger@google.com> |
150 | ||
151 | * coff-arm.c: Fix spelling error (seperate). | |
152 | * elfxx-riscv.c (riscv_parse_sv_or_non_std_ext): Fix spelling | |
153 | error (seperate). | |
154 | * sysdep.h (strnlen): Fix spelling error (seperate). | |
155 | ||
0d1cc75d LB |
156 | 2020-01-15 Lars Brinkhoff <lars@nocrew.org> |
157 | ||
158 | PR 20694 | |
159 | * pdp11.c (TARGET_PAGE_SIZE): Set to 8192. | |
160 | ||
e1c6cf61 AM |
161 | 2020-01-15 Alan Modra <amodra@gmail.com> |
162 | ||
163 | PR 25384 | |
164 | * elf64-ppc.c (ELIMINATE_COPY_RELOCS): Update comment. | |
165 | (ppc64_elf_adjust_dynamic_symbol): Don't allow .dynbss copies | |
166 | of function symbols unless dot symbols are present. Do warn | |
167 | whenever one is created, regardles of whether a PLT entry is | |
168 | also emitted for the function symbol. | |
169 | ||
ef4e5ba5 AM |
170 | 2020-01-14 Alan Modra <amodra@gmail.com> |
171 | ||
172 | * som.c (som_bfd_count_ar_symbols): Error when file position | |
173 | of symbols on chains is not strictly increasing. | |
174 | ||
8ab484c2 AM |
175 | 2020-01-14 Alan Modra <amodra@gmail.com> |
176 | ||
177 | * vms.h (VMS_DEBUG): Define as 0. | |
178 | * vms-alpha.c (image_write): Move debug output after bounds check. | |
179 | Tidy bounds check. | |
180 | (_bfd_vms_slurp_eihd): Warning fix. | |
181 | (_bfd_vms_slurp_etir): Init variables to avoid bogus warnings. | |
182 | ||
b50ef514 AM |
183 | 2020-01-13 Alan Modra <amodra@gmail.com> |
184 | ||
185 | * vms-alpha.c (_bfd_vms_slurp_egsd): Ensure minimum size even | |
186 | for "ignored" records. | |
187 | ||
0c0adcc5 AM |
188 | 2020-01-13 Alan Modra <amodra@gmail.com> |
189 | ||
190 | * wasm-module.c (wasm_scan_name_function_section): Formatting. | |
191 | Delete asect name check. Move asect NULL check to wasm_object_p. | |
192 | Correct bounds check of sizes against end. Replace uses of | |
193 | bfd_zalloc with bfd_alloc, zeroing only necessary bytes. Use | |
194 | just one bfd_release. | |
195 | (wasm_scan): Don't use malloc/strdup for section names, | |
196 | bfd_alloc instead. Simplify code prefixing section name. | |
197 | Formatting. Don't attempt to free memory here.. | |
198 | (wasm_object_p): ..do so here. | |
199 | ||
7f026732 SN |
200 | 2020-01-10 Szabolcs Nagy <szabolcs.nagy@arm.com> |
201 | ||
202 | PR ld/22269 | |
203 | * elf32-arm.c (elf32_arm_final_link_relocate): Use | |
204 | UNDEFWEAK_NO_DYNAMIC_RELOC. | |
205 | (allocate_dynrelocs_for_symbol): Likewise. | |
206 | ||
8cd0e5e9 TC |
207 | 2020-01-10 Tamar Christina <tamar.christina@arm.com> |
208 | ||
209 | PR 25210 | |
210 | * elfnn-aarch64.c (_bfd_aarch64_create_stub_section): Remove elfclass. | |
211 | ||
71780f45 AM |
212 | 2020-01-10 Alan Modra <amodra@gmail.com> |
213 | ||
214 | * coff-alpha.c (alpha_ecoff_object_p): Calculate size in bfd_size_type. | |
215 | ||
b899eb3b NC |
216 | 2020-01-09 Nick Clifton <nickc@redhat.com> |
217 | ||
218 | PR 25221 | |
219 | * bfd.c (bfd_convert_section_contents): Check for a compress | |
220 | header size that is larger than the actual section size. | |
221 | ||
4c6ee646 AM |
222 | 2020-01-08 Alan Modra <amodra@gmail.com> |
223 | ||
224 | PR 25351 | |
225 | * elflink.c (bfd_elf_final_link): Call _bfd_fix_excluded_sec_syms | |
226 | after removing sections. | |
227 | ||
85f78364 JW |
228 | 2020-01-06 Jim Wilson <jimw@sifive.com> |
229 | ||
230 | PR 25205 | |
231 | * elfnn-riscv.c (riscv_elf_relocate_section) <R_RISCV_CALL>: Add | |
232 | check for !bfd_link_pic (info). | |
233 | <R_RISCV_CALL_PLT>: Move next to R_RISCV_CALL. | |
234 | <R_RISCV_JAL>: Add comment. | |
235 | (_bfd_riscv_relax_section): For plt.offset check, add check for | |
236 | bfd_link_pic (info). Add comment. | |
237 | ||
49078ece AM |
238 | 2020-01-06 Alan Modra <amodra@gmail.com> |
239 | ||
240 | * format.c (bfd_check_format_matches): Ignore bfd_error on target | |
241 | match failures. Don't init to bfd_error_wrong_format before | |
242 | calling _bfd_check_format. | |
243 | ||
ab356be7 AM |
244 | 2020-01-06 Alan Modra <amodra@gmail.com> |
245 | ||
246 | * vms-alpha.c (_bfd_vms_push, _bfd_vms_pop): Return pass/fail | |
247 | status rather than exiting on stack overflow or underflow. | |
248 | (_bfd_vms_slurp_etir): Adjust to suit. | |
249 | ||
85d86817 AM |
250 | 2020-01-06 Alan Modra <amodra@gmail.com> |
251 | ||
252 | * som.c (som_bfd_fill_in_ar_symbols): Bounds check som_dict index. | |
253 | ||
3e6aa775 AM |
254 | 2020-01-06 Alan Modra <amodra@gmail.com> |
255 | ||
256 | * mach-o.c (bfd_mach_o_read_dylinker): Don't read past end of | |
257 | command. Check name offset is within command. | |
258 | (bfd_mach_o_read_dylib, bfd_mach_o_read_prebound_dylib), | |
259 | (bfd_mach_o_read_prebind_cksum, bfd_mach_o_read_twolevel_hints), | |
260 | (bfd_mach_o_read_fvmlib, bfd_mach_o_read_dysymtab), | |
261 | (bfd_mach_o_read_symtab, bfd_mach_o_read_uuid), | |
262 | (bfd_mach_o_read_linkedit, bfd_mach_o_read_str), | |
263 | (bfd_mach_o_read_dyld_info, bfd_mach_o_read_version_min), | |
264 | (bfd_mach_o_read_encryption_info, bfd_mach_o_read_source_version), | |
265 | (bfd_mach_o_read_encryption_info_64, bfd_mach_o_read_main), | |
266 | (bfd_mach_o_read_note, bfd_mach_o_read_build_version), | |
267 | (bfd_mach_o_read_segment): Similarly. | |
268 | (bfd_mach_o_read_thread): Properly bound check thread struct. | |
269 | Don't repeat checks on second loop. | |
270 | (bfd_mach_o_read_command): Fail on invalid command length. | |
271 | ||
ea933f17 AM |
272 | 2020-01-04 Alan Modra <amodra@gmail.com> |
273 | ||
274 | * format.c (bfd_check_format_matches): Add preserve_match. | |
275 | Save initial bfd state in "preserve", matched bfd state in | |
276 | "preserve_match". Save just the first match. Release | |
277 | bfd_alloc memory. Restore and finish preserved state as | |
278 | appropriate on all function exit paths. | |
279 | ||
f24bdec4 AM |
280 | 2020-01-04 Alan Modra <amodra@gmail.com> |
281 | ||
282 | * mmo.c (mmo_mkobject): Allocate tdata with bfd_zalloc. | |
283 | ||
991fb595 AM |
284 | 2020-01-04 Alan Modra <amodra@gmail.com> |
285 | ||
286 | * coffgen.c (coff_real_object_p): Free malloc'd memory on target | |
287 | match too. | |
288 | ||
f2a3559d NC |
289 | 2020-01-03 Nick Clifton <nickc@redhat.com> |
290 | ||
291 | PR 25307 | |
292 | (bfd_pef_parse_function_stubs): Correct the test that ensures that | |
293 | there is enough data remaining in the code buffer before | |
294 | attempting to read a function stub. | |
295 | ||
7a0fb7be NC |
296 | 2020-01-03 Nick Clifton <nickc@redhat.com> |
297 | ||
298 | PR 25308 | |
299 | * elf-properties.c (_bfd_elf_convert_gnu_properties): Check the | |
300 | return value from bfd_malloc. | |
301 | * elf32-arm.c (bfd_elf32_arm_vfp11_fix_veneer_locations): Likewise. | |
302 | (bfd_elf32_arm_stm32l4xx_fix_veneer_locations): Likewise. | |
303 | (elf32_arm_filter_cmse_symbols): Likewise. | |
304 | (elf32_arm_write_section): Likewise. | |
305 | * mach-o.c (bfd_mach_o_core_fetch_environment): Likewise. | |
306 | (bfd_mach_o_follow_dsym): Likewise. | |
307 | * pef.c (bfd_pef_print_loader_section): Likewise. | |
308 | (bfd_pef_scan_start_address): Likewise. | |
309 | (bfd_pef_parse_function_stubs): Likewise. | |
310 | (bfd_pef_parse_symbols): Likewise. | |
311 | ||
b26a3d58 ST |
312 | 2020-01-03 Sergei Trofimovich <siarheit@google.com> |
313 | ||
314 | * elfnn-ia64.c (elfNN_ia64_merge_private_bfd_data): don't fail | |
315 | on binary inputs ld/PR25316. | |
316 | (is_ia64_elf): new helper to filter on ia64 objects. | |
317 | ||
4bb7a87e JB |
318 | 2020-01-03 Jan Beulich <jbeulich@suse.com> |
319 | ||
320 | * mach-o.c (cpusubtype, bfd_mach_o_header_p): Insert underscore | |
321 | in parameter names. | |
322 | (bfd_mach_o_scan): Insert underscore in two variable names. | |
323 | ||
6655dba2 SB |
324 | 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com> |
325 | ||
326 | * Makefile.am: Add z80-elf target support. | |
327 | * configure.ac: Likewise. | |
328 | * targets.c: Likewise. | |
329 | * Makefile.in: Regenerate. | |
330 | * configure: Regenerate. | |
331 | * config.bfd: Add z80-elf target support and new arches: ez80 and | |
332 | z180. | |
333 | * elf32-z80.c: New file. | |
334 | * archures.c: Add new z80 architectures: eZ80 and Z180. | |
335 | * coffcode.h: Likewise. | |
336 | * cpu-z80.c: Likewise. | |
337 | * coff-z80.c: Add new relocations for Z80 target and local label | |
338 | check. | |
339 | * reloc.c: Add new relocs. | |
340 | * bfd-in2.h: Regenerate. | |
341 | * libbfd.h: Regenerate. | |
342 | ||
0db131fb TC |
343 | 2020-01-02 Tamar Christina <tamar.christina@arm.com> |
344 | ||
345 | PR 25210 | |
346 | PR 24753 | |
347 | * elfnn-aarch64.c (_bfd_aarch64_create_stub_section): Set ELF class. | |
348 | ||
b14ce8bf AM |
349 | 2020-01-01 Alan Modra <amodra@gmail.com> |
350 | ||
351 | Update year range in copyright notice of all files. | |
352 | ||
0b114740 | 353 | For older changes see ChangeLog-2019 |
3499769a | 354 | \f |
0b114740 | 355 | Copyright (C) 2020 Free Software Foundation, Inc. |
3499769a AM |
356 | |
357 | Copying and distribution of this file, with or without modification, | |
358 | are permitted in any medium without royalty provided the copyright | |
359 | notice and this notice are preserved. | |
360 | ||
361 | Local Variables: | |
362 | mode: change-log | |
363 | left-margin: 8 | |
364 | fill-column: 74 | |
365 | version-control: never | |
366 | End: |