[LD, AArch64] Move ELF options behind -z
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
8bf6d176
SD
12019-06-06 Sudakshina Das <sudi.das@arm.com>
2
3 * bfd-in.h: Change comment.
4 * bfd-in2.h: Regenerate.
5 * elfnn-aarch64.c (elfNN_aarch64_merge_gnu_properties): Update warning.
6 * elfxx-aarch64.c (_bfd_aarch64_elf_link_setup_gnu_properties):
7 Likwise.
8
1e129bbe
FS
92019-05-28 Faraz Shahbazker <fshahbazker@wavecomp.com>
10
11 * elfxx-mips.c (mips_elf_calculate_relocation) <R_MIPS_PCHI16>:
12 Remove overflow check.
13
0f4a61b4
AM
142019-05-28 Alan Modra <amodra@gmail.com>
15
16 PR 24596
17 * cofflink.c (coff_link_check_archive_element): Don't assume
18 element is a coff object file after calling add_archive_element.
19
94667ab1
AM
202019-05-28 Alan Modra <amodra@gmail.com>
21
22 PR 24596
23 * elf32-microblaze.c (microblaze_elf_finish_dynamic_sections): Don't
24 attempt to set sh_entsize for excluded PLT section.
25
28fbeab8
AM
262019-05-28 Alan Modra <amodra@gmail.com>
27
28 PR 24596
29 * elf64-alpha.c (elf64_alpha_relocate_section): Don't attempt
30 to emit R_ALPHA_GOTTPREL in PIEs, for which no space is
31 allocated in alpha_dynamic_entries_for_reloc.
32
a0f6fd21
AM
332019-05-28 Alan Modra <amodra@gmail.com>
34
35 PR 24596
36 * elf32-lm32.c (lm32_elf_finish_dynamic_sections): Don't segfault
37 on NULL output_section.
38 * elflink.c (elf_final_link_free): Don't free -1 symshndxbuf.
39
c83004d5
AM
402019-05-28 Alan Modra <amodra@gmail.com>
41
42 PR 24596
43 * elf32-m68k.c (elf_m68k_get_got_entry): Don't create a new
44 entry when MUST_FIND. Abort when MUST_FIND not found.
45 (elf_m68k_get_bfd2got_entry): Likewise.
46 (elf_m68k_relocate_section): Remove now useless assert.
47
586338b8
AM
482019-05-28 Alan Modra <amodra@gmail.com>
49
50 PR 24596
51 * elf64-hppa.c (elf64_hppa_finalize_dynreloc): Get the output bfd
52 from bfd_link_info, not an output section owner.
53 (elf64_hppa_finish_dynamic_symbol, elf64_hppa_finalize_opd): Likewise.
54 (elf_hppa_final_link_relocate): Likewise.
55
a7b34aba
AM
562019-05-28 Alan Modra <amodra@gmail.com>
57
58 PR 24596
59 * aout-tic30.c (MY_bfd_final_link): Don't segfault on missing
60 create_object_symbols_section, obj_textsec, obj_datasec or
61 obj_bsssec. Fix other errors in placement.
62 * config.bfd: Obsolete tic30-aout.
63
0eb32b6e
AM
642019-05-28 Alan Modra <amodra@gmail.com>
65
66 PR 24596
67 * dwarf2.c (save_section_vma, section_vma_same): Check for NULL
68 end of section list as well as section_count.
69 * xcofflink.c (xcoff_link_add_symbols): Fix temporarily changed
70 section list before returning error.
71
ce5aecf8
AM
722019-05-27 Alan Modra <amodra@gmail.com>
73
74 * elf.c (bfd_elf_set_group_contents): Exit on zero size section.
75
3d7d6a6f
AM
762019-05-27 Alan Modra <amodra@gmail.com>
77
78 PR 24596
79 * linker.c (_bfd_generic_link_output_symbols): Heed BSF_KEEP.
80
823710d5
SN
812019-05-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
82
83 * elfnn-aarch64.c (elfNN_aarch64_merge_symbol_attribute): New function.
84 (struct elf_aarch64_link_hash_table): Add variant_pcs member.
85 (elfNN_aarch64_allocate_dynrelocs): Update variant_pcs.
86 (elfNN_aarch64_size_dynamic_sections): Add DT_AARCH64_VARIANT_PCS.
87 (elf_backend_merge_symbol_attribute): Define.
88
405b5bd8
AM
892019-05-24 Alan Modra <amodra@gmail.com>
90
91 * po/SRC-POTFILES.in: Regenerate.
92
04bdff6a
AM
932019-05-24 Alan Modra <amodra@gmail.com>
94
95 * elf64-ppc.c: Comment on powerxx _notoc stub variants.
96 (LI_R11_0, LIS_R11, ORI_R11_R11_0, SLDI_R11_R11_34): Define.
97 (PADDI_R12_PC, PLD_R12_PC, D34, HA34): Define.
98 (struct ppc_link_hash_table): Add powerxx_stubs.
99 (ppc64_elf_check_relocs): Set powerxx_stubs.
100 (build_powerxx_offset, size_powerxx_offset),
101 (num_relocs_for_powerxx_offset),
102 (emit_relocs_for_powerxx_offset): New functions.
103 (plt_stub_size): Size powerxx stubs.
104 (ppc_build_one_stub): Emit powerxx stubs.
105 (ppc_size_one_stub): Size powerxx stubs. Omit .eh_frame for
106 powerxx stubs.
107
4a421c53
AM
1082019-05-24 Alan Modra <amodra@gmail.com>
109
110 * elf64-ppc.c (ppc64_elf_check_relocs): Set has_gotrel for
111 R_PPC64_GOT_PCREL34.
112 (xlate_pcrel_opt): New function.
113 (ppc64_elf_edit_toc): Handle R_PPC64_GOT_PCREL34.
114 (ppc64_elf_relocate_section): Edit GOT indirect to GOT relative
115 for R_PPC64_GOT_PCREL34. Implement R_PPC64_PCREL_OPT optimisation.
116
5663e321
AM
1172019-05-24 Alan Modra <amodra@gmail.com>
118
119 * reloc.c (BFD_RELOC_PPC64_D34, BFD_RELOC_PPC64_D34_LO),
120 (BFD_RELOC_PPC64_D34_HI30, BFD_RELOC_PPC64_D34_HA30),
121 (BFD_RELOC_PPC64_PCREL34, BFD_RELOC_PPC64_GOT_PCREL34),
122 (BFD_RELOC_PPC64_PLT_PCREL34),
123 (BFD_RELOC_PPC64_ADDR16_HIGHER34, BFD_RELOC_PPC64_ADDR16_HIGHERA34),
124 (BFD_RELOC_PPC64_ADDR16_HIGHEST34, BFD_RELOC_PPC64_ADDR16_HIGHESTA34),
125 (BFD_RELOC_PPC64_REL16_HIGHER34, BFD_RELOC_PPC64_REL16_HIGHERA34),
126 (BFD_RELOC_PPC64_REL16_HIGHEST34, BFD_RELOC_PPC64_REL16_HIGHESTA34),
127 (BFD_RELOC_PPC64_D28, BFD_RELOC_PPC64_PCREL28): New reloc enums.
128 * elf64-ppc.c (PNOP): Define.
129 (ppc64_elf_howto_raw): Add reloc howtos for new relocations.
130 (ppc64_elf_reloc_type_lookup): Translate new bfd reloc numbers.
131 (ppc64_elf_ha_reloc): Adjust addend for highera34 and highesta34
132 relocs.
133 (ppc64_elf_prefix_reloc): New function.
134 (struct ppc_link_hash_table): Add notoc_plt.
135 (is_branch_reloc): Add R_PPC64_PLTCALL_NOTOC.
136 (is_plt_seq_reloc): Add R_PPC64_PLT_PCREL34,
137 R_PPC64_PLT_PCREL34_NOTOC, and R_PPC64_PLTSEQ_NOTOC.
138 (ppc64_elf_check_relocs): Handle pcrel got and plt relocs. Set
139 has_pltcall for section on seeing R_PPC64_PLTCALL_NOTOC. Handle
140 possible need for dynamic relocs on non-pcrel powerxx relocs.
141 (dec_dynrel_count): Handle non-pcrel powerxx relocs.
142 (ppc64_elf_inline_plt): Handle R_PPC64_PLTCALL_NOTOC.
143 (toc_adjusting_stub_needed): Likewise.
144 (ppc64_elf_tls_optimize): Handle R_PPC64_PLTSEQ_NOTOC.
145 (ppc64_elf_relocate_section): Handle new powerxx relocs.
146 * bfd-in2.h: Regenerate.
147 * libbfd.h: Regenerate.
148
fd0de36e
JM
1492019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
150
45d5293f
JM
151 * config.bfd (targ_cpu): Process bpf-*-none only if BFD64.
152 * configure.ac: Set target_size=64 for bpf_elf64_le_vec and
153 bpf_elf64_be_vec.
154 * configure: Regenerate.
155
1562019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
157
fd0de36e
JM
158 * configure: Regenerated.
159 * Makefile.am (ALL_MACHINES): Add cpu-bpf.lo.
160 (ALL_MACHINES_CFILES): Add cpu-bpf.c.
161 (BFD64_BACKENDS): Add elf64-bpf.lo.
162 (BFD64_BACKENDS_CFILES): Add elf64-bpf.c.
163 * Makefile.in (SOURCE_HFILES): Regenerate.
164 * config.bfd (targ_cpu): Handle bpf-*-* targets.
165 * cpu-bpf.c: New file.
166 * elf64-bpf.c: Likewise.
167 * targets.c (_bfd_target_vector): Add bpf_elf64_be_vec and
168 bpf_elf64_le_vec.
169 * archures.c: Define architecture bfd_arch_bpf and machine
170 bfd_arch_bpf.
171 * reloc.c: Define BFD relocations used by the BPF target.
172 * bfd-in2.h: Regenerated.
173 * libbfd.h: Likewise.
174
b0f4fbf8
AM
1752019-05-22 Alan Modra <amodra@gmail.com>
176
177 * elf32-arm.c (arm_allocate_glue_section_space): Clear section
178 contents.
179
9ec2f606
AM
1802019-05-22 Alan Modra <amodra@gmail.com>
181
182 * vms-alpha.c (_bfd_vms_write_etir): Don't attempt further
183 processing on "size error in section".
184
4decd602
AM
1852019-05-22 Alan Modra <amodra@gmail.com>
186
187 * som.c (som_bfd_free_cached_info): Call
188 _bfd_generic_close_and_cleanup.
189
b474a202
FS
1902019-05-21 Faraz Shahbazker <fshahbazker@wavecomp.com>
191
192 * elfxx-mips.c (_bfd_mips_elf_check_relocs): Generate error
193 for TLS_TPREL_HI16(/LO16) relocations in shared library.
194
304f09d0
FS
1952019-05-21 Faraz Shahbazker <fshahbazker@wavecomp.com>
196
197 * elfxx-mips.c (_bfd_mips_elf_check_relocs): Add NULL pointer
198 checks. Search the RELA table for n64 relocations.
199
3734320d
MF
2002019-05-21 Matthew Fortune <matthew.fortune@mips.com>
201 Faraz Shahbazker <fshahbazker@wavecomp.com>
202
203 * elfxx-mips.c (LA25_BC): New macro.
204 (mips_elf_link_hash_table)<compact_branches>: New field.
205 (STUB_JALRC): New macro.
206 (mipsr6_o32_exec_plt0_entry_compact): New array.
207 (mipsr6_n32_exec_plt0_entry_compact): Likewise.
208 (mipsr6_n64_exec_plt0_entry_compact): Likewise.
209 (mipsr6_exec_plt_entry_compact): Likewise.
210 (mips_elf_create_la25_stub): Use BC instead of J for stubs
211 when compact_branches is true.
212 (_bfd_mips_elf_finish_dynamic_symbol): Choose the compact
213 PLT for MIPSR6 with compact_branches. Do not reorder the
214 compact branches PLT. Switch the lazy stub for MIPSR6
215 with compact_branches to use JALRC.
216 (mips_finish_exec_plt): Choose the compact PLT0 for MIPSR6
217 when compact_branches is true.
218 (_bfd_mips_elf_compact_branches): New function.
219 * elfxx-mips.h (_bfd_mips_elf_compact_branches): New prototype.
220
64672071
TC
2212019-05-21 Tamar Christina <tamar.christina@arm.com>
222
223 PR ld/24373
224 * elfnn-aarch64.c (_bfd_aarch64_erratum_843419_branch_to_stub):
225 Fix print formatter.
226
e6f65e75
AV
2272019-05-21 Andre Vieira <andre.simoesdiasvieira@arm.com>
228
229 PR 24460
230 * elf32-arm.c (get_value_helper): Remove.
231 (elf32_arm_final_link_relocate): Fix branch future relocations.
232
739b5c9c
TC
2332019-05-21 Tamar Christina <tamar.christina@arm.com>
234
235 PR ld/24373
236 * bfd-in.h (enum erratum_84319_opts): New
237 (bfd_elf64_aarch64_set_options, bfd_elf32_aarch64_set_options): Change
238 int to enum erratum_84319_opts.
239 * bfd-in2.h: Regenerate.
240 * elfnn-aarch64.c (struct elf_aarch64_link_hash_table): Change
241 fix_erratum_843419 to use new enum, remove fix_erratum_843419_adr.
242 (_bfd_aarch64_add_stub_entry_after): Conditionally create erratum stub.
243 (aarch64_size_one_stub): Conditionally size erratum 843419 stubs.
244 (_bfd_aarch64_resize_stubs): Amend comment.
245 (elfNN_aarch64_size_stubs): Don't generate stubs when no workaround
246 requested.
247 (bfd_elfNN_aarch64_set_options): Use new fix_erratum_843419 enum.
248 (_bfd_aarch64_erratum_843419_branch_to_stub): Implement selection of
249 erratum workaround.
250 (clear_erratum_843419_entry): Update erratum conditional.
251
7622049e
SKS
2522019-05-21 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
253
254 PR ld/24571
255 * bfd/elf32-avr.c (elf32_avr_relax_section): Adjust range check
256 when computing distance_short_enough.
257
338ba755
SKS
2582019-05-21 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
259
260 PR ld/24564
261 * bfd/elf32-avr.c (avr_relative_distance_considering_wrap_around):
262 Wrap around even if distance equals avr_pc_wrap_around.
263
999b073b
NC
2642019-05-20 Nick Clifton <nickc@redhat.com>
265
266 * po/fr.po: Updated French translation.
267
a7ad558c
AV
2682019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
269
270 * elf32-arm.c (elf32_arm_merge_eabi_attributes): Add case for Tag_MVE_arch.
271
a2699ef2
AM
2722019-05-16 Alan Modra <amodra@gmail.com>
273
274 * elf32-arm.c (elf32_arm_write_section): Revert last change.
275
3a1bb98c
AM
2762019-05-15 Alan Modra <amodra@gmail.com>
277
278 * elf32-arm.c (elf32_arm_write_section): Don't leave
279 error case of STM32L4XX_ERRATUM_BRANCH_TO_VENEER with
280 unitialised section contents.
281
37d0d091
JH
2822019-05-14 Jamey Hicks <jamey.hicks@gmail.com>
283
284 PR 19921
285 * verilog.c: (VerilogDataWidth): New variable.
286 (verilog_write_record): Emit bytes in VerilogDataWidth bundles.
287
79299211
NC
2882019-05-08 Nick Clifton <nickc@redhat.com>
289
290 PR 24523
291 * elf32-m68k.c (elf32_m68k_merge_private_bfd_data): Return TRUE
292 rather than FALSE if encountering a non-ELF file.
293
e1cbf07a
AM
2942019-05-06 Alan Modra <amodra@gmail.com>
295
296 * elf32-pj.c (pj_elf_reloc): Don't report undefined weak as an error.
297
334d91b9
AM
2982019-05-06 Alan Modra <amodra@gmail.com>
299
300 * reloc.c (BFD_RELOC_PPC64_TPREL16_HIGH, BFD_RELOC_PPC64_TPREL16_HIGHA),
301 (BFD_RELOC_PPC64_DTPREL16_HIGH, BFD_RELOC_PPC64_DTPREL16_HIGHA):
302 Sort before BFD_RELOC_PPC64_DTPREL16_HIGHESTA entry.
303 * libbfd.h: Regenerate.
304 * bfd-in2.h: Regenerate.
305
a288c270
AM
3062019-05-04 Alan Modra <amodra@gmail.com>
307
308 PR 24511
309 * syms.c (coff_section_type): Only allow '.', '$' and numeric
310 following the standard section names.
311 (bfd_decode_symclass): Prioritize section flag tests in
312 decode_section_type before name tests in coff_section_type.
313 * plugin.c (bfd_plugin_canonicalize_symtab): Init fake_section
314 and fake_common_section using BFD_FAKE_SECTION. Use "fake" as
315 their names and choose standard .text section flags for
316 fake_section.
317
2cdc1a97
NC
3182019-05-02 Nick Clifton <nickc@redhat.com>
319
320 PR 24493
321 * coffcode.h (styp_to_sec_flags): Treat .gnu.debuglink and
322 .gnu.debugaltlink sections as debugging sections.
323
066f4018
AM
3242019-04-30 Alan Modra <amodra@gmail.com>
325
326 * elf64-ppc.c (struct ppc64_elf_obj_tdata): Add has_gotrel.
327 (struct _ppc64_elf_section_data): Likewise.
328 (ppc64_elf_check_relocs): Set above fields.
329 (ppc64_elf_edit_toc): Add a pass over GOT relocs.
330 (ppc64_elf_relocate_section): Edit GOT indirect to GOT relative
331 when possible.
332
c54f1524
L
3332019-04-26 H.J. Lu <hongjiu.lu@intel.com>
334
335 PR ld/24486
336 * elflink.c (elf_link_output_extsym): Don't complain undefined
337 weak dynamic reference.
338
68bb0359
SD
3392019-04-25 Sudakshina Das <sudi.das@arm.com>
340
341 * elfnn-aarch64.c (PLT_BTI_ENTRY_SIZE): Remove.
342 (PLT_BTI_TLSDESC_ENTRY_SIZE): Remove.
343 (PLT_PAC_ENTRY_SIZE, PLT_BTI_PAC_ENTRY_SIZE): Remove.
344 (PLT_BTI_SMALL_ENTRY_SIZE, PLT_PAC_SMALL_ENTRY_SIZE): Update.
345 (elfNN_aarch64_small_plt0_pac_entry): Remove.
346 (elfNN_aarch64_small_plt0_bti_pac_entry): Remove.
347 (elfNN_aarch64_small_plt0_bti_entry): Update.
348 (elfNN_aarch64_small_plt_bti_entry): Update.
349 (elfNN_aarch64_small_plt_pac_entry): Update.
350 (elfNN_aarch64_tlsdesc_small_plt_bti_entry): Update.
351 (setup_plt_values): Setup new entries.
352 (elfNN_aarch64_finish_dynamic_sections): Remove size change.
353 (elfNN_aarch64_plt_sym_val): Likewise.
354
79b8e8ab
JW
3552019-04-22 Jim Wilson <jimw@sifive.com>
356
357 * elfnn-riscv.c (PRSTATUS_SIZE) [ARCH_SIZE==32]: Change from 0 to 204.
358
fce97736
AM
3592019-04-19 Alan Modra <amodra@gmail.com>
360
361 * elf32-s12z.c (elf_backend_can_gc_sections): Don't define
362
9a7f0679
L
3632019-04-17 H.J. Lu <hongjiu.lu@intel.com>
364
365 * elf64-x86-64.c (elf_x86_64_need_pic): Suggest -fPIE when not
366 building shared object.
367 * elfxx-x86.c (_bfd_x86_elf_size_dynamic_sections): Likewise.
368
4e84a8f8
L
3692019-04-17 H.J. Lu <hongjiu.lu@intel.com>
370
371 PR ld/24458
372 * elfxx-x86.h (SYMBOL_DEFINED_NON_SHARED_P): Also check x86
373 linker_def.
374
32c36c3c
AV
3752019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
376
377 * reloc.c (BFD_RELOC_ARM_T32_VLDR_VSTR_OFF_IMM): New internal
378 relocation.
379 * bfd-in2.h: Regenerate.
380 * libbfd.h: Likewise.
381
60f993ce
AV
3822019-04-15 Sudakshina Das <sudi.das@arm.com>
383
384 * reloc.c (BFD_RELOC_ARM_THUMB_LOOP12): New.
385 * bfd-in2.h: Regenerated.
386 * libbfd.h: Regenerated.
387
f6b2b12d
AV
3882019-04-15 Sudakshina Das <sudi.das@arm.com>
389
390 * reloc.c (BFD_RELOC_THUMB_PCREL_BFCSEL): New relocation.
391 * bfd-in2.h: Regenerated.
392 * libbfd.h: Likewise.
393
1889da70
AV
3942019-04-15 Sudakshina Das <sudi.das@arm.com>
395
396 * reloc.c (BFD_RELOC_ARM_THUMB_BF13): New.
397 * bfd-in2.h: Regenerated.
398 * libbfd.h: Regenerated.
399 * elf32-arm.c (elf32_arm_howto_table_1): New entry for R_ARM_THM_BF13.
400 (elf32_arm_reloc_map elf32_arm_reloc_map): Map BFD_RELOC_ARM_THUMB_BF13
401 and R_ARM_THM_BF12 together.
402 (elf32_arm_final_link_relocate): New switch case for R_ARM_THM_BF13.
403
1caf72a5
AV
4042019-04-15 Sudakshina Das <sudi.das@arm.com>
405
406 * reloc.c (BFD_RELOC_ARM_THUMB_BF19): New
407 * libbfd.h: Regenerated.
408 * bfd-in2.h: Regenerated.
409 * bfd-elf32-arm.c (elf32_arm_howto_table_1): New entry for R_ARM_THM_BF18.
410 (elf32_arm_reloc_map elf32_arm_reloc_map): Map BFD_RELOC_ARM_THUMB_BF19
411 and R_ARM_THM_BF18 together.
412 (elf32_arm_final_link_relocate): New switch case for R_ARM_THM_BF19.
413
e5d6e09e
AV
4142019-04-15 Sudakshina Das <sudi.das@arm.com>
415
416 * reloc.c (BFD_RELOC_ARM_THUMB_BF17): New enum.
417 * bfd-in2.h: Regenerated.
418 * libbfd.h: Regenerated.
419 * bfd-elf32-arm.c (elf32_arm_howto_table_1): New entry for R_ARM_THM_BF16.
420 (elf32_arm_reloc_map elf32_arm_reloc_map): Map BFD_RELOC_ARM_THUMB_BF17
421 and R_ARM_THM_BF16 together.
422 (get_value_helper): New reloc helper.
423 (elf32_arm_final_link_relocate): New switch case for R_ARM_THM_BF16.
424
e12437dc
AV
4252019-04-15 Sudakshina Das <sudi.das@arm.com>
426
427 * reloc.c (BFD_RELOC_THUMB_PCREL_BRANCH5): New enum.
428 * bfd-in2.h: Regenerate.
429 * libbfd.h: Regenerate.
430
031254f2
AV
4312019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
432
433 * archures.c (bfd_mach_arm_8_1M_MAIN): Define.
434 * bfd-in2.h: Regenerate.
435 * cpu-arm.c (arch_info_struct): Add entry for Armv8.1-M Mainline.
436 * elf32-arm.c (using_thumb_only): Return true for Armv8.1-M Mainline
437 and update assert.
438 (using_thumb2): Likewise.
439 (using_thumb2_bl): Update assert.
440 (arch_has_arm_nop): Likewise.
441 (bfd_arm_get_mach_from_attributes): Add case for Armv8.1-M Mainline.
442 (tag_cpu_arch_combine): Add logic for Armv8.1-M Mainline merging.
443
233a0083
L
4442019-04-11 H.J. Lu <hongjiu.lu@intel.com>
445
446 * elf-linker-x86.h (elf_x86_cet_report): New.
447 (elf_linker_x86_params): Add cet_report.
448 * elfxx-x86.c (_bfd_x86_elf_link_setup_gnu_properties): Report
449 missing IBT and SHSTK properties if needed.
450
a0ea3a14
L
4512019-04-11 H.J. Lu <hongjiu.lu@intel.com>
452
ca4e6331 453 PR ld/24436
a0ea3a14
L
454 * elf-m10300.c (mn10300_elf_check_relocs): Remove BFD_ASSERT of
455 "h != NULL". Don't check "h != NULL" before calling.
456 bfd_elf_gc_record_vtentry.
457 * elf32-arm.c (elf32_arm_check_relocs): Likewise.
458 * elf32-bfin.c (bfin_check_relocs): Likewise.
459 * elf32-cris.c (cris_elf_check_relocs): Likewise.
460 * elf32-csky.c (csky_elf_check_relocs): Likewise.
461 * elf32-d10v.c (elf32_d10v_check_relocs): Likewise.
462 * elf32-dlx.c (elf32_dlx_check_relocs): Likewise.
463 * elf32-fr30.c (fr30_elf_check_relocs): Likewise.
464 * elf32-frv.c (elf32_frv_check_relocs): Likewise.
465 * elf32-hppa.c (elf32_hppa_check_relocs): Likewise.
466 * elf32-i386.c (elf_i386_check_relocs): Likewise.
467 * elf32-iq2000.c (iq2000_elf_check_relocs): Likewise.
468 * elf32-m32r.c (m32r_elf_check_relocs): Likewise.
469 * elf32-m68hc1x.c (elf32_m68hc11_check_relocs): Likewise.
470 * elf32-m68k.c (elf_m68k_check_relocs): Likewise.
471 * elf32-mcore.c (mcore_elf_check_relocs): Likewise.
472 * elf32-metag.c (elf_metag_check_relocs): Likewise.
473 * elf32-or1k.c (or1k_elf_check_relocs): Likewise.
474 * elf32-ppc.c (ppc_elf_check_relocs): Likewise.
475 * elf32-s390.c (elf_s390_check_relocs): Likewise.
476 * elf32-sh.c (sh_elf_check_relocs): Likewise.
477 * elf32-v850.c (v850_elf_check_relocs): Likewise.
478 * elf32-vax.c (elf_vax_check_relocs): Likewise.
479 * elf32-xstormy16.c (xstormy16_elf_check_relocs): Likewise.
480 * elf32-xtensa.c (elf_xtensa_check_relocs): Likewise.
481 * elf64-mmix.c (mmix_elf_check_relocs): Likewise.
482 * elf64-ppc.c (ppc64_elf_check_relocs): Likewise.
483 * elf64-s390.c (elf_s390_check_relocs): Likewise.
484 * elf64-x86-64.c (elf_s390_check_relocs): Likewise.
485 * elfxx-mips.c (_bfd_mips_elf_check_relocs): Likewise.
486 * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Likewise.
487 * elflink.c (bfd_elf_gc_record_vtinherit): Check for corrupt
488 VTENTRY entry.
489
9bff840e
AM
4902019-04-11 Alan Modra <amodra@gmail.com>
491
492 PR 24435
493 * elflink.c (elf_link_add_object_symbols): Don't read partial
494 dynamic entries from fuzzed objects.
495
ce12121b
TC
4962019-04-11 Tamar Christina <tamar.christina@arm.com>
497
498 PR ld/24302
499 * elfnn-aarch64.c (elfNN_aarch64_size_dynamic_sections): Don't emit
500 DT_TLSDESC_GOT and DT_TLSDESC_PLT when DF_BIND_NOW.
501 (elfNN_aarch64_finish_dynamic_sections): Don't write PLT if DF_BIND_NOW.
502
b05971a6
MF
5032019-04-10 Michael Forney <mforney@mforney.org>
504
505 PR 24427
506 * doc/chew.c (free_words): Correctly free "push_text" strings.
507
3ae61bb6
L
5082019-04-08 H.J. Lu <hongjiu.lu@intel.com>
509
510 * config.bfd: Remove i[3-7]86-*-kaos* and i[3-7]86-*-chaos targets.
511
5f2a6b85
AM
5122019-04-08 Alan Modra <amodra@gmail.com>
513
514 * configure.ac (elfxx_x86): Define and use.
515 * configure: Regenerate.
516
5b9c07b2
L
5172019-04-06 H.J. Lu <hongjiu.lu@intel.com>
518
519 * elf-linker-x86.h: New file.
520 * elf32-i386.c (elf_i386_convert_load_reloc): Use htab->params
521 to get x86-specific linker options.
522 * elf64-x86-64.c (elf_x86_64_convert_load_reloc): Likewise.
523 (elf_x86_64_check_relocs): Likewise.
524 (elf_x86_64_relocate_section): Likewise.
525 (elf_x86_64_link_setup_gnu_properties): Likewise.
526 * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Likewise.
527 (_bfd_x86_elf_link_setup_gnu_properties): Likewise.
528 (_bfd_elf_linker_x86_set_options): New function.
529 * elfxx-x86.h: Include "elf-linker-x86.h".
530 (elf_x86_link_hash_table): Add params.
531
4b24dd1a
AM
5322019-04-03 Alan Modra <amodra@gmail.com>
533
534 * coff-i386.c, * coff-x86_64.c, * coffgen.c, * dwarf2.c,
535 * elf-m10200.c, * elf.c, * elf32-arm.c, * elf32-bfin.c,
536 * elf32-csky.c, * elf32-m32r.c, * elf32-microblaze.c, * elf32-pru.c,
537 * elf32-rx.c, * elf32-xgate.c, * elf64-sparc.c, * elfnn-ia64.c,
538 * elfxx-riscv.c, * elfxx-sparc.c, * linker.c, * mach-o.c,
539 * pe-x86_64.c, * pei-x86_64.c, * plugin.c: Whitespace fixes.
540
87f98bac
JW
5412019-04-02 Jim Wilson <jimw@sifive.com>
542
543 PR 24389
544 * elfnn-riscv.c (_bfd_riscv_elf_merge_private_bfd_data): Move read of
545 ELF header flags to after check for ELF object file. Loop through
546 sections looking for code sections, if none, then skip ABI checks.
547
ae2b14c7
JW
5482019-03-30 Andrew Waterman <andrew@sifive.com>
549
550 * elfnn-riscv.c (_bfd_riscv_relax_call): Only check ARCH_SIZE for
551 rd == X_RA case.
552
2487ef07
MF
5532019-03-29 Max Filippov <jcmvbkbc@gmail.com>
554
555 * elf32-xtensa.c (shrink_dynamic_reloc_sections): Add
556 info->export_dynamic to the conditional.
557
242a1159
AM
5582019-03-28 Alan Modra <amodra@gmail.com>
559
560 PR 24392
561 * configure.ac: Invoke AC_CHECK_SIZEOF(int).
562 * configure: Regenerate.
563 * coffgen.c (coff_get_reloc_upper_bound): Replace gcc diagnostic
564 workaround with SIZEOF_LONG vs. SIZEOF_INT check.
565 * elf.c (_bfd_elf_get_reloc_upper_bound): Likewise.
566 * elf64-sparc.c (elf64_sparc_get_reloc_upper_bound): Likewise.
567 * mach-o.c (bfd_mach_o_get_reloc_upper_bound): Likewise.
568
a9f5a551
JW
5692019-03-21 Jim Wilson <jimw@sifive.com>
570
571 PR 24365
572 * elfnn-riscv.c (riscv_elf_relocate_section): For STT_SECTION check,
573 verify sym non-NULL before using. Add identical check using h.
574
4e539114
SD
5752019-03-21 Sudakshina Das <sudi.das@arm.com>
576
577 * elf-bfd.h (struct elf_backend_data): Add argument to
578 merge_gnu_properties.
579 * elf-properties.c (elf_merge_gnu_properties): Add argument to
580 itself and while calling bed->merge_gnu_properties.
581 (elf_merge_gnu_property_list): Update the calls for
582 elf_merge_gnu_properties.
583 * elfnn-aarch64.c (elfNN_aarch64_merge_gnu_properties): Update handling
584 of --force-bti warning and add argument.
585 * elfxx-aarch64.c (_bfd_aarch64_elf_link_setup_gnu_properties): Add
586 warning.
587 * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Add argument.
588 * elfxx-x86.h (_bfd_x86_elf_merge_gnu_properties): Likewise in
589 declaration.
590
acde6c6b
SD
5912019-03-20 Sudakshina Das <sudi.das@arm.com>
592
593 * elfxx-aarch64.c (_bfd_aarch64_elf_link_fixup_gnu_properties): Define.
594 * elfxx-aarch64.h (_bfd_aarch64_elf_link_fixup_gnu_properties): Declare.
595 (elf_backend_fixup_gnu_properties): Define for AArch64.
596
8cd1fe1b
AM
5972019-03-18 Alan Modra <amodra@gmail.com>
598
599 PR 24355
600 * elf32-ppc.c (ppc_finish_symbols): Don't call write_glink_stub
601 for local iplt syms with ent->plt.offset == -1. Remove ineffective
602 attempt at writing glink stubs only once.
603
6835821b
AM
6042019-03-16 Alan Modra <amodra@gmail.com>
605
606 PR 24337
607 * elf.c (_bfd_elf_rela_local_sym): Revert last change.
608 (_bfd_elf_rel_local_sym): Likewise.
609 * elflink.c (elf_link_input_bfd): Use bfd_und_section for
610 section of symbols with unrecognized shndx.
611
2219ae0b
L
6122019-03-15 H.J. Lu <hongjiu.lu@intel.com>
613
614 PR ld/24267
615 * coffgen.c (_bfd_coff_section_already_linked): Skip discarded
616 section.
617 * cofflink.c (coff_link_add_symbols): Check for symbols defined
618 in discarded section.
619
fe3fef62
AM
6202019-03-15 Alan Modra <amodra@gmail.com>
621
622 PR 24339
623 * elflink.c (elf_link_add_object_symbols): Bail out on a local
624 symbol after globals if elf_bad_symtab is not set.
625
1ff31e13
AM
6262019-03-15 Alan Modra <amodra@gmail.com>
627
628 PR 24337
629 * elf.c (_bfd_elf_rela_local_sym): Don't segfault on NULL sec.
630 (_bfd_elf_rel_local_sym): Likewise.
631
f55b1e32
AM
6322019-03-15 Alan Modra <amodra@gmail.com>
633
634 PR 24336
635 * elflink.c (elf_link_read_relocs_from_section): Handle fuzzed
636 object files with sh_size not a multiple of sh_entsize.
637
da0d12d2
L
6382019-03-15 H.J. Lu <hongjiu.lu@intel.com>
639
418d4036
L
640 PR ld/24338
641 * elf64-x86-64.c (elf_x86_64_relocate_section): Check for corrupt
642 input with bad relocation.
643
64422019-03-15 H.J. Lu <hongjiu.lu@intel.com>
645
da0d12d2
L
646 * elf64-x86-64.c (elf_x86_64_relocate_section): Re-indent.
647
d7f848c3
NC
6482019-03-14 Nick Clifton <nickc@redhat.com>
649
650 PR 24334
651 * dwarf2.c (struct dwarf2_debug): Add sec_vma_count field.
652 (save_section_vma): Initialise field to the number of entries in
653 the sec_vma table.
654 (section_vma_same): Check that the number of entries in the
655 sec_vma table matches the number of sections in the bfd.
656
6cc71b82
NC
6572019-03-14 Nick Clifton <nickc@redhat.com>
658
659 PR 24333
660 * elflink.c (_bfd_elf_add_default_symbol): Add a check for a NULL
661 section owner pointer when adding the default symbol.
662
be22c732
NC
6632019-03-14 Nick Clifton <nickc@redhat.com>
664
665 PR 24332
666 * elflink.c (elf_link_add_object_symbols): Add new local variable
667 extversym_end. Initialise it to point to the end of the version
668 symbol table, if present. Check it when initialising and updating
669 the ever pointer.
670
1dbade74
SD
6712019-03-13 Sudakshina Das <sudi.das@arm.com>
672
673 * elfnn-aarch64.c (PLT_PAC_ENTRY_SIZE, PLT_PAC_SMALL_ENTRY_SIZE): New.
674 (PLT_BTI_PAC_ENTRY_SIZE, PLT_BTI_PAC_SMALL_ENTRY_SIZE): New.
675 (setup_plt_values): Account for PAC or PAC and BTI enabled PLTs.
676 (elfNN_aarch64_size_dynamic_sections): Add checks for PLT_BTI_PAC
677 and PLT_PAC_PLT.
678 (elfNN_aarch64_finish_dynamic_sections): Account for PLT_BTI_PAC.
679 (get_plt_type): Add case for DT_AARCH64_PAC_PLT.
680 (elfNN_aarch64_plt_sym_val): Add cases for PLT_BTI_PAC and PLT_PAC.
681
37c18eed
SD
6822019-03-13 Sudakshina Das <sudi.das@arm.com>
683 Szabolcs Nagy <szabolcs.nagy@arm.com>
684
685 * bfd-in.h (aarch64_plt_type, aarch64_enable_bti_type): New.
686 (aarch64_bti_pac_info): New.
687 (bfd_elf64_aarch64_set_options): Add aarch64_bti_pac_info argument.
688 (bfd_elf32_aarch64_set_options): Likewise.
689 * bfd-in2.h: Regenerate
690 * elfnn-aarch64.c (PLT_BTI_ENTRY_SIZE): New.
691 (PLT_BTI_SMALL_ENTRY_SIZE, PLT_BTI_TLSDESC_ENTRY_SIZE): New.
692 (elfNN_aarch64_small_plt0_bti_entry): New.
693 (elfNN_aarch64_small_plt_bti_entry): New.
694 (elfNN_aarch64_tlsdesc_small_plt_bti_entry): New.
695 (elf_aarch64_obj_tdata): Add no_bti_warn and plt_type fields.
696 (elf_aarch64_link_hash_table): Add plt0_entry, plt_entry and
697 tlsdesc_plt_entry_size fields.
698 (elfNN_aarch64_link_hash_table_create): Initialise the new fields.
699 (setup_plt_values): New helper function.
700 (bfd_elfNN_aarch64_set_options): Use new bp_info to set plt sizes and
701 bti enable type.
702 (elfNN_aarch64_allocate_dynrelocs): Use new size members instead of
703 fixed macros.
704 (elfNN_aarch64_size_dynamic_sections): Likewise and add checks.
705 (elfNN_aarch64_create_small_pltn_entry): Use new generic pointers
706 to plt stubs instead of fixed ones and update filling them according
707 to the need for bti.
708 (elfNN_aarch64_init_small_plt0_entry): Likewise.
709 (elfNN_aarch64_finish_dynamic_sections): Likewise.
710 (get_plt_type, elfNN_aarch64_get_synthetic_symtab): New.
711 (elfNN_aarch64_plt_sym_val): Update size accordingly.
712 (elfNN_aarch64_link_setup_gnu_properties): Set up plts if BTI GNU NOTE
713 is set.
714 (bfd_elfNN_get_synthetic_symtab): Define.
715 (elfNN_aarch64_merge_gnu_properties): Give out warning with --force-bti
716 and mising BTI NOTE SECTION.
717
718
cd702818
SD
7192019-03-13 Sudakshina Das <sudi.das@arm.com>
720
721 * elf-properties.c (_bfd_elf_link_setup_gnu_properties): Exclude
722 linker created inputs from merge.
723 * elfnn-aarch64.c (struct elf_aarch64_obj_tdata): Add field for
724 GNU_PROPERTY_AARCH64_FEATURE_1_AND properties.
725 (elfNN_aarch64_link_setup_gnu_properties): New.
726 (elfNN_aarch64_merge_gnu_properties): New.
727 (elf_backend_setup_gnu_properties): Define for AArch64.
728 (elf_backend_merge_gnu_properties): Likewise.
729 * elfxx-aarch64.c (_bfd_aarch64_elf_link_setup_gnu_properties): Define.
730 (_bfd_aarch64_elf_parse_gnu_properties): Define.
731 (_bfd_aarch64_elf_merge_gnu_properties): Define.
732 * elfxx-aarch64.h (_bfd_aarch64_elf_link_setup_gnu_properties): Declare.
733 (_bfd_aarch64_elf_parse_gnu_properties): Declare.
734 (_bfd_aarch64_elf_merge_gnu_properties): Declare.
735 (elf_backend_parse_gnu_properties): Define for AArch64.
736
44b27f95
L
7372019-03-13 H.J. Lu <hongjiu.lu@intel.com>
738
739 PR ld/24322
740 * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Properly
741 merge GNU_PROPERTY_X86_FEATURE_1_[IBT|SHSTK].
742
7a6e0d89
AM
7432019-03-12 Alan Modra <amodra@gmail.com>
744
745 * coffcode.h (buy_and_read): Delete unnecessary forward decl. Add
746 nmemb parameter. Use bfd_alloc2.
747 (coff_slurp_line_table): Use bfd_alloc2. Update buy_and_read calls.
748 Delete assertion.
749 (coff_slurp_symbol_table): Use bfd_alloc2 and bfd_zalloc2.
750 (coff_slurp_reloc_table): Use bfd_alloc2. Update buy_and_read calls.
751 * coffgen.c (coff_get_reloc_upper_bound): Ensure size calculation
752 doesn't overflow.
753 * elf.c (bfd_section_from_shdr): Use bfd_zalloc2. Style fix.
754 (assign_section_numbers): Style fix.
755 (swap_out_syms): Use bfd_malloc2.
756 (_bfd_elf_get_reloc_upper_bound): Ensure size calculation doesn't
757 overflow.
758 (_bfd_elf_make_empty_symbol): Style fix.
759 (elfobj_grok_stapsdt_note_1): Formatting.
760 * elfcode.h (elf_object_p): Use bfd_alloc2.
761 (elf_write_relocs, elf_write_shdrs_and_ehdr): Likewise.
762 (elf_slurp_symbol_table): Use bfd_zalloc2.
763 (elf_slurp_reloc_table): Use bfd_alloc2.
764 (_bfd_elf_bfd_from_remote_memory): Use bfd_malloc2.
765 * elf64-sparc (elf64_sparc_get_reloc_upper_bound): Ensure
766 size calculation doesn't overflow.
767 (elf64_sparc_get_dynamic_reloc_upper_bound): Likewise.
768 * mach-o.c (bfd_mach_o_get_reloc_upper_bound): Likewise.
769 * pdp11.c (get_reloc_upper_bound): Copy aoutx.h version.
770
ebd2263b
AM
7712019-03-08 Alan Modra <amodra@gmail.com>
772
773 PR 24311
774 * merge.c (merge_strings): Return secinfo. Don't pad section
775 to alignment here.
776 (_bfd_merge_sections): Pad section to alignment here, if input
777 sections contributing to merged output all pad to alignment.
778 Formatting.
779
219d6836
NC
7802019-03-06 Nick Clifton <nickc@redhat.com>
781
782 * dwarf2.c (_bfd_dwarf2_find_symbol_bias): Check for a NULL symbol
783 table pointer.
784 * coffgen.c (coff_find_nearest_line_with_names): Do not call
785 _bfd_dwarf2_find_symbol_bias if there is no symbol table available.
786
24801b15
AK
7872019-03-01 Andreas Krebbel <krebbel@linux.ibm.com>
788
789 This reverts commit 5a12586d44fa8d5dfc74cbca4f2f36a273a16335.
790 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
791
792 PR 20113
793 * elf32-s390.c (allocate_dynrelocs): Update comment.
794
4ffd2909
TC
7952019-02-28 Tamar Christina <tamar.christina@arm.com>
796
797 * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Correct CIE parse.
798
eed5def8
NC
7992019-02-28 Nick Clifton <nickc@redhat.com>
800
801 PR 24273
802 * elf.c (bfd_elf_string_from_elf_section): Check for a string
803 section that is not NUL terminated.
804
5cfe428c
L
8052019-02-27 H.J. Lu <hongjiu.lu@intel.com>
806
807 PR ld/24276
808 * elf64-x86-64.c (elf_x86_64_check_relocs): Skip symbol defined
809 by linker when checking copy reloc on protected symbol.
810
f616c36b
AM
8112019-02-24 Alan Modra <amodra@gmail.com>
812
813 PR 24144
814 * pdp11.c (set_section_contents): Revert 2015-02-24 change.
815
eed62915
MF
8162019-02-20 Eric Tsai <erictsai@cadence.com>
817
818 * elf32-xtensa.c (is_resolvable_asm_expansion): Scan output
819 sections between the call site and call destination and adjust
820 call distance by the largest alignment.
821
e6c3b5bf
AH
8222019-02-20 Alan Hayward <alan.hayward@arm.com>
823
824 * elf-bfd.h (elfcore_write_aarch_pauth): Add declaration.
825 * elf.c (elfcore_grok_aarch_pauth): New function.
826 (elfcore_grok_note): Check for NT_ARM_PAC_MASK.
827 (elfcore_write_aarch_pauth): New function.
828 (elfcore_write_register_note): Check for AArch64 pauth section.
829
34d75fb5
AM
8302019-02-20 Alan Modra <amodra@gmail.com>
831
832 PR 24225
833 * elf32-nios2.c (nios2_elf32_relocate_section): Check asprintf
834 return value.
835
edd01d07
MR
8362019-02-20 Michael Roitzsch <reactorcontrol@icloud.com>
837
838 * configure.ac (SHARED_LIBADD): Add -liberty -lintl for all
839 Darwin hosts, not just or1k.
840 * configure: Regenerate.
841
8abac803
AM
8422019-02-20 Alan Modra <amodra@gmail.com>
843
844 PR 24236
845 * archive64.c (_bfd_archive_64_bit_slurp_armap): Move code adding
846 sentinel NUL to string buffer nearer to loop where it is used.
847 Don't go past sentinel when scanning strings, and don't write
848 NUL again.
849 * archive.c (do_slurp_coff_armap): Simplify string handling to
850 archive64.c style.
851
179f2db0
AM
8522019-02-19 Alan Modra <amodra@gmail.com>
853
854 PR 24235
855 * pei-x86_64.c (pex64_bfd_print_pdata_section): Correct checks
856 attempting to prevent read past end of section.
857
a31b8bd9
AM
8582019-02-18 Alan Modra <amodra@gmail.com>
859
860 PR 24225
861 * elf32-nios2.c (nios2_elf32_relocate_section): Use asprintf and
862 PRIx64 to generate warning messages. Print local sym names too.
863
a0e90a73
CZ
8642019-02-09 Vineet Gupta <vgupta@synopsys.com>
865
866 * elf32-arc (INIT_SYM_STRING): Delete.
867 (FINI_SYM_STRING): Likewise.
868 (init_str): Likewise.
869 (fini_str): Likewise.
870
482f3505
AM
8712019-02-08 Alan Modra <amodra@gmail.com>
872
873 * elf32-ppc.c (ppc_elf_relocate_section): Add %X to "unsupported
874 for bss-plt" warning to make it an error.
875
b2abe1bd
EB
8762019-02-07 Eric Botcazou <ebotcazou@adacore.com>
877
878 PR ld/18841
879 * elf32-sparc.c (elf32_sparc_reloc_type_class): Return
880 reloc_class_ifunc for ifunc symbols.
881 * elf64-sparc.c (elf64_sparc_reloc_type_class): Likewise.
882
68a09132
EB
8832019-02-07 Eric Botcazou <ebotcazou@adacore.com>
884
885 * elf32-visium.c (visium_elf_howto_parity_reloc): Minor tweak.
886 <R_VISIUM_PC16>: Use explicit range test to detect an overflow.
887
2012bf01
NC
8882019-02-07 Nick Clifton <nickc@redhat.com>
889
890 * config.bfd: Move the powerpc-lynxos and powerpc-windiss targets
891 into the definitely obsolete list.
892
83924b38
L
8932019-02-05 H.J. Lu <hongjiu.lu@intel.com>
894
895 PR ld/24151
896 * elf64-x86-64.c (elf_x86_64_need_pic): Check
897 SYMBOL_DEFINED_NON_SHARED_P instead of def_regular.
898 (elf_x86_64_relocate_section): Move PIC check for PC-relative
899 relocations to ...
900 (elf_x86_64_check_relocs): Here.
901 (elf_x86_64_finish_dynamic_symbol): Use SYMBOL_DEFINED_NON_SHARED_P
902 to check if a symbol is defined in a non-shared object.
903 * elfxx-x86.h (SYMBOL_DEFINED_NON_SHARED_P): New.
904
453f8e1e
SDJ
9052019-01-21 Sergio Durigan Junior <sergiodj@redhat.com>
906
907 * elf32-arm.c (elf32_arm_final_link_relocate): Use 'llabs' instead
908 of 'labs' (and fix GCC warning).
909
9ed1348c
NC
9102019-01-25 Nick Clifton <nickc@redhat.com>
911
912 * po/ru.po: Updated Russian translation.
913
d9938630
NC
9142019-01-23 Nick Clifton <nickc@redhat.com>
915
916 * po/fr.po: Updated French translation.
917
375cd423
NC
9182019-01-21 Nick Clifton <nickc@redhat.com>
919
920 * po/pt.po: Updated Portuguese translation.
921 * po/uk.po: Updated Ukranian translation.
922
acef8081
YC
9232019-01-21 Yuri Chornoivan <yurchor@ukr.net>
924
925 PR 24108
926 * elf32-nds32.c (nds32_relocate_section): Add space between words
927 in error message.
928 * elfnn-riscv.c (riscv_version_mismatch): Fix spelling mistake in
929 error message.
930 (riscv_i_or_e_p): Likewise.
931 (riscv_merge_arch_attr_info): Likewise.
932
f48dfe41
NC
9332019-01-19 Nick Clifton <nickc@redhat.com>
934
935 * version.m4: Reset to 2.32.51
936 * configure: Regenerate.
937 * po/bfd.pot: Regenerate.
938
f974f26c
NC
9392018-06-24 Nick Clifton <nickc@redhat.com>
940
941 2.32 branch created.
942
a4bf3d07
JW
9432019-01-16 Kito Cheng <kito@andestech.com>
944
945 * elf-attrs.c (vendor_obj_attr_size): Return 0 if size is 0 even
946 for OBJ_ATTR_PROC.
947
2dc8dd17
JW
9482019-01-16 Kito Cheng <kito@andestech.com>
949 Nelson Chu <nelson@andestech.com>
950
7d7a7d7c
JW
951 * elfnn-riscv.c (in_subsets): New.
952 (out_subsets): Likewise.
953 (merged_subsets): Likewise.
954 (riscv_std_ext_p): Likewise.
955 (riscv_non_std_ext_p): Likewise.
956 (riscv_std_sv_ext_p): Likewise.
957 (riscv_non_std_sv_ext_p): Likewise.
958 (riscv_version_mismatch): Likewise.
959 (riscv_i_or_e_p): Likewise.
960 (riscv_merge_std_ext): Likewise.
961 (riscv_merge_non_std_and_sv_ext): Likewise.
962 (riscv_merge_arch_attr_info): Likewise.
963 (riscv_merge_attributes): Likewise.
964 (_bfd_riscv_elf_merge_private_bfd_data): Merge attribute.
965
2dc8dd17
JW
966 * elfnn-riscv.c (riscv_elf_obj_attrs_arg_type): New.
967 (elf_backend_obj_attrs_vendor): Define.
968 (elf_backend_obj_attrs_section_type): Likewise.
969 (elf_backend_obj_attrs_section): Likewise.
970 (elf_backend_obj_attrs_arg_type): Define as
971 riscv_elf_obj_attrs_arg_type.
972 * elfxx-riscv.c (riscv_estimate_digit): New.
973 (riscv_estimate_arch_strlen1): Likewise.
974 (riscv_estimate_arch_strlen): Likewise.
975 (riscv_arch_str1): Likewise.
976 (riscv_arch_str): Likewise.
977 * elfxx-riscv.h (riscv_arch_str): Declare.
978
d5dcaf1b
JD
9792019-01-14 John Darrington <john@darrington.wattle.id.au>
980
981 * bfd-in2.h [BFD_RELOC_S12Z_OPR]: New reloc.
982 * libbfd.h: regen.
983 * elf32-s12z.c (eld_s12z_howto_table): R_S12Z_OPR takes non zero
984 source field. (md_apply_fix): Apply final fix
985 to BFD_RELOC_S12Z_OPR.
986 * reloc.c[BFD_RELOC_S12Z_OPR]: New reloc.
987
5a12586d
MT
9882019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
989
f466c305 990 PR 20113
5a12586d
MT
991 * elf32-s390.c (allocate_dynrelocs): Update comment.
992
3107326d
AP
9932019-01-09 Andrew Paprocki <andrew@ishiboo.com>
994
995 * warning.m4: Adjust egrep pattern for non-GNU compilers.
996 * configure: Regenerate.
997
a9859e01
AM
9982019-01-08 Alan Modra <amodra@gmail.com>
999
1000 PR 23699
1001 PR 24065
1002 * ihex.c (ihex_write_object_contents): Properly check 32-bit
1003 address range.
1004
c8c89dac
YS
10052019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
1006
1007 * bfd/archures.c: Add bfd_mach_rx_v2 and bfd_mach_rx_v3.
1008 * bfd/bfd-in2.h: Regenerate.
1009 * bfd/cpu-rx.c (arch_info_struct): Add RXv2 and RXv3 entry.
1010 * bfd/elf32-rx.c (elf32_rx_machine): Add RXv2 and RXv3 support.
1011
d9858c37
LX
10122019-01-04 Lifang Xia <lifang_xia@c-sky.com>
1013
1014 * config.bfd (csky-*-elf* | csky-*-linux*): Modify the csky
1015 default target, little endian target is more suitable.
1016
677bd4c6
AM
10172019-01-04 Alan Modra <amodra@gmail.com>
1018
1019 PR 24061
1020 PR 21786
1021 * coff-rs6000.c (GET_VALUE_IN_FIELD): Add base parameter and
1022 adjust all callers.
1023 (EQ_VALUE_IN_FIELD): Likewise.
1024 * coff64-rs6000.c (GET_VALUE_IN_FIELD): Likewise.
1025
82704155
AM
10262019-01-01 Alan Modra <amodra@gmail.com>
1027
1028 Update year range in copyright notice of all files.
1029
d5c04e1b 1030For older changes see ChangeLog-2018
3499769a 1031\f
d5c04e1b 1032Copyright (C) 2019 Free Software Foundation, Inc.
3499769a
AM
1033
1034Copying and distribution of this file, with or without modification,
1035are permitted in any medium without royalty provided the copyright
1036notice and this notice are preserved.
1037
1038Local Variables:
1039mode: change-log
1040left-margin: 8
1041fill-column: 74
1042version-control: never
1043End:
This page took 0.432643 seconds and 4 git commands to generate.