]>
Commit | Line | Data |
---|---|---|
0897bb7d AB |
1 | 2021-03-05 Craig Blackmore <craig.blackmore@embecosm.com> |
2 | Andrew Burgess <andrew.burgess@embecosm.com> | |
3 | ||
4 | * elfnn-riscv.c (PRPSINFO_PR_FNAME_LENGTH): Define. | |
5 | (PRPSINFO_PR_PSARGS_LENGTH): Define. | |
6 | (riscv_write_core_note): New function. | |
7 | (riscv_elf_grok_psinfo): Make use of two new length defines. | |
8 | (elf_backend_write_core_note): Define. | |
9 | ||
b63a5e38 AB |
10 | 2021-03-05 Craig Blackmore <craig.blackmore@embecosm.com> |
11 | Andrew Burgess <andrew.burgess@embecosm.com> | |
12 | ||
13 | * elf-bfd.h (elfcore_write_gdb_tdesc): Declare new function. | |
14 | * elf.c (elfcore_grok_gdb_tdesc): New function. | |
15 | (elfcore_grok_note): Handle NT_GDB_TDESC. | |
16 | (elfcore_write_gdb_tdesc): New function. | |
17 | (elfcore_write_register_note): Handle NT_GDB_TDESC. | |
18 | ||
2017f387 NC |
19 | 2021-03-05 Nick Clifton <nickc@redhat.com> |
20 | ||
21 | PR 27521 | |
22 | * dwarf2.c (is_str_attr): Add DW_FORM_strx* forms. | |
23 | (read_indexed_string): Placeholder function. | |
24 | (read_attribute_value): Handle DW_FORM_strx* and DW_FORM_addrx* | |
25 | forms. | |
26 | ||
b01b5d9a AM |
27 | 2021-03-05 Alan Modra <amodra@gmail.com> |
28 | ||
29 | * reloc.c (bfd_perform_relocation): Revert 2021-01-12 and | |
30 | 2020-09-16 changes. | |
31 | * coff-x86_64.c (coff_amd64_reloc): Do more or less the same | |
32 | adjustments here instead. Separate pc-relative adjustments | |
33 | from symbol related adjustments. Tidy comments and formatting. | |
34 | ||
6b5465b9 JB |
35 | 2021-03-04 Jan Beulich <jbeulich@suse.com> |
36 | ||
37 | * coffcode.h (sec_to_styp_flags): Don't set IMAGE_SCN_LNK_* in | |
38 | final PE images. | |
39 | ||
0b7733b6 AM |
40 | 2021-03-04 Alan Modra <amodra@gmail.com> |
41 | ||
42 | * rs6000-core.c (rs6000coff_core_p): Correct prototype. | |
43 | ||
5789f845 AM |
44 | 2021-03-03 Alan Modra <amodra@gmail.com> |
45 | ||
46 | PR 27500 | |
47 | * elflink.c (_bfd_elf_gc_mark_rsec): Do special start/stop | |
48 | processing not when start/stop symbol section is unmarked but | |
49 | on first time a start/stop symbol is processed. | |
50 | ||
dc83f2d2 AM |
51 | 2021-03-03 Alan Modra <amodra@gmail.com> |
52 | ||
53 | * reloc.c: Include x86_64.h rather than internal.h. | |
54 | ||
ca8f6bc6 NC |
55 | 2021-03-02 Nick Clifton <nickc@redhat.com> |
56 | ||
57 | PR 27484 | |
58 | * dwarf2.c (scan_unit_for_symbols): Scan twice, once to accumulate | |
59 | function and variable tags and a second time to resolve their | |
60 | attributes. | |
61 | ||
211bcd01 NA |
62 | 2021-03-02 Nick Alcock <nick.alcock@oracle.com> |
63 | ||
64 | * elf-strtab.c (_bfd_elf_strtab_str): Skip strings with zero refcount. | |
65 | ||
b80e421f AM |
66 | 2021-03-02 Alan Modra <amodra@gmail.com> |
67 | ||
68 | PR 27451 | |
69 | * elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref): Ignore synthesized | |
70 | linker defined start/stop symbols when start_stop_gc. | |
71 | ||
f5b9c288 AM |
72 | 2021-03-02 Alan Modra <amodra@gmail.com> |
73 | ||
74 | * elf64-ppc.c (ppc64_elf_relocate_section): Don't optimise got | |
75 | indirect to pc-relative or toc-relative for undefined symbols. | |
76 | ||
8ee10e86 AM |
77 | 2021-03-01 Alan Modra <amodra@gmail.com> |
78 | Fangrui Song <maskray@google.com> | |
79 | ||
80 | * elflink.c (_bfd_elf_gc_mark_rsec): Ignore synthesized linker | |
81 | defined start/stop symbols when start_stop_gc. | |
82 | (bfd_elf_gc_mark_dynamic_ref_symbol): Likewise. | |
83 | (bfd_elf_define_start_stop): Don't modify ldscript_def syms. | |
84 | * linker.c (bfd_generic_define_start_stop): Likewise. | |
85 | ||
bbaddd4b AM |
86 | 2021-02-25 Alan Modra <amodra@gmail.com> |
87 | ||
88 | PR 27441 | |
89 | * elf-bfd.h (struct elf_link_hash_entry): Add ref_ir_nonweak. | |
90 | * elflink.c (elf_link_add_object_symbols): Set ref_ir_nonweak and | |
91 | use when deciding an as-needed library should be loaded instead | |
92 | of using the binding of the library definition. | |
93 | ||
93af1b04 AM |
94 | 2021-02-24 Alan Modra <amodra@gmail.com> |
95 | ||
96 | PR 27459 | |
97 | * coff-stgo32.c (go32exe_check_format): Sanity check size of | |
98 | header to avoid a buffer overflow. | |
99 | ||
e9d18e06 AM |
100 | 2021-02-22 Alan Modra <amodra@gmail.com> |
101 | ||
102 | * coff-rs6000.c (_bfd_xcoff_reloc_type_lookup): Remove BFD_RELOC_16. | |
103 | * coff64-rs6000.c (xcoff64_reloc_type_lookup): Likewise. | |
104 | ||
5a9f5403 NC |
105 | 2021-02-19 Nelson Chu <nelson.chu@sifive.com> |
106 | ||
107 | PR 27158 | |
108 | * elfnn-riscv.c (perform_relocation): Updated encoding macros. | |
109 | (_bfd_riscv_relax_call): Likewise. | |
110 | (_bfd_riscv_relax_lui): Likewise. | |
111 | * elfxx-riscv.c (howto_table): Likewise. | |
112 | ||
3d73d29e NC |
113 | 2021-02-18 Nelson Chu <nelson.chu@sifive.com> |
114 | ||
115 | * Makefile.am: Added cpu-riscv.h. | |
116 | * Makefile.in: Regenerated. | |
117 | * po/SRC-POTFILES.in: Regenerated. | |
118 | * cpu-riscv.h: Added to support spec versions controlling. | |
119 | Also added extern arrays and functions for cpu-riscv.c. | |
120 | (enum riscv_spec_class): Define all spec classes here uniformly. | |
121 | (struct riscv_spec): Added for all specs. | |
122 | (RISCV_GET_SPEC_CLASS): Added to reduce repeated code. | |
123 | (RISCV_GET_SPEC_NAME): Likewise. | |
124 | (RISCV_GET_ISA_SPEC_CLASS): Added to get ISA spec class. | |
125 | (RISCV_GET_PRIV_SPEC_CLASS): Added to get privileged spec class. | |
126 | (RISCV_GET_PRIV_SPEC_NAME): Added to get privileged spec name. | |
127 | * cpu-riscv.c (struct priv_spec_t): Replaced with struct riscv_spec. | |
128 | (riscv_get_priv_spec_class): Replaced with RISCV_GET_PRIV_SPEC_CLASS. | |
129 | (riscv_get_priv_spec_name): Replaced with RISCV_GET_PRIV_SPEC_NAME. | |
130 | (riscv_priv_specs): Moved below. | |
131 | (riscv_get_priv_spec_class_from_numbers): Likewise, updated. | |
132 | (riscv_isa_specs): Moved from include/opcode/riscv.h. | |
133 | * elfnn-riscv.c: Included cpu-riscv.h. | |
134 | (riscv_merge_attributes): Initialize in_priv_spec and out_priv_spec. | |
135 | * elfxx-riscv.c: Included cpu-riscv.h and opcode/riscv.h. | |
136 | (RISCV_UNKNOWN_VERSION): Moved from include/opcode/riscv.h. | |
137 | * elfxx-riscv.h: Removed extern functions to cpu-riscv.h. | |
138 | ||
b9b204b3 AM |
139 | 2021-02-17 Alan Modra <amodra@gmail.com> |
140 | ||
141 | * wasm-module.c: Guard include of limits.h. | |
142 | (CHAR_BIT): Provide backup define. | |
143 | (wasm_read_leb128): Use CHAR_BIT to size "result" in bits. | |
144 | Correct signed overflow checking. | |
145 | ||
0d6aab77 NC |
146 | 2021-02-17 Nelson Chu <nelson.chu@sifive.com> |
147 | ||
148 | PR 27200 | |
149 | * elfnn-riscv.c (_bfd_riscv_elf_merge_private_bfd_data): Delay | |
150 | copying the elf flags from input BFD to output BFD, until we have | |
151 | checked if the input BFD has no code section or not. Also fix the | |
152 | problem that we only check the first section rather than the entire | |
153 | sections for input BFD. | |
154 | ||
7b54cadd AM |
155 | 2021-02-16 Alan Modra <amodra@gmail.com> |
156 | ||
157 | * libbfd.c (_bfd_read_unsigned_leb128): Avoid excessive shift. | |
158 | (_bfd_safe_read_leb128, _bfd_read_signed_leb128): Likewise. | |
159 | ||
8c674061 JB |
160 | 2021-02-15 Jan Beulich <jbeulich@suse.com> |
161 | ||
162 | * doc/Makefile.am: Replace "cp -p" by "$(LN_S)". | |
163 | * doc/Makefile.in: Re-generate. | |
164 | ||
1781a9d0 AM |
165 | 2021-02-15 Alan Modra <amodra@gmail.com> |
166 | ||
167 | * elf32-nds32.c (nds32_get_section_contents): Replace | |
168 | bfd_malloc_and_get_section with bfd_get_full_section_contents. | |
169 | (nds32_elf_relax_delete_blanks): Init contents. | |
170 | (nds32_elf_relax_section, nds32_relax_fp_as_gp): Likewise. | |
171 | ||
8b78cbec AM |
172 | 2021-02-15 Alan Modra <amodra@gmail.com> |
173 | ||
174 | * coff-alpha.c (alpha_ecoff_get_relocated_section_contents): Use | |
175 | bfd_get_full_section_contents. | |
176 | ||
d7a7af8f AM |
177 | 2021-02-14 Alan Modra <amodra@gmail.com> |
178 | ||
179 | * elfxx-mips.c (_bfd_elf_mips_get_relocated_section_contents): Apply | |
180 | all fixes to bfd_generic_get_relocated_section_contents since this | |
181 | function was split out. | |
182 | ||
234b98ce AM |
183 | 2021-02-11 Alan Modra <amodra@gmail.com> |
184 | ||
185 | * config.bfd: Remove ia64 from obsolete list. | |
186 | ||
769c253f AM |
187 | 2021-02-11 Alan Modra <amodra@gmail.com> |
188 | ||
189 | PR ld/22269 | |
190 | * elfnn-ia64.c: Revert 2017-10-14 git commit db41f6eb5234. | |
191 | ||
31c711a2 AM |
192 | 2021-02-11 Alan Modra <amodra@gmail.com> |
193 | ||
194 | PR 27294 | |
195 | * elf32-avr.c (avr_elf32_load_records_from_section): Use | |
196 | bfd_malloc_and_get_section. Use bfd_byte* vars and remove then | |
197 | unnecessary casts. | |
198 | ||
6db658c5 AM |
199 | 2021-02-11 Alan Modra <amodra@gmail.com> |
200 | ||
201 | PR 27291 | |
202 | * section.c (bfd_get_section_contents): Avoid possible overflow | |
203 | when range checking offset and count. | |
204 | (bfd_set_section_contents): Likewise. | |
205 | ||
95148614 NA |
206 | 2021-02-03 Nick Alcock <nick.alcock@oracle.com> |
207 | ||
208 | * configure.ac (SHARED_LIBADD): Remove explicit -lintl population in | |
209 | favour of LIBINTL. | |
210 | * configure: Regenerated. | |
211 | ||
a57d1773 AM |
212 | 2021-02-09 Alan Modra <amodra@gmail.com> |
213 | ||
214 | * config.bfd (arm*-*-symbianelf*): Move from obsolete to removed. | |
215 | * configure.ac: Delete symbian entries. | |
216 | * elf-bfd.h (enum elf_target_os): Delete is_symbian. | |
217 | * elf32-arm.c: Remove symbian support. Formatting. | |
218 | * targets.c: Delete symbian entries. | |
219 | * configure: Regenerate. | |
220 | ||
1a2f1b54 L |
221 | 2021-02-04 H.J. Lu <hongjiu.lu@intel.com> |
222 | ||
223 | PR ld/19609 | |
224 | * elf64-x86-64.c (elf_x86_64_relocate_section): Provide more | |
225 | info when failed to convert GOTPCREL relocation. | |
226 | ||
24075dcc NC |
227 | 2021-02-04 Nelson Chu <nelson.chu@sifive.com> |
228 | ||
229 | * elfxx-riscv.c (riscv_parse_prefixed_ext): Removed zb*. | |
230 | ||
7d409ac0 AM |
231 | 2021-02-04 Alan Modra <amodra@gmail.com> |
232 | ||
233 | PR 27311 | |
234 | * elflink.c (elf_link_add_object_symbols): Don't pull in as-needed | |
235 | libraries for IR references on pass over libraries after LTO | |
236 | recompilation. | |
237 | ||
f01fb44c AM |
238 | 2021-02-03 Alan Modra <amodra@gmail.com> |
239 | ||
240 | PR 27311 | |
241 | * elflink.c (_bfd_elf_add_default_symbol): Revert last two changes. | |
242 | (elf_link_add_object_symbols): Here too. Don't pull in as-needed | |
243 | libraries when H is an indirect symbol after calling | |
244 | _bfd_elf_add_default_symbol. | |
245 | ||
69551367 AM |
246 | 2021-02-03 Alan Modra <amodra@gmail.com> |
247 | ||
248 | PR 27311 | |
249 | * elflink.c (_bfd_elf_add_default_symbol): Clear override when | |
250 | undecorated symbol will have a different version. | |
251 | ||
9918bff7 AM |
252 | 2021-02-02 Alan Modra <amodra@gmail.com> |
253 | ||
254 | PR 27311 | |
255 | * elflink.c (_bfd_elf_add_default_symbol): Add override parameter. | |
256 | Use when handling default versioned symbol. Rename existing | |
257 | override variable to nondef_override and use for non-default | |
258 | versioned symbol. | |
259 | (elf_link_add_object_symbols): Adjust call to suit. Don't | |
260 | pull in as-needed libraries when override is set. | |
261 | ||
1f568f9a EH |
262 | 2021-02-01 Emery Hemingway <ehmry@posteo.net> |
263 | ||
264 | * config.bfd: Add *-*-genode* as a target for AArch64 and x86. | |
265 | ||
34c10233 EV |
266 | 2021-02-01 Egor Vishnyakov <lenvampir@yandex.ru> |
267 | ||
268 | PR 27254 | |
269 | * elf32-rl78.c (rl78_elf_relocate_section): Fix calculation of | |
270 | offset for the R_RL78_RH_SADDR relocation. | |
271 | ||
c4566785 AM |
272 | 2021-01-29 Alan Modra <amodra@gmail.com> |
273 | ||
274 | PR 27271 | |
275 | * elflink.c (bfd_elf_link_record_dynamic_symbol): Don't segfault | |
276 | on symbols defined in absolute or other special sections. | |
277 | ||
def97fb9 AM |
278 | 2021-01-28 Alan Modra <amodra@gmail.com> |
279 | ||
280 | PR 27259 | |
281 | * elflink.c (_bfd_elf_gc_mark_extra_sections): Use linker_mark to | |
282 | prevent endless looping of linked-to sections. | |
283 | ||
4cb1265b MS |
284 | 2020-12-17 Mihails Strasuns <mihails.strasuns@intel.com> |
285 | ||
286 | * bfd-elf.h (elfcore_write_file_note): New function. | |
287 | * elf.c (elfcore_write_file_note): New function. | |
288 | ||
4287950e AM |
289 | 2021-01-26 Alan Modra <amodra@gmail.com> |
290 | ||
291 | * elf32-ft32.c (ft32_reloc_type_lookup): Don't miss ft32_reloc_map[0]. | |
292 | ||
940d0202 L |
293 | 2021-01-24 H.J. Lu <hongjiu.lu@intel.com> |
294 | ||
295 | PR binutils/27231 | |
296 | * dwarf2.c (read_rnglists): Ignore empty range when parsing line | |
297 | number tables. | |
298 | ||
18454c15 L |
299 | 2021-01-23 H.J. Lu <hongjiu.lu@intel.com> |
300 | ||
301 | PR binutils/27231 | |
302 | * dwarf2.c (read_rnglists): Advance rngs_ptr after | |
303 | _bfd_safe_read_leb128 when parsing DW_RLE_offset_pair. | |
304 | ||
4bd7c902 AM |
305 | 2021-01-20 Alan Modra <amodra@gmail.com> |
306 | ||
307 | * elf32-ppc.c: Delete outdated comment. | |
308 | (TARGET_KEEP_UNUSED_SECTION_SYMBOLS): Define. | |
309 | * elf64-ppc.c (TARGET_KEEP_UNUSED_SECTION_SYMBOLS): Define. | |
310 | ||
8bd10d6b AM |
311 | 2021-01-20 Alan Modra <amodra@gmail.com> |
312 | ||
313 | * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Don't assume | |
314 | section symbols are present. | |
315 | ||
30845f11 AM |
316 | 2021-01-19 Alan Modra <amodra@gmail.com> |
317 | ||
318 | * elf64-ppc.c (elf_hash_entry): New inline function. Use | |
319 | throughout to replace casts. | |
320 | (branch_reloc_hash_match): Remove const from params. | |
321 | (use_local_plt): New function. | |
322 | (allocate_dynrelocs, ppc_build_one_stub, ppc_size_one_stub), | |
323 | (build_global_entry_stubs_and_plt, ppc64_elf_relocate_section): | |
324 | Use use_local_plt. | |
325 | * elf32-ppc.c (use_local_plt): New function. | |
326 | (allocate_dynrelocs, ppc_elf_relocate_section), | |
327 | (write_global_sym_plt): Use use_local_plt. | |
328 | ||
994b2513 L |
329 | 2021-01-17 H.J. Lu <hongjiu.lu@intel.com> |
330 | ||
331 | PR ld/27193 | |
332 | * elflink.c (elf_create_symbuf): Also ignore section symbols. | |
333 | ||
75a933f3 L |
334 | 2021-01-16 H.J. Lu <hongjiu.lu@intel.com> |
335 | ||
336 | PR ld/23169 | |
337 | * elfxx-x86.c (_bfd_x86_elf_link_fixup_ifunc_symbol): Don't | |
338 | check pointer_equality_needed. | |
339 | ||
68b00778 L |
340 | 2021-01-15 H.J. Lu <hongjiu.lu@intel.com> |
341 | ||
342 | * elf-linker-x86.h (elf_linker_x86_params): Add | |
343 | report_relative_reloc. | |
344 | * elf32-i386.c (elf_i386_relocate_section): Call | |
345 | _bfd_x86_elf_link_report_relative_reloc to report relative | |
346 | relocations for -z report-relative-reloc. | |
347 | (elf_i386_finish_dynamic_symbol): Likewse. | |
348 | * elf64-x86-64.c (elf_x86_64_relocate_section): Likewse. | |
349 | (elf_x86_64_finish_dynamic_symbol): Likewse. | |
350 | * elfxx-x86.c (_bfd_x86_elf_link_report_relative_reloc): New | |
351 | function. | |
352 | * elfxx-x86.h (_bfd_x86_elf_link_report_relative_reloc): New | |
353 | prototype. | |
354 | ||
ad92f33d AM |
355 | 2021-01-16 Alan Modra <amodra@gmail.com> |
356 | ||
357 | * compress.c (decompress_contents): Tidy inflateEnd result test. | |
358 | ||
eb6e6af8 AM |
359 | 2021-01-16 Alan Modra <amodra@gmail.com> |
360 | ||
361 | PR 26002 | |
362 | * elflink.c (elf_link_output_extsym): Use version 1 in | |
363 | .gnu.version for undefined unversioned symbols. | |
364 | ||
4bb5732e NC |
365 | 2021-01-15 Nelson Chu <nelson.chu@sifive.com> |
366 | ||
367 | * elfnn-riscv.c (riscv_relax_delete_bytes): Fixed the indent that | |
368 | caused the by previous commit accidentally. | |
369 | ||
1942a048 NC |
370 | 2021-01-15 Nelson Chu <nelson.chu@sifive.com> |
371 | ||
372 | * elfnn-riscv.c: Indent, labels and GNU coding standards tidy, | |
373 | also aligned the code. | |
374 | ||
b800637e NC |
375 | 2021-01-15 Nelson Chu <nelson.chu@sifive.com> |
376 | ||
377 | * elfnn-riscv.c (riscv_merge_attributes): Fix typos of messages. | |
378 | ||
dcd709e0 NC |
379 | 2021-01-15 Nelson Chu <nelson.chu@sifive.com> |
380 | ||
381 | * elfnn-riscv.c: Comments tidy and improvement. | |
382 | * elfxx-riscv.c: Likewise. | |
383 | * elfxx-riscv.h: Likewise. | |
384 | ||
8ca9c7eb L |
385 | 2021-01-14 H.J. Lu <hongjiu.lu@intel.com> |
386 | ||
387 | PR ld/26688 | |
388 | * elf32-bfin.c (bfinfdpic_relocate_section): Skip non SEC_ALLOC | |
389 | section for R_BFIN_FUNCDESC. | |
390 | ||
7e0d77ef NC |
391 | 2021-01-14 Nick Clifton <nickc@redhat.com> |
392 | ||
393 | * elf.c (elfcore_grok_win32pstatus): Check for a note type of 0. | |
394 | ||
5347ed60 AM |
395 | 2021-01-13 Alan Modra <amodra@gmail.com> |
396 | ||
397 | * Makefile.in: Regenerate. | |
398 | * doc/Makefile.in: Regenerate. | |
399 | ||
b209b5a6 AM |
400 | 2021-01-13 Alan Modra <amodra@gmail.com> |
401 | ||
402 | PR 27160 | |
403 | * section.c (struct bfd_section): Remove pattern field. | |
404 | (BFD_FAKE_SECTION): Adjust to suit. | |
405 | * bfd-in2.h: Regenerate. | |
406 | * elflink.c (compare_link_order, elf_fixup_link_order): Delete. | |
407 | (bfd_elf_final_link): Don't call elf_fixup_link_order. | |
408 | ||
d546b610 L |
409 | 2021-01-12 H.J. Lu <hongjiu.lu@intel.com> |
410 | ||
411 | PR binutils/26792 | |
412 | * configure.ac: Use GNU_MAKE_JOBSERVER. | |
413 | * aclocal.m4: Regenerated. | |
414 | * configure: Likewise. | |
415 | ||
c2e9a4a3 L |
416 | 2021-01-12 H.J. Lu <hongjiu.lu@intel.com> |
417 | ||
418 | PR ld/27171 | |
419 | * reloc.c (bfd_perform_relocation): Adjust R_AMD64_DIR64 and | |
420 | R_AMD64_DIR32 relocations for PE/x86-64 inputs. | |
421 | ||
83b33c6c L |
422 | 2021-01-11 H.J. Lu <hongjiu.lu@intel.com> |
423 | ||
424 | PR ld/27173 | |
425 | * configure: Regenerated. | |
426 | ||
a8aa72b9 NC |
427 | 2021-01-11 Nick Clifton <nickc@redhat.com> |
428 | ||
429 | * po/fr.po: Updated French translation. | |
430 | * po/pt.po: Updated Portuguese translation. | |
431 | * po/sr.po: Updated Serbian translation. | |
432 | * po/uk.po: Updated Ukranian translation. | |
433 | ||
a4966cd9 L |
434 | 2021-01-09 H.J. Lu <hongjiu.lu@intel.com> |
435 | ||
436 | * configure: Regenerated. | |
437 | ||
0a94990b L |
438 | 2021-01-09 H.J. Lu <hongjiu.lu@intel.com> |
439 | ||
440 | PR ld/27166 | |
441 | * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Handle | |
442 | -z lam-u48 and -z lam-u57. | |
443 | ||
573fe3fb NC |
444 | 2021-01-09 Nick Clifton <nickc@redhat.com> |
445 | ||
446 | * version.m4: Change to 2.36.50. | |
447 | * configure: Regenerate. | |
448 | * po/bfd.pot: Regenerate. | |
449 | ||
055bc77a NC |
450 | 2021-01-09 Nick Clifton <nickc@redhat.com> |
451 | ||
452 | * 2.36 release branch crated. | |
453 | ||
ba9e922f L |
454 | 2021-01-08 H.J. Lu <hongjiu.lu@intel.com> |
455 | ||
456 | * elfxx-x86.c (_bfd_x86_elf_link_setup_gnu_properties): Also set | |
457 | LAM_U57 when setting LAM_U48. | |
458 | ||
b1b29aa5 L |
459 | 2021-01-08 H.J. Lu <hongjiu.lu@intel.com> |
460 | ||
461 | PR ld/26256 | |
462 | PR ld/27160 | |
463 | * elflink.c (elf_fixup_link_order): Verify that fixing up | |
464 | SHF_LINK_ORDER doesn't increase the output section size. | |
465 | ||
64307045 AM |
466 | 2021-01-09 Alan Modra <amodra@gmail.com> |
467 | ||
468 | * configure: Regenerate. | |
469 | ||
f4782128 ST |
470 | 2021-01-07 Samuel Thibault <samuel.thibault@gnu.org> |
471 | ||
472 | * configure: Regenerate. | |
473 | ||
d1bcae83 L |
474 | 2021-01-07 H.J. Lu <hongjiu.lu@intel.com> |
475 | ||
476 | PR 27109 | |
477 | * aix386-core.c (core_aix386_vec): Initialize | |
478 | keep_unused_section_symbol to TARGET_KEEP_UNUSED_SECTION_SYMBOLS. | |
479 | * aout-target.h (MY (vec)): Likewise. | |
480 | * binary.c (binary_vec): Likewise. | |
481 | * cisco-core.c (core_cisco_be_vec): Likewise. | |
482 | (core_cisco_le_vec): Likewise. | |
483 | * coff-alpha.c (alpha_ecoff_le_vec): Likewise. | |
484 | * coff-i386.c (TARGET_SYM): Likewise. | |
485 | (TARGET_SYM_BIG): Likewise. | |
486 | * coff-ia64.c (TARGET_SYM): Likewise. | |
487 | * coff-mips.c (mips_ecoff_le_vec): Likewise. | |
488 | (mips_ecoff_be_vec): Likewise. | |
489 | (mips_ecoff_bele_vec): Likewise. | |
490 | * coff-rs6000.c (rs6000_xcoff_vec): Likewise. | |
491 | (powerpc_xcoff_vec): Likewise. | |
492 | * coff-sh.c (sh_coff_small_vec): Likewise. | |
493 | (sh_coff_small_le_vec): Likewise. | |
494 | * coff-tic30.c (tic30_coff_vec): Likewise. | |
495 | * coff-tic54x.c (tic54x_coff0_vec): Likewise. | |
496 | (tic54x_coff0_beh_vec): Likewise. | |
497 | (tic54x_coff1_vec): Likewise. | |
498 | (tic54x_coff1_beh_vec): Likewise. | |
499 | (tic54x_coff2_vec): Likewise. | |
500 | (tic54x_coff2_beh_vec): Likewise. | |
501 | * coff-x86_64.c (TARGET_SYM): Likewise. | |
502 | (TARGET_SYM_BIG): Likewise. | |
503 | * coff64-rs6000.c (rs6000_xcoff64_vec): Likewise. | |
504 | (rs6000_xcoff64_aix_vec): Likewise. | |
505 | * coffcode.h (CREATE_BIG_COFF_TARGET_VEC): Likewise. | |
506 | (CREATE_BIGHDR_COFF_TARGET_VEC): Likewise. | |
507 | (CREATE_LITTLE_COFF_TARGET_VEC): Likewise. | |
508 | * elfxx-target.h (TARGET_BIG_SYM): Likewise. | |
509 | (TARGET_LITTLE_SYM): Likewise. | |
510 | * hppabsd-core.c (core_hppabsd_vec): Likewise. | |
511 | * hpux-core.c (core_hpux_vec): Likewise. | |
512 | * i386msdos.c (i386_msdos_vec): Likewise. | |
513 | * ihex.c (ihex_vec): Likewise. | |
514 | * irix-core.c (core_irix_vec): Likewise. | |
515 | * mach-o-target.c (TARGET_NAME): Likewise. | |
516 | * mmo.c (mmix_mmo_vec): Likewise. | |
517 | * netbsd-core.c (core_netbsd_vec): Likewise. | |
518 | * osf-core.c (core_osf_vec): Likewise. | |
519 | * pdp11.c (MY (vec)): Likewise. | |
520 | * pef.c (pef_vec): Likewise. | |
521 | (pef_xlib_vec): Likewise. | |
522 | * plugin.c (plugin_vec): Likewise. | |
523 | * ppcboot.c (powerpc_boot_vec): Likewise. | |
524 | * ptrace-core.c (core_ptrace_vec): Likewise. | |
525 | * sco5-core.c (core_sco5_vec): Likewise. | |
526 | * som.c (hppa_som_vec): Likewise. | |
527 | * srec.c (srec_vec): Likewise. | |
528 | (symbolsrec_vec): Likewise. | |
529 | * tekhex.c (tekhex_vec): Likewise. | |
530 | * trad-core.c (core_trad_vec): Likewise. | |
531 | * verilog.c (verilog_vec): Likewise. | |
532 | * vms-alpha.c (alpha_vms_vec): Likewise. | |
533 | * vms-lib.c (alpha_vms_lib_txt_vec): Likewise. | |
534 | * wasm-module.c (wasm_vec): Likewise. | |
535 | * xsym.c (sym_vec): Likewise. | |
536 | * elf.c (ignore_section_sym): Return TRUE if BSF_SECTION_SYM_USED | |
537 | isn't set. | |
538 | (elf_map_symbols): Don't include ignored section symbols. | |
539 | * elfcode.h (elf_slurp_symbol_table): Also set | |
540 | BSF_SECTION_SYM_USED on STT_SECTION symbols. | |
541 | * elflink.c (bfd_elf_final_link): Generated section symbols only | |
542 | when emitting relocations or reqired. | |
543 | * elfxx-x86.h (TARGET_KEEP_UNUSED_SECTION_SYMBOLS): New. | |
544 | * syms.c (BSF_SECTION_SYM_USED): New. | |
545 | * targets.c (TARGET_KEEP_UNUSED_SECTION_SYMBOLS): New. | |
546 | (bfd_target): Add keep_unused_section_symbols. | |
547 | (bfd_keep_unused_section_symbols): New. | |
548 | * bfd-in2.h: Regenerated. | |
549 | ||
17d60030 NC |
550 | 2021-01-07 Nick Clifton <nickc@redhat.com> |
551 | ||
552 | PR 25713 | |
553 | * bfdio.c (_bfd_real_fopen): For Win32 convert relative paths to | |
554 | absolute paths and check to see if they are longer than MAX_PATH. | |
555 | ||
aa881ecd PT |
556 | 2021-01-07 Philipp Tomsich <prt@gnu.org> |
557 | ||
558 | * elfxx-riscv.c (riscv_std_z_ext_strtab): Added zihintpause. | |
559 | ||
2652cfad CXW |
560 | 2021-01-07 Claire Xenia Wolf <claire@symbioticeda.com> |
561 | Jim Wilson <jimw@sifive.com> | |
562 | Andrew Waterman <andrew@sifive.com> | |
563 | Maxim Blinov <maxim.blinov@embecosm.com> | |
564 | Kito Cheng <kito.cheng@sifive.com> | |
565 | Nelson Chu <nelson.chu@sifive.com> | |
566 | ||
567 | * elfxx-riscv.c (riscv_std_z_ext_strtab): Added zba, zbb and zbc. | |
568 | ||
d4e57b87 L |
569 | 2021-01-06 H.J. Lu <hongjiu.lu@intel.com> |
570 | ||
571 | * elf32-bfin.c (bfin_check_relocs): Check bfd_link_hash_indirect. | |
572 | (bfinfdpic_check_relocs): Likewise. | |
573 | ||
599c86c4 AM |
574 | 2021-01-06 Alan Modra <amodra@gmail.com> |
575 | ||
576 | * elf32-score.c (s3_bfd_score_info_to_howto): Report an error | |
577 | on unknown r_type. | |
578 | * elf32-score7.c (s7_bfd_score_info_to_howto): Likewise. | |
579 | ||
3677b729 AM |
580 | 2021-01-06 Alan Modra <amodra@gmail.com> |
581 | ||
582 | * config.bfd (sparc-*-solaris2*): Add sparc_elf32_vec. | |
583 | (sparc64-*-solaris2*): Add sparc_elf64_vec and | |
584 | sparc_elf32_vec. | |
585 | ||
fbc09e7a MC |
586 | 2021-01-06 Marcus Comstedt <marcus@mc.pp.se> |
587 | ||
588 | * config.bfd: Added targets riscv64be*-*-*, riscv32be*-*-* and | |
589 | riscvbe*-*-*. Also added riscv_elf[32|64]_be_vec. | |
590 | * configure.ac: Handle riscv_elf[32|64]_be_vec. | |
591 | * configure: Regenerate. | |
592 | * elfnn-riscv.c: Include <limits.h> and define CHAR_BIT for | |
593 | riscv_is_insn_reloc. | |
594 | (riscv_get_insn): RISC-V instructions are always little endian, but | |
595 | bfd_get may be used for big-endian, so add new riscv_get_insn to handle | |
596 | the insturctions. | |
597 | (riscv_put_insn): Likewsie. | |
598 | (riscv_is_insn_reloc): Check if we are relocaing an instruction. | |
599 | (perform_relocation): Call riscv_is_insn_reloc to decide if we should | |
600 | use riscv_[get|put]_insn or bfd_[get|put]. | |
601 | (riscv_zero_pcrel_hi_reloc): Use riscv_[get|put]_insn, bfd_[get|put]l32 | |
602 | or bfd_[get|put]l16 for code. | |
603 | (riscv_elf_relocate_section): Likewise. | |
604 | (riscv_elf_finish_dynamic_symbol): Likewise. | |
605 | (riscv_elf_finish_dynamic_sections): Likewise. | |
606 | (_bfd_riscv_relax_call): Likewise. | |
607 | (_bfd_riscv_relax_lui): Likewise. | |
608 | (_bfd_riscv_relax_align): Likewise. | |
609 | (_bfd_riscv_relax_pc): Likewise. | |
610 | (riscv_elf_object_p): Handled for big endian. | |
611 | (TARGET_BIG_SYM, TARGET_BIG_NAME): Defined. | |
612 | * targets.c: Add riscv_elf[32|64]_be_vec. | |
613 | (_bfd_target_vector): Likewise. | |
614 | ||
c8bad65e AM |
615 | 2021-01-05 Alan Modra <amodra@gmail.com> |
616 | ||
617 | * elflink.c (bfd_elf_link_record_dynamic_symbol): Handle no_export | |
618 | for relocatable executable. | |
619 | ||
de6a7ee4 AM |
620 | 2021-01-05 Alan Modra <amodra@gmail.com> |
621 | ||
622 | * vms-alpha.c (_bfd_vms_slurp_egsd): Read flags after size check. | |
623 | ||
18b98722 NC |
624 | 2021-01-05 Nelson Chu <nelson.chu@sifive.com> |
625 | ||
626 | * elfnn-riscv.c (allocate_dynrelocs): When we are generating pde, | |
627 | make sure gp symbol is output as a dynamic symbol. | |
628 | ||
cd6d537c L |
629 | 2021-01-04 H.J. Lu <hongjiu.lu@intel.com> |
630 | ||
631 | PR ld/26256 | |
632 | * elflink.c (compare_link_order): Place unordered sections before | |
633 | ordered sections. | |
634 | (elf_fixup_link_order): Add a link info argument. Allow mixed | |
635 | ordered and unordered input sections for non-relocatable link. | |
636 | Sort the consecutive bfd_indirect_link_order sections with the | |
637 | same pattern. Change the offsets of the bfd_indirect_link_order | |
638 | sections only. | |
639 | (bfd_elf_final_link): Pass info to elf_fixup_link_order. | |
640 | * section.c (bfd_section): Add pattern. | |
641 | (BFD_FAKE_SECTION): Initialize pattern to NULL. | |
642 | * bfd-in2.h: Regenerated. | |
643 | ||
dbb078f6 AF |
644 | 2021-01-04 Alexander Fedotov <alfedotov@gmail.com> |
645 | ||
646 | * elf32-arm.c (elf32_arm_print_private_bfd_data): Prefix hex value | |
647 | of private flags with 0x. | |
648 | * elfnn-aarch64.c (elfNN_aarch64_print_private_bfd_data): Likewise. | |
649 | ||
5b4293ba AM |
650 | 2021-01-04 Alan Modra <amodra@gmail.com> |
651 | ||
652 | PR 26822 | |
653 | * elflink.c (elf_link_input_bfd): Use the file base name in | |
654 | linker generated STT_FILE symbols. | |
655 | ||
4c0e540e NC |
656 | 2021-01-04 Nelson Chu <nelson.chu@sifive.com> |
657 | ||
658 | * elfxx-riscv.c (riscv_compare_subsets): Removed static. | |
659 | * elfxx-riscv.h: Add declaration. | |
660 | * elfnn-riscv.c (riscv_merge_multi_letter_ext): Use | |
661 | riscv_compare_subsets to check the orders. | |
662 | (riscv_skip_prefix): Removed. | |
663 | (riscv_prefix_cmp): Removed. | |
664 | ||
e9cf3691 AM |
665 | 2021-01-04 Alan Modra <amodra@gmail.com> |
666 | ||
667 | PR 26741 | |
668 | * elfxx-riscv.c (riscv_parse_prefixed_ext): Free subset after | |
669 | calculating subset version length. | |
670 | ||
f9a6a8f0 AM |
671 | 2021-01-01 Nicolas Boulenguez <nicolas@debian.org> |
672 | ||
673 | * xcofflink.c: Correct spelling in comments. | |
674 | ||
250d07de AM |
675 | 2021-01-01 Alan Modra <amodra@gmail.com> |
676 | ||
677 | Update year range in copyright notice of all files. | |
678 | ||
c2795844 | 679 | For older changes see ChangeLog-2020 |
3499769a | 680 | \f |
c2795844 | 681 | Copyright (C) 2021 Free Software Foundation, Inc. |
3499769a AM |
682 | |
683 | Copying and distribution of this file, with or without modification, | |
684 | are permitted in any medium without royalty provided the copyright | |
685 | notice and this notice are preserved. | |
686 | ||
687 | Local Variables: | |
688 | mode: change-log | |
689 | left-margin: 8 | |
690 | fill-column: 74 | |
691 | version-control: never | |
692 | End: |