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