Prevent an illegal memory access via an out of range fixup pointer.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
1 2018-04-16 Nick Clifton <nickc@redhat.com>
2
3 PR 23061
4 * coffgen.c (coff_pointerize_aux): Check for an out of range
5 fixup.
6
7 2018-04-16 Alan Modra <amodra@gmail.com>
8
9 * Makefile.am: Remove arm-epoc-pe support.
10 * coff-arm.c: Likewise.
11 * config.bfd: Likewise.
12 * configure.ac: Likewise.
13 * targets.c: Likewise.
14 * epoc-pe-arm.c: Delete.
15 * epoc-pei-arm.c: Delete.
16 * Makefile.in: Regenerate.
17 * configure: Regenerate.
18 * po/SRC-POTFILES.in: Regenerate.
19
20 2018-04-16 Alan Modra <amodra@gmail.com>
21
22 * Makefile.am: Remove sparc-aout and sparc-coff support.
23 * config.bfd: Likewise.
24 * configure.ac: Likewise.
25 * targets.c: Likewise.
26 * aout-sparcle.c: Delete.
27 * aoutf1.h: Delete.
28 * cf-sparclynx.c: Delete.
29 * coff-sparc.c: Delete.
30 * demo64.c: Delete.
31 * sparclinux.c: Delete.
32 * sparclynx.c: Delete.
33 * sparcnetbsd.c: Delete.
34 * sunos.c: Delete.
35 * Makefile.in: Regenerate.
36 * configure: Regenerate.
37 * po/SRC-POTFILES.in: Regenerate.
38
39 2018-04-16 Alan Modra <amodra@gmail.com>
40
41 * Makefile.am: Remove m68k-aout and m68k-coff support.
42 * aoutf1.h: Likewise.
43 * aoutx.h: Likewise.
44 * archive.c: Likewise.
45 * bfd-in.h: Likewise.
46 * bfd.c: Likewise.
47 * coffcode.h: Likewise.
48 * coffswap.h: Likewise.
49 * config.bfd: Likewise.
50 * configure.ac: Likewise.
51 * configure.host: Likewise.
52 * doc/bfd.texinfo: Likewise.
53 * doc/bfdint.texi: Likewise.
54 * freebsd.h: Likewise.
55 * gen-aout.c: Likewise.
56 * hpux-core.c: Likewise.
57 * libaout.h: Likewise.
58 * libbfd-in.h: Likewise.
59 * pdp11.c: Likewise.
60 * peicode.h: Likewise.
61 * riscix.c: Likewise.
62 * targets.c: Likewise.
63 * aout0.c: Delete.
64 * coff-apollo.c: Delete.
65 * coff-aux.c: Delete.
66 * coff-m68k.c: Delete.
67 * coff-svm68k.c: Delete.
68 * coff-u68k.c: Delete.
69 * hosts/delta68.h: Delete.
70 * hosts/hp300bsd.h: Delete.
71 * hosts/m68kaux.h: Delete.
72 * hosts/news.h: Delete.
73 * hp300bsd.c: Delete.
74 * hp300hpux.c: Delete.
75 * liboasys.h: Delete.
76 * m68k4knetbsd.c: Delete.
77 * m68klinux.c: Delete.
78 * m68knetbsd.c: Delete.
79 * oasys.c: Delete.
80 * versados.c: Delete.
81 * Makefile.in: Regenerate.
82 * bfd-in2.h: Regenerate.
83 * configure: Regenerate.
84 * libbfd.h: Regenerate.
85 * po/SRC-POTFILES.in: Regenerate.
86
87 2018-04-16 Alan Modra <amodra@gmail.com>
88
89 * Makefile.am: Remove sh5 and sh64 support.
90 * archures.c: Likewise.
91 * config.bfd: Likewise.
92 * configure.ac: Likewise.
93 * cpu-sh.c: Likewise.
94 * elf32-sh-relocs.h: Likewise.
95 * elf32-sh.c: Likewise.
96 * targets.c: Likewise.
97 * elf32-sh64-com.c: Delete.
98 * elf32-sh64.c: Delete.
99 * elf32-sh64.h: Delete.
100 * elf64-sh64.c: Delete.
101 * Makefile.in: Regenerate.
102 * bfd-in2.h: Regenerate.
103 * configure: Regenerate.
104 * po/SRC-POTFILES.in: Regenerate.
105
106 2018-04-16 Alan Modra <amodra@gmail.com>
107
108 * Makefile.am: Remove sh-symbianelf support.
109 * config.bfd: Likewise.
110 * configure.ac: Likewise.
111 * targets.c: Likewise.
112 * elf32-sh-symbian.c: Delete.
113 * Makefile.in: Regenerate.
114 * configure: Regenerate.
115 * po/SRC-POTFILES.in: Regenerate.
116
117 2018-04-16 Alan Modra <amodra@gmail.com>
118
119 * Makefile.am: Remove vax-bsd and vax-ultrix support.
120 * config.bfd: Likewise.
121 * configure.ac: Likewise.
122 * targets.c: Likewise.
123 * vaxbsd.c: Delete.
124 * Makefile.in: Regenerate.
125 * configure: Regenerate.
126 * po/SRC-POTFILES.in: Regenerate.
127
128 2018-04-16 Alan Modra <amodra@gmail.com>
129
130 * Makefile.am: Remove w65 support.
131 * archures.c: Likewise.
132 * coffcode.h: Likewise.
133 * config.bfd: Likewise.
134 * configure.ac: Likewise.
135 * targets.c: Likewise.
136 * coff-w65.c: Delete.
137 * cpu-w65.c: Delete.
138 * Makefile.in: Regenerate.
139 * bfd-in2.h: Regenerate.
140 * configure: Regenerate.
141 * po/SRC-POTFILES.in: Regenerate.
142
143 2018-04-16 Alan Modra <amodra@gmail.com>
144
145 * Makefile.am: Remove we32k support.
146 * archures.c: Likewise.
147 * coffcode.h: Likewise.
148 * config.bfd: Likewise.
149 * configure.ac: Likewise.
150 * targets.c: Likewise.
151 * coff-we32k.c: Delete.
152 * cpu-we32k.c: Delete.
153 * Makefile.in: Regenerate.
154 * bfd-in2.h: Regenerate.
155 * configure: Regenerate.
156 * po/SRC-POTFILES.in: Regenerate.
157
158 2018-04-16 Alan Modra <amodra@gmail.com>
159
160 * Makefile.am: Remove m88k support.
161 * aoutx.h: Likewise.
162 * archures.c: Likewise.
163 * coffcode.h: Likewise.
164 * coffswap.h: Likewise.
165 * config.bfd: Likewise.
166 * configure.ac: Likewise.
167 * cpu-ns32k.c: Likewise.
168 * elf32-nds32.c: Likewise.
169 * mach-o.c: Likewise.
170 * netbsd-core.c: Likewise.
171 * reloc.c: Likewise.
172 * targets.c: Likewise.
173 * coff-m88k.c: Delete.
174 * cpu-m88k.c: Delete.
175 * elf32-m88k.c: Delete.
176 * hosts/m88kmach3.h: Delete.
177 * m88kmach3.c: Delete.
178 * m88kopenbsd.c: Delete.
179 * Makefile.in: Regenerate.
180 * bfd-in2.h: Regenerate.
181 * configure: Regenerate.
182 * po/SRC-POTFILES.in: Regenerate.
183
184 2018-04-16 Alan Modra <amodra@gmail.com>
185
186 * Makefile.am: Remove i370 support.
187 * archures.c: Likewise.
188 * config.bfd: Likewise.
189 * configure.ac: Likewise.
190 * targets.c: Likewise.
191 * cpu-i370.c: Delete.
192 * elf32-i370.c: Delete.
193 * Makefile.in: Regenerate.
194 * bfd-in2.h: Regenerate.
195 * configure: Regenerate.
196 * po/SRC-POTFILES.in: Regenerate.
197
198 2018-04-16 Alan Modra <amodra@gmail.com>
199
200 * Makefile.am: Remove h8500 support.
201 * archures.c: Likewise.
202 * coffcode.h: Likewise.
203 * config.bfd: Likewise.
204 * configure.ac: Likewise.
205 * targets.c: Likewise.
206 * coff-h8500.c: Delete.
207 * cpu-h8500.c: Delete.
208 * Makefile.in: Regenerate.
209 * bfd-in2.h: Regenerate.
210 * configure: Regenerate.
211 * po/SRC-POTFILES.in: Regenerate.
212
213 2018-04-16 Alan Modra <amodra@gmail.com>
214
215 * Makefile.am: Remove h8300-coff support.
216 * coffcode.h: Likewise.
217 * config.bfd: Likewise.
218 * configure.ac: Likewise.
219 * reloc16.c: Likewise.
220 * targets.c: Likewise.
221 * coff-h8300.c: Delete.
222 * Makefile.in: Regenerate.
223 * configure: Regenerate.
224 * po/SRC-POTFILES.in: Regenerate.
225
226 2018-04-16 Alan Modra <amodra@gmail.com>
227
228 * Makefile.am: Remove IEEE 695 support.
229 * archures.c: Likewise.
230 * bfd.c: Likewise.
231 * config.bfd: Likewise.
232 * configure.ac: Likewise.
233 * doc/bfd.texinfo: Likewise.
234 * doc/bfdint.texi: Likewise.
235 * doc/bfdsumm.texi: Likewise.
236 * section.c: Likewise.
237 * targets.c: Likewise.
238 * ieee.c: Delete.
239 * libieee.h: Delete.
240 * Makefile.in: Regenerate.
241 * bfd-in2.h: Regenerate.
242 * configure: Regenerate.
243 * po/SRC-POTFILES.in: Regenerate.
244
245 2018-04-16 Alan Modra <amodra@gmail.com>
246
247 * config.bfd: Remove tandem support.
248
249 2018-04-16 Alan Modra <amodra@gmail.com>
250
251 * Makefile.am: Remove newsos3 support.
252 * aoutx.h: Likewise.
253 * config.bfd: Likewise.
254 * configure.ac: Likewise.
255 * targets.c: Likewise.
256 * newsos3.c: Delete.
257 * Makefile.in: Regenerate.
258 * configure: Regenerate.
259 * po/SRC-POTFILES.in: Regenerate.
260
261 2018-04-16 Alan Modra <amodra@gmail.com>
262
263 * Makefile.am: Remove netware support.
264 * bfd-in.h: Likewise.
265 * bfd.c: Likewise.
266 * config.bfd: Likewise.
267 * configure.ac: Likewise.
268 * doc/bfdint.texi: Likewise.
269 * ecoff.c: Likewise.
270 * targets.c: Likewise.
271 * libnlm.h: Delete.
272 * nlm-target.h: Delete.
273 * nlm.c: Delete.
274 * nlm32-alpha.c: Delete.
275 * nlm32-i386.c: Delete.
276 * nlm32-ppc.c: Delete.
277 * nlm32-sparc.c: Delete.
278 * nlm32.c: Delete.
279 * nlm64.c: Delete.
280 * nlmcode.h: Delete.
281 * nlmswap.h: Delete.
282 * Makefile.in: Regenerate.
283 * bfd-in2.h: Regenerate.
284 * configure: Regenerate.
285 * po/SRC-POTFILES.in: Regenerate.
286
287 2018-04-16 Alan Modra <amodra@gmail.com>
288
289 * archures.c: Remove tahoe support.
290 * config.bfd: Likewise.
291 * configure.ac: Likewise.
292 * hosts/tahoe.h: Delete.
293 * bfd-in2.h: Regenerate.
294 * configure: Regenerate.
295
296 2018-04-14 Alan Modra <amodra@gmail.com>
297
298 * elf-bfd.h (struct elf_backend_data): Add relropagesize.
299 * elfxx-target.h (ELF_RELROPAGESIZE): Provide default and
300 sanity test.
301 (elfNN_bed): Init relropagesize.
302 * bfd.c (bfd_emul_get_commonpagesize): Add boolean param to
303 select relropagesize.
304 * elf32-ppc.c (ELF_COMMONPAGESIZE): Define as 0x1000.
305 (ELF_RELROPAGESIZE): Define as ELF_MAXPAGESIZE.
306 (ELF_MINPAGESIZE): Don't define.
307 * elf64-ppc.c (ELF_COMMONPAGESIZE): Define as 0x1000.
308 (ELF_RELROPAGESIZE): Define as ELF_MAXPAGESIZE.
309 * bfd-in2.h: Regenerate.
310
311 2018-04-14 Alan Modra <amodra@gmail.com>
312
313 * elf32-ppc.c (ELF_MAXPAGESIZE, ELF_COMMONPAGESIZE): Don't depend
314 on __QNXTARGET__ define.
315
316 2018-04-14 Alan Modra <amodra@gmail.com>
317
318 * config.bfd: Add powerpc-*-lynxos* and powerpc-*-windiss*
319 to obsolete list.
320
321 2018-04-11 Alan Modra <amodra@gmail.com>
322
323 * aout-adobe.c: Delete.
324 * bout.c: Delete.
325 * coff-i860.c: Delete.
326 * coff-i960.c: Delete.
327 * cpu-i860.c: Delete.
328 * cpu-i960.c: Delete.
329 * elf32-i860.c: Delete.
330 * elf32-i960.c: Delete.
331 * hosts/i860mach3.h: Delete.
332 * Makefile.am: Remove i860, i960, bout, and adobe support.
333 * archures.c: Remove i860 and i960 support.
334 * coffcode.h: Likewise.
335 * reloc.c: Likewise.
336 * aoutx.h: Comment updates.
337 * archive.c: Remove BOUT and i960 support.
338 * bfd.c: Remove BOUT support.
339 * coffswap.h: Remove i960 support.
340 * config.bfd: Remove i860, i960 and adobe targets.
341 * configure.ac: Remove adode, bout, i860, i960, icoff targets.
342 * targets.c: Likewise.
343 * ieee.c: Remove i960 support.
344 * mach-o.c: Remove i860 support.
345 * Makefile.in: Regenerate.
346 * bfd-in2.h: Regenerate.
347 * configure: Regenerate.
348 * libbfd.h: Regenerate.
349 * po/SRC-POTFILES.in: Regenerate.
350
351 2018-04-09 Maciej W. Rozycki <macro@mips.com>
352
353 * elf64-mips.c (mips_elf64_write_rel): Handle a NULL BFD pointer
354 in the BFD symbol referred by the relocation.
355 (mips_elf64_write_rela): Likewise.
356
357 2018-04-09 Maciej W. Rozycki <macro@mips.com>
358
359 * elf64-mips.c (mips_elf64_slurp_one_reloc_table): Issue an
360 error for out-of-range `r_sym' values.
361
362 2018-04-09 Alan Modra <amodra@gmail.com>
363
364 * elf64-ppc.c (struct _ppc64_elf_section_data): Add has_pltcall field.
365 (struct ppc_link_hash_table): Add can_convert_all_inline_plt.
366 (ppc64_elf_check_relocs): Set has_pltcall.
367 (ppc64_elf_adjust_dynamic_symbol): Discard some PLT entries.
368 (ppc64_elf_inline_plt): New function.
369 (ppc64_elf_size_dynamic_sections): Discard some PLT entries for locals.
370 * elf64-ppc.h (ppc64_elf_inline_plt): Declare.
371 * elf32-ppc.c (has_pltcall): Define.
372 (struct ppc_elf_link_hash_table): Add can_convert_all_inline_plt.
373 (ppc_elf_check_relocs): Set has_pltcall.
374 (ppc_elf_inline_plt): New function.
375 (ppc_elf_adjust_dynamic_symbol): Discard some PLT entries.
376 (ppc_elf_size_dynamic_sections): Likewise.
377 * elf32-ppc.h (ppc_elf_inline_plt): Declare.
378
379 2018-04-09 Alan Modra <amodra@gmail.com>
380
381 * elf32-ppc.c (ppc_elf_howto_raw): Add PLTSEQ and PLTCALL howtos.
382 (is_plt_seq_reloc): New function.
383 (ppc_elf_check_relocs): Handle PLTSEQ and PLTCALL relocs.
384 (ppc_elf_tls_optimize): Handle inline plt call sequence.
385 (ppc_elf_relax_section): Handle PLTCALL reloc.
386 (ppc_elf_relocate_section): Nop out inline plt call sequence when
387 resolving locally.
388 * elf64-ppc.c (ppc64_elf_howto_raw): Add R_PPC64_PLTSEQ and
389 R_PPC64_PLTCALL entries. Comment R_PPC64_TOCSAVE.
390 (has_tls_get_addr_call): Correct comment.
391 (is_branch_reloc): Add PLTCALL.
392 (is_plt_seq_reloc): New function.
393 (ppc64_elf_check_relocs): Handle PLT16_LO_DS reloc. Set
394 has_tls_reloc for R_PPC64_TLSGD and R_PPC64_TLSLD. Create plt
395 entry for R_PPC64_PLTCALL.
396 (ppc64_elf_tls_optimize): Handle inline plt call sequence.
397 (ppc_type_of_stub): Handle PLTCALL reloc.
398 (toc_adjusting_stub_needed): Likewise.
399 (ppc64_elf_relocate_section): Set "can_plt_call" for PLTCALL
400 reloc insn. Nop out inline plt call sequence when resolving
401 locally. Handle __tls_get_addr inline plt call optimization.
402
403 2018-04-09 Alan Modra <amodra@gmail.com>
404
405 * elf64-ppc.c (LOCAL_PLT_ENTRY_SIZE): Define.
406 (struct ppc_stub_hash_entry): Add symtype field.
407 (PLT_KEEP): Define.
408 (struct ppc_link_hash_table): Add pltlocal and relpltlocal.
409 (create_linkage_sections): Create pltlocal and relpltlocal.
410 (ppc64_elf_check_relocs): Allow PLT relocs on local symbols.
411 Set PLT_KEEP.
412 (ppc64_elf_adjust_dynamic_symbol): Keep PLT entries for inline calls.
413 (allocate_dynrelocs): Allocate pltlocal and relpltlocal.
414 (ppc64_elf_size_dynamic_sections): Size pltlocal and relpltlocal.
415 Keep PLT entries for inline calls against locals.
416 (ppc_build_one_stub): Use pltlocal as appropriate.
417 (ppc_size_one_stub): Likewise.
418 (ppc64_elf_size_stubs): Set symtype.
419 (build_global_entry_stubs_and_plt): Init pltlocal and write
420 relpltlocal for globals.
421 (write_plt_relocs_for_local_syms): Likewise for local syms.
422 (ppc64_elf_relocate_section): Support PLT for local syms.
423 * elf32-ppc.c (PLT_KEEP): Define.
424 (struct ppc_elf_link_hash_table): Add pltlocal and relpltlocal.
425 (ppc_elf_create_glink): Create pltlocal and relpltlocal.
426 (ppc_elf_check_relocs): Allow PLT relocs on local symbols.
427 Set PLT_KEEP. Adjust update_local_sym_info call.
428 (ppc_elf_adjust_dynamic_symbol): Keep PLT entries for inline calls.
429 (allocate_dynrelocs): Allocate pltlocal and relpltlocal.
430 (ppc_elf_size_dynamic_sections): Size pltlocal and relpltlocal.
431 (ppc_elf_relocate_section): Support PLT16 relocs for local syms.
432 (write_global_sym_plt): Init pltlocal and write relpltlocal.
433 (ppc_finish_symbols): Likewise for locals.
434
435 2018-04-09 Alan Modra <amodra@gmail.com>
436
437 * elf64-ppc.c (ppc_build_one_stub): Move output of PLT relocs
438 for local symbols to..
439 (write_plt_relocs_for_local_syms): ..here. New function.
440 (ppc64_elf_finish_dynamic_symbol): Move output of PLT relocs for
441 global symbols to..
442 (build_global_entry_stubs_and_plt): ..here. Rename from
443 build_global_entry_stubs.
444 (ppc64_elf_build_stubs): Always call build_global_entry_stubs_and_plt.
445 Call write_plt_relocs_for_local_syms.
446 * elf32-ppc.c (get_sym_h): New function.
447 (ppc_elf_relax_section): Use get_sym_h.
448 (ppc_elf_relocate_section): Move output of PLT relocs and glink
449 stubs for local symbols to..
450 (ppc_finish_symbols): ..here. New function.
451 (ppc_elf_finish_dynamic_symbol): Move output of PLT relocs for
452 global syms to..
453 (write_global_sym_plt): ..here. New function.
454 * elf32-ppc.h (ppc_elf_modify_segment_map): Delete attribute.
455 (ppc_finish_symbols): Declare.
456
457 2018-04-09 Alan Modra <amodra@gmail.com>
458
459 * elf32-ppc.c (ppc_elf_check_relocs): Handle PLT16 relocs.
460 (ppc_elf_relocate_section): Likewise.
461 * elf64-ppc.c (ppc64_elf_check_relocs): Handle PLT16_LO_DS.
462 (ppc64_elf_relocate_section): Likewise. Correct PLT16
463 resolution to plt entry relative to toc pointer.
464
465 2018-04-09 Alan Modra <amodra@gmail.com>
466
467 * elf64-ppc.c (TLS_TLS, TLS_GD, TLS_LD, TLS_TPREL, TLS_DTPREL,
468 TLS_TPRELGD, TLS_EXPLICIT): Renumber. Test TLS_TLS throughout
469 file when other TLS flags are tested in a mask.
470 (TLS_MARK, NON_GOT): Define.
471 (PLT_IFUNC): Redefine, and test TLS_TLS throughout file as well.
472 (update_local_sym_info): Don't create got entry when NON_GOT.
473 (ppc64_elf_check_relocs): Pass NON_GOT with PLT_IFUNC.
474 Set TLS_MARK.
475 (get_tls_mask): Do toc lookup if tls_mask is just TLS_MARK.
476 (ppc64_elf_relocate_section): Likewise.
477 (ppc64_elf_tls_optimize): Don't attempt to optimize indirect
478 __tls_get_addr calls lacking a marker reloc.
479 * elf32-ppc.c (TLS_TLS, TLS_GD, TLS_LD, TLS_TPREL, TLS_DTPREL,
480 TLS_TPRELGD): Renumber. Update comment.
481 (TLS_MARK, NON_GOT): Define.
482 (PLT_IFUNC): Redefine, and test TLS_TLS throughout file as well.
483 (update_local_sym_info): Don't create got entry when NON_GOT.
484 (ppc_elf_check_relocs): Pass NON_GOT with PLT_IFUNC.
485 Set TLS_MARK.
486 (ppc_elf_tls_optimize): Don't attempt to optimize indirect
487 __tls_get_addr calls lacking a marker reloc.
488
489 2018-04-06 H.J. Lu <hongjiu.lu@intel.com>
490
491 * elf64-x86-64.c (elf_x86_64_info_to_howto): Don't mask out
492 R_X86_64_converted_reloc_bit.
493
494 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
495
496 PR gas/22318
497 * configure: Regenerated.
498
499 2018-04-05 Alan Modra <amodra@gmail.com>
500
501 * elf-hppa.h (elf_hppa_info_to_howto): Init howto to NULL.
502 (elf_hppa_info_to_howto_rel): Likewise.
503
504 2018-04-04 Maciej W. Rozycki <macro@mips.com>
505
506 * elf-hppa.h (elf_hppa_info_to_howto): Also return
507 unsuccessfully for unimplemented relocations.
508 (elf_hppa_info_to_howto_rel): Likewise.
509
510 2018-04-04 Maciej W. Rozycki <macro@mips.com>
511
512 * elf32-i860.c (lookup_howto): Add `abfd' parameter. Set the
513 `bfd_error_bad_value' error and call `_bfd_error_handler' on a
514 howto lookup failure.
515 (elf32_i860_reloc_type_lookup): Adjust `lookup_howto' call
516 accordingly.
517 (elf32_i860_info_to_howto_rela): Likewise.
518 (elf32_i860_relocate_splitn): Likewise.
519 (elf32_i860_relocate_pc16): Likewise.
520 (elf32_i860_relocate_pc26): Likewise.
521 (elf32_i860_relocate_section): Likewise.
522
523 2018-04-04 Maciej W. Rozycki <macro@mips.com>
524
525 * elf32-visium.c (visium_info_to_howto_rela): Correct the range
526 check for `visium_elf_howto_table' table access.
527
528 2018-04-04 Maciej W. Rozycki <macro@mips.com>
529
530 * elf32-iq2000.c (iq2000_info_to_howto_rela): Correct the range
531 check for `iq2000_elf_howto_table' table access.
532
533 2018-04-04 Maciej W. Rozycki <macro@mips.com>
534
535 * elf32-frv.c (frv_info_to_howto_rela): Correct the range check
536 for `elf32_frv_howto_table' table access.
537
538 2018-04-04 Maciej W. Rozycki <macro@mips.com>
539
540 * elf32-mips.c (mips_elf32_rtype_to_howto): Also return
541 unsuccessfully for placeholder howtos.
542 * elf64-mips.c (mips_elf64_rtype_to_howto): Likewise.
543 * elfn32-mips.c (mips_elf_n32_rtype_to_howto): Likewise.
544
545 2018-03-29 Maciej W. Rozycki <macro@mips.com>
546
547 * elf32-mips.c (mips_info_to_howto_rel): Remove the calls to
548 `_bfd_error_handler' and to set the `bfd_error_bad_value' error.
549
550 2018-03-28 Maciej W. Rozycki <macro@mips.com>
551
552 * elf-hppa.h (elf_hppa_info_to_howto_rel): Remove
553 ATTRIBUTE_UNUSED from `abfd'.
554
555 2018-03-28 Maciej W. Rozycki <macro@mips.com>
556
557 * elf-hppa.h (elf_hppa_info_to_howto_rel): Correct
558 `_bfd_error_handler' call formatting.
559
560 2018-03-28 Maciej W. Rozycki <macro@mips.com>
561
562 * elf32-mips.c (mips_info_to_howto_rel): Call
563 `mips_elf32_rtype_to_howto' directly rather than via
564 `->elf_backend_mips_rtype_to_howto'.
565
566 2018-03-28 Renlin Li <renlin.li@arm.com>
567
568 PR ld/22970
569 * elfnn-aarch64.c (IS_AARCH64_TLS_RELOC): Add cases for
570 BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12,
571 BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12_NC,
572 BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12,
573 BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12_NC,
574 BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12,
575 BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12_NC,
576 BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12,
577 BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12_NC.
578 (elfNN_aarch64_final_link_relocate): Support new relocations.
579 * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Support new
580 relocations.
581 (_bfd_aarch64_elf_resolve_relocation): Support new relocations.
582
583 2018-03-28 Renlin Li <renlin.li@arm.com>
584
585 PR ld/22970
586 * reloc.c: Add BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12
587 BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12_NC,
588 BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12,
589 BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12_NC,
590 BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12,
591 BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12_NC,
592 BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12,
593 BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12_NC,
594 BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12,
595 BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12_NC.
596 * elfnn-aarch64.c (elfNN_aarch64_howto_table): Add table entry for
597 TLSLE_LDST16_TPREL_LO12,
598 TLSLE_LDST16_TPREL_LO12_NC,
599 TLSLE_LDST32_TPREL_LO12,
600 TLSLE_LDST32_TPREL_LO12_NC,
601 TLSLE_LDST64_TPREL_LO12,
602 TLSLE_LDST64_TPREL_LO12_NC,
603 TLSLE_LDST8_TPREL_LO12,
604 TLSLE_LDST8_TPREL_LO12_NC.
605 * bfd-in2.h: Regenerated.
606 * libbfd.h: Regenerated.
607
608 2018-03-28 Eric Botcazou <ebotcazou@adacore.com>
609
610 PR ld/22972
611 * elfxx-sparc.c (struct _bfd_sparc_elf_link_hash_entry): Add new flag
612 has_old_style_got_reloc.
613 (_bfd_sparc_elf_check_relocs) <GOT relocations>: Set it for old-style
614 relocations. Fix a couple of long lines.
615 (_bfd_sparc_elf_relocate_section) <R_SPARC_GOTDATA_OP>: Do not generate
616 a R_SPARC_NONE for the GOT slot if the symbol is also subject to old-style
617 GOT relocations.
618
619 2018-03-25 H.J. Lu <hongjiu.lu@intel.com>
620
621 PR ld/23000
622 * elf64-x86-64.c (elf_x86_64_finish_dynamic_sections): Add
623 ENDBR64 to the TLSDESC PLT entry.
624
625 2018-03-21 Alan Modra <amodra@gmail.com>
626
627 * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Trim uninteresting
628 symbols. Use size_t counts. Delete redundant opd test.
629
630 2018-03-21 Alan Modra <amodra@gmail.com>
631
632 * elf32-ppc.c (ppc_elf_tls_optimize): Delete locsyms.
633
634 2018-03-21 Alan Modra <amodra@gmail.com>
635
636 * elf32-ppc.c (struct ppc_elf_link_hash_entry): Make tls_mask
637 field unsigned.
638 (update_local_sym_info): Likewise for local_got_tls_masks.
639 (ppc_elf_tls_optimize): Likewise for lgot_masks.
640
641 2018-03-21 Alan Modra <amodra@gmail.com>
642
643 * elf64-ppc.c (ppc_size_one_stub): Fix comment typo.
644 (ppc64_elf_layout_multitoc): Allocate relocs for tprel as we
645 do in size_dynamic_sections.
646
647 2018-03-21 Alan Modra <amodra@gmail.com>
648
649 * elf64-ppc.c (ppc64_elf_relocate_section): Don't access rel[1]
650 without first checking array bounds.
651 * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
652
653 2018-03-20 H.J. Lu <hongjiu.lu@intel.com>
654
655 PR ld/22983
656 * elflink.c (bfd_elf_link_mark_dynamic_symbol): Set
657 non_ir_ref_dynamic if a symbol is made dynamic by --dynamic-list.
658
659 2018-03-19 Nick Clifton <nickc@redhat.com>
660
661 * po/es.po: Updated Spanish translation.
662
663 2018-03-15 Max Filippov <jcmvbkbc@gmail.com>
664
665 * elf32-xtensa.c (xlate_map_entry): Change types of address
666 fields from 'unsigned' to 'bfd_vma'.
667 (xlate_offset_with_removed_text): Use struct xlate_map_entry as
668 the key argument to bsearch. Allow offsets past the end of a
669 section, use the last map entry for translation of such offsets.
670
671 2018-03-15 Kuan-Lin Chen <kuanlinchentw@gmail.com>
672
673 * elf32-nds32.c (nds32_elf_ex9_build_hash_table): Removed.
674 Not support the target feature.
675 (nds32_elf_ex9_itb_base): Likewise.
676 (nds32_elf_ex9_import_table): Likewise.
677 (nds32_elf_ex9_finish): Likewise.
678 (nds32_elf_ex9_reloc_jmp): Likewise.
679 (nds32_elf_get_insn_with_reg): Likewise.
680 (nds32_get_local_syms): Likewise.
681 (nds32_elf_ex9_replace_instruction): Likewise.
682 (nds32_elf_ifc_calc): Likewise.
683 (nds32_elf_ifc_finish): Likewise.
684 (nds32_elf_ifc_replace): Likewise.
685 (nds32_elf_ifc_reloc): Likewise.
686
687 2018-03-14 Alan Modra <amodra@gmail.com>
688
689 * elf64-ppc.c (sfpr_define): Adjust for stub_sec size having
690 sfpr size added before defining alias symbols.
691 (ppc64_elf_build_stubs): Add stub section padding before
692 copying sfpr contents and defining save/restore alias symbols.
693
694 2018-03-14 H.J. Lu <hongjiu.lu@intel.com>
695
696 PR ld/20882
697 * elflink.c (elf_gc_mark_debug_section): Also check the local
698 debug definition section.
699
700 2018-03-13 Nick Clifton <nickc@redhat.com>
701
702 PR 22113
703 * pei-x86_64.c (pex64_get_unwind_info): Change to a boolean
704 function. Add an end address parameter. Check access of the data
705 pointer to make sure that they do not extend beyond the end
706 address. Return FALSE if any check fails. Add the end address
707 pointer to the ui structure.
708 (pex64_xdata_print_uwd_codes): Check accesses of the raw unwind
709 codes to make sure that they do not extend beyond the end address
710 pointer. Print an error message and return immediately if any
711 check fails.
712
713 2018-03-09 Nick Clifton <nickc@redhat.com>
714
715 * elf64-s390.c (elf_s390_relocate_section): Move check for
716 relocations against non-allocated sections to before the code that
717 handles ifunc relocations.
718 * elf32-s390.c (elf_s390_relocate_section): Likewise.
719 * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Treat
720 relocs against IFUNC symbols in non-allocated sections as relocs
721 against FUNC symbols.
722 * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise.
723
724 2018-03-08 H.J. Lu <hongjiu.lu@intel.com>
725
726 PR ld/22929
727 * elf32-i386.c (elf_i386_relocate_section): Treat relocation
728 against IFUNC symbol in SHT_NOTE section without SHF_ALLOC as
729 relocation against FUNC symbol.
730 * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.
731
732 2018-03-07 Renlin Li <renlin.li@arm.com>
733
734 PR ld/20402
735 * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Check absolute
736 symbol, and don't emit relocation in specific case.
737
738 2018-03-07 Alan Modra <amodra@gmail.com>
739
740 * elf64-mips.c (mips_elf64_rtype_to_howto): Return NULL on error.
741 (mips_elf64_slurp_one_reloc_table): Pass on error.
742
743 2018-03-03 James Cowgill <james.cowgill@mips.com>
744 Maciej W. Rozycki <macro@mips.com>
745
746 PR ld/21900
747 * elfxx-mips.c (mips_elf_calculate_relocation): Only return
748 after calling `undefined_symbol' hook if this is an error
749 condition. Assume the value of 0 for the symbol requested
750 otherwise.
751
752 2018-03-02 Jim Wilson <jimw@sifive.com>
753
754 PR 22903
755 * elfnn-aarch64.c (_bfd_aarch64_resize_stubs): Add 8 bytes for branch
756 and nop instead of 4.
757 (elfNN_arch64_build_stubs): Add nop after branch. Increase size by
758 8 instead of 4.
759
760 2018-03-01 Jim Wilson <jimw@sifive.com>
761
762 PR 22756
763 * elfnn-riscv.c (riscv_relax_delete_bytes): When adjust st_size, use
764 else if instead of if.
765
766 2018-03-01 Alan Modra <amodra@gmail.com>
767
768 * elf32-ft32.c (ft32_info_to_howto_rela): Correct range test.
769
770 2018-02-28 Alan Modra <amodra@gmail.com>
771
772 PR 22887
773 * aoutx.h (swap_std_reloc_in): Correct r_index bound check.
774
775 2018-02-28 Nick Clifton <nickc@redhat.com>
776
777 PR 22895
778 PR 22893
779 * dwarf2.c (read_n_bytes): Replace size parameter with dwarf_block
780 pointer. Drop unused abfd parameter. Check the size of the block
781 before initialising the data field. Return the end pointer if the
782 size is invalid.
783 (read_attribute_value): Adjust invocations of read_n_bytes.
784
785 PR 22894
786 * dwarf1.c (parse_die): Check the length of form blocks before
787 advancing the data pointer.
788
789 2018-02-28 Alan Modra <amodra@gmail.com>
790
791 PR 22887
792 * aoutx.h (translate_symbol_table): Print an error message and set
793 bfd_error on finding an invalid name string offset.
794
795 2018-02-27 H.J. Lu <hongjiu.lu@intel.com>
796
797 * config.in: Regenerated.
798 * configure: Likewise.
799 * configure.ac: Add --enable-separate-code.
800 (DEFAULT_LD_Z_SEPARATE_CODE): New AC_DEFINE_UNQUOTED. Default
801 to 1 for Linux/x86 targets,
802 * elf64-x86-64.c (ELF_MAXPAGESIZE): Set to 0x1000 if
803 DEFAULT_LD_Z_SEPARATE_CODE is 1.
804
805 2018-02-27 Nick Clifton <nickc@redhat.com>
806
807 * aout-cris.c (swap_ext_reloc_out): Standadize error/warning
808 message.
809 * elf-hppa.h (elf_hppa_info_to_howto_rel): Likewise.
810 * elf32-i386.c (elf_i386_reloc_type_lookup): Likewise.
811 * elf32-xtensa.c (elf_xtensa_reloc_type_lookup): Likewise.
812 * elf64-ppc.c (ppc64_elf_reloc_type_lookup): Likewise.
813 * elf64-s390.c (elf_s390_reloc_type_lookup): Likewise.
814 * elf64-sh64.c (sh_elf64_info_to_howto): Likewise.
815 * elfxx-ia64.c (ia64_elf_reloc_type_lookup): Likewise.
816 * elfxx-sparc.c (_bfd_sparc_elf_reloc_type_lookup): Likewise.
817 * elfxx-tilegx.c (tilegx_reloc_type_lookup): Likewise.
818
819 PR 22875
820 * elf-bfd.h (struct elf_backend_data): Change the return type of
821 the elf_info_to_howto and elf_info_to_howto_rel function pointers
822 to bfd_boolean.
823 * elfcode.h (elf_slurp_reloc_table_from_section): Check the return
824 value from the info_to_howto function and fail if that function
825 failed.
826 * elf32-h8300.c (elf32_h8_relocate_section): Check return value
827 from the info_to_howto function.
828 (elf32_h8_relax_section): Likewise.
829 * elf32-lm32.c (lm32_elf_relocate_section): Likewise.
830 * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Likewise.
831 * elf32-score.c (s3_bfd_score_elf_relocate_section): Likewise.
832 * elf32-score7.c (s7_bfd_score_elf_relocate_section): Likewise.
833 * elf32-tic6x.c (elf32_tic6x_relocate_section): Likewise.
834 * elf64-ia64-vms.c (elf64_ia64_relocate_section): Likewise.
835 * elf64-sparc.c (elf64_sparc_slurp_one_reloc_table): Likewise.
836 * elf64-x86-64.c (elf_x86_64_tls_transition): Likewise.
837 * elfnn-ia64.c (elfNN_ia64_relocate_section): Likewise.
838 * elfnn-riscv.c (riscv_elf_check_relocs): Likewise.
839 (riscv_elf_relocate_section): Likewise.
840 * elf-hppa.h (elf_hppa_info_to_howto): Change return type to
841 bfd_boolean. Issue an error message, set an error value and
842 return FALSE if the reloc is not recognized.
843 (elf_hppa_info_to_howto_rel): Likewise.
844 * elf-m10200.c (mn10200_info_to_howto): Likewise.
845 * elf-m10300.c (mn10300_info_to_howto): Likewise.
846 * elf.c (_bfd_elf_no_info_to_howto): Likewise.
847 * elf32-arc.c (arc_info_to_howto_rel): Likewise.
848 * elf32-arm.c (elf32_arm_info_to_howto): Likewise.
849 * elf32-avr.c (avr_info_to_howto_rela): Likewise.
850 * elf32-bfin.c (bfin_info_to_howto): Likewise.
851 * elf32-cr16.c (elf_cr16_info_to_howto): Likewise.
852 * elf32-cr16c.c (elf_cr16c_info_to_howto): Likewise.
853 * elf32-cris.c (elf_cr16c_info_to_howto_rel)
854 (cris_info_to_howto_rela): Likewise.
855 * elf32-crx.c (elf_crx_info_to_howto): Likewise.
856 * elf32-d10v.c (d10v_info_to_howto_rel): Likewise.
857 * elf32-d30v.c (d30v_info_to_howto_rel, d30v_info_to_howto_rela):
858 Likewise.
859 * elf32-dlx.c (dlx_rtype_to_howto, elf32_dlx_info_to_howto)
860 (elf32_dlx_info_to_howto_rel): Likewise.
861 * elf32-epiphany.c (epiphany_info_to_howto_rela): Likewise.
862 * elf32-fr30.c (fr30_info_to_howto_rela): Likewise.
863 * elf32-frv.c (frv_info_to_howto_rela)
864 (frvfdpic_info_to_howto_rel): Likewise.
865 * elf32-ft32.c (ft32_info_to_howto_rela): Likewise.
866 * elf32-gen.c (elf_generic_info_to_howto)
867 (elf_generic_info_to_howto_rel): Likewise.
868 * elf32-h8300.c (elf32_h8_info_to_howto)
869 (elf32_h8_info_to_howto_rel): Likewise.
870 * elf32-i370.c (i370_elf_info_to_howto): Likewise.
871 * elf32-i386.c (elf_i386_reloc_type_lookup)
872 (elf_i386_rtype_to_howto, elf_i386_info_to_howto_rel): Likewise.
873 * elf32-i860.c (lookup_howto, elf32_i860_info_to_howto_rela):
874 Likewise.
875 * elf32-i960.c (elf32_i960_info_to_howto_rel): Likewise.
876 * elf32-ip2k.c (ip2k_info_to_howto_rela): Likewise.
877 * elf32-iq2000.c (iq2000_info_to_howto_rela): Likewise.
878 * elf32-lm32.c (lm32_info_to_howto_rela): Likewise.
879 * elf32-m32c.c (m32c_info_to_howto_rela): Likewise.
880 * elf32-m32r.c (m32r_info_to_howto_rel, m32r_info_to_howto):
881 Likewise.
882 * elf32-m68hc11.c (m68hc11_info_to_howto_rel): Likewise.
883 * elf32-m68hc12.c (m68hc11_info_to_howto_rel): Likewise.
884 * elf32-m68k.c (rtype_to_howto): Likewise.
885 * elf32-mcore.c (mcore_elf_info_to_howto): Likewise.
886 * elf32-mep.c (mep_info_to_howto_rela): Likewise.
887 * elf32-metag.c (metag_info_to_howto_rela): Likewise.
888 * elf32-microblaze.c (microblaze_elf_info_to_howto): Likewise.
889 * elf32-mips.c (mips_info_to_howto_rel, mips_info_to_howto_rela):
890 Likewise.
891 * elf32-moxie.c (moxie_info_to_howto_rela): Likewise.
892 * elf32-msp430.c (msp430_info_to_howto_rela): Likewise.
893 * elf32-mt.c (mt_info_to_howto_rela): Likewise.
894 * elf32-nds32.c (nds32_info_to_howto_rel, nds32_info_to_howto):
895 Likewise.
896 * elf32-nios2.c (nios2_elf32_info_to_howto): Likewise.
897 * elf32-or1k.c (or1k_info_to_howto_rela): Likewise.
898 * elf32-pj.c (pj_elf_info_to_howto): Likewise.
899 * elf32-ppc.c (ppc_elf_info_to_howto): Likewise.
900 * elf32-pru.c (pru_elf32_info_to_howto): Likewise.
901 * elf32-rl78.c (rl78_info_to_howto_rela): Likewise.
902 * elf32-rx.c (rx_info_to_howto_rela): Likewise.
903 * elf32-s390.c (elf_s390_info_to_howto): Likewise.
904 * elf32-score.c (s3_bfd_score_info_to_howto)
905 (_bfd_score_info_to_howto): Likewise.
906 * elf32-score7.c (s7_bfd_score_info_to_howto): Likewise.
907 * elf32-sh.c (sh_elf_info_to_howto): Likewise.
908 * elf32-spu.c (spu_elf_info_to_howto): Likewise.
909 * elf32-tic6x.c (elf32_tic6x_info_to_howto)
910 (elf32_tic6x_info_to_howto_rel): Likewise.
911 * elf32-tilepro.c (tilepro_info_to_howto_rela): Likewise.
912 * elf32-v850.c (v850_elf_info_to_howto_rel)
913 (v850_elf_info_to_howto_rela, v800_elf_info_to_howto): Likewise.
914 * elf32-vax.c (rtype_to_howto): Likewise.
915 * elf32-visium.c (visium_info_to_howto_rela): Likewise.
916 * elf32-wasm32.c (elf32_wasm32_rtype_to_howto)
917 (elf32_wasm32_info_to_howto_rela): Likewise.
918 * elf32-xc16x.c (elf32_xc16x_info_to_howto): Likewise.
919 * elf32-xgate.c (xgate_info_to_howto_rel): Likewise.
920 * elf32-xstormy16.c (xstormy16_info_to_howto_rela): Likewise.
921 * elf32-xtensa.c (elf_xtensa_info_to_howto_rela): Likewise.
922 * elf64-alpha.c (elf64_alpha_info_to_howto): Likewise.
923 * elf64-gen.c (elf_generic_info_to_howto)
924 (elf_generic_info_to_howto_rel): Likewise.
925 * elf64-ia64-vms.c (elf64_ia64_info_to_howto): Likewise.
926 * elf64-mips.c (mips_elf64_info_to_howto_rela): Likewise.
927 * elf64-mmix.c (mmix_info_to_howto_rela): Likewise.
928 * elf64-ppc.c (ppc64_elf_info_to_howto): Likewise.
929 * elf64-s390.c (elf_s390_reloc_type_lookup): Likewise.
930 * elf64-sh64.c (elf_s390_info_to_howto, sh_elf64_info_to_howto):
931 Likewise.
932 * elf64-x86-64.c (elf_x86_64_info_to_howto): Likewise.
933 * elfn32-mips.c (mips_info_to_howto_rel, mips_info_to_howto_rela):
934 Likewise.
935 * elfnn-aarch64.c (elfNN_aarch64_info_to_howto): Likewise.
936 * elfnn-ia64.c (elfNN_ia64_info_to_howto): Likewise.
937 * elfnn-riscv.c (riscv_info_to_howto_rela): Likewise.
938 * elfxx-ia64.c (ia64_elf_reloc_type_lookup): Likewise.
939 * elfxx-sparc.c (_bfd_sparc_elf_info_to_howto): Likewise.
940 * elfxx-tilegx.c (tilegx_info_to_howto_rela): Likewise.
941 * elf32-score.h (s7_bfd_score_info_to_howto): Update prototype.
942 * elfxx-sparc.h (_bfd_sparc_elf_info_to_howto): Update prototype.
943 * elfxx-tilegx.h (tilegx_info_to_howto_rela): Update prototype.
944 * elfxx-target.h (elf_info_to_howto, elf_info_to_howto_rel):
945 Default to NULL.
946
947 2018-02-26 Jim Wilson <jimw@sifive.com>
948 Stephan Schreiber <info@fs-driver.org>
949
950 PR 15904
951 * elfnn-ia64.c (elfNN_ia64_relax_section): After ia64_elf_relax_brl
952 call, set changed_contents and changed_relocs. Likewise after
953 successful ia64_elf_relax_br call.
954
955 2018-02-26 Alan Modra <amodra@gmail.com>
956
957 * elf.c (assign_file_positions_except_relocs): Don't segfault
958 when actual number of phdrs is less than allocated. Delete
959 outdated comment. Formatting.
960
961 2018-02-26 Alan Modra <amodra@gmail.com>
962
963 * elf-m10300.c, * elf-s390-common.c, * elf32-arc.c, * elf32-cris.c,
964 * elf32-dlx.c, * elf32-frv.c, * elf32-i370.c, * elf32-lm32.c,
965 * elf32-m32r.c, * elf32-m68hc1x.c, * elf32-m68k.c,
966 * elf32-microblaze.c, * elf32-msp430.c, * elf32-nds32.c,
967 * elf32-nios2.c, * elf32-or1k.c, * elf32-rl78.c, * elf32-rx.c,
968 * elf32-score.c, * elf32-score7.c, * elf32-sh-symbian.c,
969 * elf32-sh.c, * elf32-spu.c, * elf32-v850.c, * elf32-xtensa.c,
970 * elf64-alpha.c, * elf64-ia64-vms.c, * elf64-mmix.c,
971 * elf64-sh64.c, * elf64-sparc.c, * elfnn-ia64.c, * elfxx-tilegx.c,
972 * mmo.c, * osf-core.c, * srec.c, * vms-alpha.c: Standardize
973 error/warning messages.
974
975 2018-02-26 Alan Modra <amodra@gmail.com>
976
977 * archive.c, * bfd.c, * linker.c, * reloc.c, * stabs.c,
978 * syms.c: Standardize error/warning messages.
979
980 2018-02-26 Alan Modra <amodra@gmail.com>
981
982 * aout-adobe.c, * aout-cris.c, * i386linux.c, * m68klinux.c,
983 * sparclinux.c, * coff-alpha.c, * coff-arm.c, * coff-mcore.c,
984 * coffcode.h, * coffgen.c, * cofflink.c, * ecoff.c, * pe-mips.c,
985 * peXXigen.c, * peicode.h: Standardize error/warning messages.
986
987 2018-02-26 Alan Modra <amodra@gmail.com>
988
989 * elf32-arm.c, * elfnn-aarch64.c: Standardize error/warning messages.
990
991 2018-02-26 Alan Modra <amodra@gmail.com>
992
993 * elfxx-mips.c: Standardize error/warning messages.
994
995 2018-02-26 Alan Modra <amodra@gmail.com>
996
997 * dwarf2.c, * elf-attrs.c, * elf-eh-frame.c, * elf.c, * elf32-gen.c,
998 * elflink.c: Standardize error/warning messages. Replace use of
999 linker callback einfo with _bfd_error_handler when possible.
1000
1001 2018-02-26 Alan Modra <amodra@gmail.com>
1002
1003 * aoutx.h, * coff-alpha.c, * coff-i860.c, * coff-m68k.c,
1004 * coff-mcore.c, * coff-ppc.c, * coff-rs6000.c, * coff-sh.c,
1005 * coff-tic4x.c, * coff-tic54x.c, * coff-tic80.c, * coff-w65.c,
1006 * elf-bfd.h, * elf-m10300.c, * elf.c, * elf32-avr.c, * elf32-bfin.c,
1007 * elf32-cr16.c, * elf32-cr16c.c, * elf32-cris.c, * elf32-crx.c,
1008 * elf32-d10v.c, * elf32-d30v.c, * elf32-dlx.c, * elf32-epiphany.c,
1009 * elf32-fr30.c, * elf32-frv.c, * elf32-i370.c, * elf32-i386.c,
1010 * elf32-i960.c, * elf32-ip2k.c, * elf32-iq2000.c, * elf32-lm32.c,
1011 * elf32-m32c.c, * elf32-m32r.c, * elf32-m68hc11.c, * elf32-m68hc12.c,
1012 * elf32-m68k.c, * elf32-mcore.c, * elf32-mep.c, * elf32-metag.c,
1013 * elf32-microblaze.c, * elf32-mips.c, * elf32-moxie.c,
1014 * elf32-msp430.c, * elf32-mt.c, * elf32-nds32.c, * elf32-or1k.c,
1015 * elf32-pj.c, * elf32-ppc.c, * elf32-rl78.c, * elf32-rx.c,
1016 * elf32-s390.c, * elf32-sh.c, * elf32-spu.c, * elf32-tic6x.c,
1017 * elf32-v850.c, * elf32-vax.c, * elf32-visium.c, * elf32-wasm32.c,
1018 * elf32-xgate.c, * elf32-xtensa.c, * elf64-alpha.c,
1019 * elf64-ia64-vms.c, * elf64-mips.c, * elf64-mmix.c,
1020 * elf64-ppc.c, * elf64-s390.c, * elf64-sparc.c, * elf64-x86-64.c,
1021 * elfn32-mips.c, * elfnn-aarch64.c, * elfnn-ia64.c,
1022 * elfnn-riscv.c, * elfxx-mips.c, * elfxx-riscv.c, * elfxx-riscv.h,
1023 * elfxx-sparc.c, * elfxx-sparc.h, * reloc.c: Standardize
1024 unrecognized/unsupported reloc message.
1025
1026 2018-02-26 Alan Modra <amodra@gmail.com>
1027
1028 * elf32-ppc.c: Standardize error/warning messages. Use
1029 _bfd_error_handler rather than einfo when einfo features not used.
1030 * elf64-ppc.c: Likewise.
1031
1032 2018-02-23 Alan Modra <amodra@gmail.com>
1033
1034 PR 22881
1035 * elf.c (assign_file_positions_for_non_load_sections): Remove RELRO
1036 segment if no matching LOAD segment.
1037
1038 2018-02-23 Kuan-Lin Chen <kuanlinchentw@gmail.com>
1039
1040 * elf32-nds32.h: Define mask for ict_model.
1041
1042 2018-02-20 Jason Duerstock <jason.duerstock@gmail.com>
1043
1044 * elfnn-ia64.c (elf_backend_can_gc_sections): Enable.
1045
1046 2018-02-19 Maciej W. Rozycki <macro@mips.com>
1047
1048 Revert
1049 2018-01-12 Vlad Ivanov <vlad@ivanov.email>
1050
1051 * elfxx-mips.c (_bfd_mips_elf_final_link): Notify user when
1052 .reginfo section has wrong size.
1053
1054 2018-02-19 Maciej W. Rozycki <macro@mips.com>
1055
1056 * elfxx-mips.c (_bfd_mips_elf_always_size_sections): Set
1057 SEC_FIXED_SIZE and SEC_HAS_CONTENTS flags for `.reginfo' and
1058 `.MIPS.abiflags' sections.
1059 (_bfd_mips_elf_final_link): Avoid reading beyond `.reginfo'
1060 section's end.
1061
1062 2018-02-19 Maciej W. Rozycki <macro@mips.com>
1063
1064 * section.c (SEC_FIXED_SIZE): New macro.
1065 * bfd-in2.h: Regenerate.
1066
1067 2018-02-19 Maciej W. Rozycki <macro@mips.com>
1068
1069 * section.c (SEC_HAS_GOT_REF): Remove macro.
1070 * bfd-in2.h: Regenerate.
1071
1072 2018-02-19 Alan Modra <amodra@gmail.com>
1073
1074 * elf-attrs.c (_bfd_elf_parse_attributes): Correct _bfd_error_handler
1075 arguments.
1076 * elfxx-mips.c (_bfd_mips_elf_final_link): Likewise.
1077 * elfnn-riscv.c (_bfd_riscv_relax_align): Likewise.
1078 (_bfd_riscv_relax_pc): Likewise and fix typos.
1079 * libbfd-in.h (_bfd_error_handler): Add attribute printf.
1080 * libbfd.h: Regenerate.
1081
1082 2018-02-19 Alan Modra <amodra@gmail.com>
1083
1084 * dwarf2.c (read_section): Don't use 'll' format modifier.
1085 (find_abstract_instance): Likewise.
1086 * elfcore.h (elf_core_file_p): Likewise.
1087
1088 2018-02-19 Alan Modra <amodra@gmail.com>
1089
1090 * bfd-in.h: Include inttypes.h or if not available define
1091 PRId64, PRIu64 and PRIx64.
1092 * bfd.c (_bfd_doprnt, _bfd_doprnt_scan): Remove support for L
1093 modifier to print bfd_vma.
1094 * coff-arm.c, * coff-mcore.c, * coff-ppc.c, * coff-rs6000.c,
1095 * coff-sh.c, * coff-tic80.c, * coffcode.h, * coffgen.c, * cofflink.c,
1096 * compress.c, * dwarf2.c, * elf-m10300.c, * elf.c, * elf32-arc.c,
1097 * elf32-arm.c, * elf32-bfin.c, * elf32-cris.c, * elf32-hppa.c,
1098 * elf32-i386.c, * elf32-ip2k.c, * elf32-lm32.c, * elf32-m32r.c,
1099 * elf32-m68k.c, * elf32-metag.c, * elf32-nds32.c, * elf32-nios2.c,
1100 * elf32-ppc.c, * elf32-rx.c, * elf32-s390.c, * elf32-score.c,
1101 * elf32-score7.c, * elf32-sh.c, * elf32-sh64.c, * elf32-spu.c,
1102 * elf32-tic6x.c, * elf32-tilepro.c, * elf32-v850.c, * elf32-vax.c,
1103 * elf32-xtensa.c, * elf64-alpha.c, * elf64-hppa.c, * elf64-ia64-vms.c,
1104 * elf64-mmix.c, * elf64-s390.c, * elf64-sh64.c, * elf64-x86-64.c,
1105 * elfcode.h, * elfcore.h, * elflink.c, * elfnn-aarch64.c,
1106 * elfnn-ia64.c, * elfnn-riscv.c, * elfxx-mips.c, * elfxx-sparc.c,
1107 * elfxx-tilegx.c, * ieee.c, * ihex.c, * mach-o.c, * merge.c, * mmo.c,
1108 * peXXigen.c, * xcofflink.c: Replace use of Lx modifier with PRIx64,
1109 and cast input to uint64_t, and similarly for Ld and Lu.
1110 * bfd-in2.h: Regenerate.
1111
1112 2018-02-19 Alan Modra <amodra@gmail.com>
1113
1114 * elf32-arm.c, * elf32-hppa.c, * elf32-lm32.c, * elf32-m32r.c,
1115 * elf32-metag.c, * elf32-nds32.c, * elf32-or1k.c, * elf32-ppc.c,
1116 * elf32-s390.c, * elf32-sh.c, * elf32-tic6x.c, * elf32-tilepro.c,
1117 * elf64-ppc.c, * elf64-s390.c, * elflink.c, * elfnn-aarch64.c,
1118 * elfnn-riscv.c, * elfxx-sparc.c, * elfxx-tilegx.c, * elfxx-x86.c,
1119 * reloc.c: Replace use of %R and %T in format strings passed to
1120 einfo and friends by %pR and %pT.
1121
1122 2018-02-19 Alan Modra <amodra@gmail.com>
1123
1124 * bfd.c (_bfd_doprnt, _bfd_doprnt_scan): Handle %pA and %pB in place
1125 of %A and %B.
1126 * aout-adobe.c: Update all messages using %A and %B.
1127 * aout-cris.c: Likewise.
1128 * aoutx.h: Likewise.
1129 * archive.c: Likewise.
1130 * binary.c: Likewise.
1131 * cache.c: Likewise.
1132 * coff-alpha.c: Likewise.
1133 * coff-arm.c: Likewise.
1134 * coff-i860.c: Likewise.
1135 * coff-mcore.c: Likewise.
1136 * coff-ppc.c: Likewise.
1137 * coff-rs6000.c: Likewise.
1138 * coff-sh.c: Likewise.
1139 * coff-tic4x.c: Likewise.
1140 * coff-tic54x.c: Likewise.
1141 * coff-tic80.c: Likewise.
1142 * coff64-rs6000.c: Likewise.
1143 * coffcode.h: Likewise.
1144 * coffgen.c: Likewise.
1145 * cofflink.c: Likewise.
1146 * coffswap.h: Likewise.
1147 * compress.c: Likewise.
1148 * cpu-arm.c: Likewise.
1149 * ecoff.c: Likewise.
1150 * elf-attrs.c: Likewise.
1151 * elf-eh-frame.c: Likewise.
1152 * elf-ifunc.c: Likewise.
1153 * elf-m10300.c: Likewise.
1154 * elf-properties.c: Likewise.
1155 * elf-s390-common.c: Likewise.
1156 * elf.c: Likewise.
1157 * elf32-arc.c: Likewise.
1158 * elf32-arm.c: Likewise.
1159 * elf32-avr.c: Likewise.
1160 * elf32-bfin.c: Likewise.
1161 * elf32-cr16.c: Likewise.
1162 * elf32-cr16c.c: Likewise.
1163 * elf32-cris.c: Likewise.
1164 * elf32-crx.c: Likewise.
1165 * elf32-d10v.c: Likewise.
1166 * elf32-d30v.c: Likewise.
1167 * elf32-epiphany.c: Likewise.
1168 * elf32-fr30.c: Likewise.
1169 * elf32-frv.c: Likewise.
1170 * elf32-gen.c: Likewise.
1171 * elf32-hppa.c: Likewise.
1172 * elf32-i370.c: Likewise.
1173 * elf32-i386.c: Likewise.
1174 * elf32-i960.c: Likewise.
1175 * elf32-ip2k.c: Likewise.
1176 * elf32-iq2000.c: Likewise.
1177 * elf32-lm32.c: Likewise.
1178 * elf32-m32c.c: Likewise.
1179 * elf32-m32r.c: Likewise.
1180 * elf32-m68hc11.c: Likewise.
1181 * elf32-m68hc12.c: Likewise.
1182 * elf32-m68hc1x.c: Likewise.
1183 * elf32-m68k.c: Likewise.
1184 * elf32-mcore.c: Likewise.
1185 * elf32-mep.c: Likewise.
1186 * elf32-metag.c: Likewise.
1187 * elf32-microblaze.c: Likewise.
1188 * elf32-moxie.c: Likewise.
1189 * elf32-msp430.c: Likewise.
1190 * elf32-mt.c: Likewise.
1191 * elf32-nds32.c: Likewise.
1192 * elf32-nios2.c: Likewise.
1193 * elf32-or1k.c: Likewise.
1194 * elf32-pj.c: Likewise.
1195 * elf32-ppc.c: Likewise.
1196 * elf32-rl78.c: Likewise.
1197 * elf32-rx.c: Likewise.
1198 * elf32-s390.c: Likewise.
1199 * elf32-score.c: Likewise.
1200 * elf32-score7.c: Likewise.
1201 * elf32-sh-symbian.c: Likewise.
1202 * elf32-sh.c: Likewise.
1203 * elf32-sh64.c: Likewise.
1204 * elf32-sparc.c: Likewise.
1205 * elf32-spu.c: Likewise.
1206 * elf32-tic6x.c: Likewise.
1207 * elf32-tilepro.c: Likewise.
1208 * elf32-v850.c: Likewise.
1209 * elf32-vax.c: Likewise.
1210 * elf32-visium.c: Likewise.
1211 * elf32-wasm32.c: Likewise.
1212 * elf32-xgate.c: Likewise.
1213 * elf32-xtensa.c: Likewise.
1214 * elf64-alpha.c: Likewise.
1215 * elf64-gen.c: Likewise.
1216 * elf64-hppa.c: Likewise.
1217 * elf64-ia64-vms.c: Likewise.
1218 * elf64-mmix.c: Likewise.
1219 * elf64-ppc.c: Likewise.
1220 * elf64-s390.c: Likewise.
1221 * elf64-sh64.c: Likewise.
1222 * elf64-sparc.c: Likewise.
1223 * elf64-x86-64.c: Likewise.
1224 * elfcode.h: Likewise.
1225 * elfcore.h: Likewise.
1226 * elflink.c: Likewise.
1227 * elfnn-aarch64.c: Likewise.
1228 * elfnn-ia64.c: Likewise.
1229 * elfnn-riscv.c: Likewise.
1230 * elfxx-mips.c: Likewise.
1231 * elfxx-sparc.c: Likewise.
1232 * elfxx-tilegx.c: Likewise.
1233 * elfxx-x86.c: Likewise.
1234 * hpux-core.c: Likewise.
1235 * ieee.c: Likewise.
1236 * ihex.c: Likewise.
1237 * libbfd.c: Likewise.
1238 * linker.c: Likewise.
1239 * mach-o.c: Likewise.
1240 * merge.c: Likewise.
1241 * mmo.c: Likewise.
1242 * oasys.c: Likewise.
1243 * pdp11.c: Likewise.
1244 * pe-mips.c: Likewise.
1245 * peXXigen.c: Likewise.
1246 * peicode.h: Likewise.
1247 * reloc.c: Likewise.
1248 * rs6000-core.c: Likewise.
1249 * srec.c: Likewise.
1250 * stabs.c: Likewise.
1251 * vms-alpha.c: Likewise.
1252 * xcofflink.c: Likewise.
1253
1254 2018-02-19 Alan Modra <amodra@gmail.com>
1255
1256 PR 22845
1257 * elf.c (IS_TBSS): Define.
1258 (_bfd_elf_map_sections_to_segments): Use IS_TBSS.
1259 (assign_file_positions_for_non_load_sections): Revert last change.
1260 Properly calculate load segment limits to compare against relro limits.
1261
1262 2018-02-17 Alan Modra <amodra@gmail.com>
1263
1264 PR 22845
1265 * elf.c (assign_file_positions_for_non_load_sections): Ignore
1266 degenerate zero size PT_LOAD segments when finding one overlapping
1267 the PT_GNU_RELRO segment.
1268
1269 2018-02-16 Alan Modra <amodra@gmail.com>
1270
1271 * libbfd.c (_bfd_bool_bfd_false_error): Rename from bfd_false.
1272 (_bfd_bool_bfd_true): Rename from bfd_true.
1273 (_bfd_ptr_bfd_null_error): Rename from bfd_nullvoidptr.
1274 (_bfd_int_bfd_0): Rename from bfd_0.
1275 (_bfd_uint_bfd_0): Rename from bfd_0u.
1276 (_bfd_long_bfd_0): Rename from bfd_0l.
1277 (_bfd_long_bfd_n1_error): Rename from _bfd_n1.
1278 (_bfd_void_bfd): Rename from bfd_void.
1279 (_bfd_bool_bfd_false, _bfd_bool_bfd_asymbol_false),
1280 (_bfd_bool_bfd_link_false_error),
1281 (_bfd_bool_bfd_link_true, _bfd_bool_bfd_bfd_true),
1282 (_bfd_bool_bfd_uint_true, _bfd_bool_bfd_ptr_true),
1283 (_bfd_bool_bfd_asection_bfd_asection_true),
1284 (_bfd_bool_bfd_asymbol_bfd_asymbol_true),
1285 (_bfd_void_bfd_link, _bfd_void_bfd_asection): New functions.
1286 * archive.c (_bfd_noarchive_get_elt_at_index),
1287 (_bfd_noarchive_openr_next_archived_file),
1288 (_bfd_noarchive_construct_extended_name_table),
1289 (_bfd_noarchive_write_ar_hdr, _bfd_noarchive_truncate_arname),
1290 (_bfd_noarchive_write_armap): New functions.
1291 * archures.c (_bfd_nowrite_set_arch_mach): New function.
1292 * coff-alpha.c (alpha_ecoff_swap_coff_aux_in),
1293 (alpha_ecoff_swap_coff_sym_in, alpha_ecoff_swap_coff_lineno_in),
1294 (alpha_ecoff_swap_coff_aux_out, alpha_ecoff_swap_coff_sym_out),
1295 (alpha_ecoff_swap_coff_lineno_out),
1296 (alpha_ecoff_swap_coff_reloc_out): New functions.
1297 * coff-mips.c (mips_ecoff_swap_coff_aux_in),
1298 (mips_ecoff_swap_coff_sym_in, mips_ecoff_swap_coff_lineno_in),
1299 (mips_ecoff_swap_coff_aux_out, mips_ecoff_swap_coff_sym_out),
1300 (mips_ecoff_swap_coff_lineno_out),
1301 (mips_ecoff_swap_coff_reloc_out): New functions.
1302 * coffcode.h (coff_set_alignment_hook): Replace define with
1303 new function.
1304 (symname_in_debug_hook): Likewise.
1305 * ecoff.c (_bfd_ecoff_set_alignment_hook): New function.
1306 * elfxx-target.h (elf_backend_allow_non_load_phdr): Default to 0.
1307 * elf.c (assign_file_positions_except_relocs): Test
1308 elf_backend_allow_non_load_phdr for NULL.
1309 * elflink.c (_bfd_elf_omit_section_dynsym_default): Rename from
1310 _bfd_elf_link_omit_section_dynsym. Update uses.
1311 (_bfd_elf_omit_section_dynsym_all): New function.
1312 * elf-bfd.h (_bfd_elf_link_omit_section_dynsym): Delete.
1313 (_bfd_elf_omit_section_dynsym_default): Declare.
1314 (_bfd_elf_omit_section_dynsym_all): Declare.
1315 * linker.c (_bfd_nolink_sizeof_headers, _bfd_nolink_bfd_relax_section),
1316 (_bfd_nolink_bfd_get_relocated_section_contents),
1317 (_bfd_nolink_bfd_lookup_section_flags),
1318 (_bfd_nolink_bfd_is_group_section, _bfd_nolink_bfd_discard_group),
1319 (_bfd_nolink_bfd_link_hash_table_create),
1320 (_bfd_nolink_bfd_link_just_syms),
1321 (_bfd_nolink_bfd_copy_link_hash_symbol_type),
1322 (_bfd_nolink_bfd_link_split_section),
1323 (_bfd_nolink_section_already_linked),
1324 (_bfd_nolink_bfd_define_common_symbol),
1325 (_bfd_nolink_bfd_define_start_stop): New functions.
1326 * reloc.c (_bfd_norelocs_bfd_reloc_type_lookup),
1327 (_bfd_norelocs_bfd_reloc_name_lookup),
1328 (_bfd_nodynamic_canonicalize_dynamic_reloc): New functions.
1329 * section.c (_bfd_nowrite_set_section_contents): New function.
1330 * syms.c (_bfd_nosymbols_canonicalize_symtab),
1331 (_bfd_nosymbols_print_symbol, _bfd_nosymbols_get_symbol_info),
1332 (_bfd_nosymbols_get_symbol_version_string),
1333 (_bfd_nosymbols_bfd_is_local_label_name),
1334 (_bfd_nosymbols_get_lineno, _bfd_nosymbols_find_nearest_line),
1335 (_bfd_nosymbols_find_line, _bfd_nosymbols_find_inliner_info),
1336 (_bfd_nosymbols_bfd_make_debug_symbol),
1337 ( _bfd_nosymbols_read_minisymbols),
1338 ( _bfd_nosymbols_minisymbol_to_symbol),
1339 (_bfd_nodynamic_get_synthetic_symtab): New functions.
1340 * libbfd-in.h: Declare new functions. Update existing defines,
1341 removing casts.
1342 * aix386-core.c: Update to use new hooks. Formatting.
1343 * aout-adobe.c: Likewise.
1344 * aout-arm.c: Likewise.
1345 * aout-target.h: Likewise.
1346 * aout-tic30.c: Likewise.
1347 * aoutf1.h: Likewise.
1348 * binary.c: Likewise.
1349 * bout.c: Likewise.
1350 * cisco-core.c: Likewise.
1351 * coff-alpha.c: Likewise.
1352 * coff-i386.c: Likewise.
1353 * coff-i860.c: Likewise.
1354 * coff-i960.c: Likewise.
1355 * coff-ia64.c: Likewise.
1356 * coff-mips.c: Likewise.
1357 * coff-ppc.c: Likewise.
1358 * coff-rs6000.c: Likewise.
1359 * coff-sh.c: Likewise.
1360 * coff-tic30.c: Likewise.
1361 * coff-tic54x.c: Likewise.
1362 * coff-x86_64.c: Likewise.
1363 * coff64-rs6000.c: Likewise.
1364 * coffcode.h: Likewise.
1365 * elf-m10300.c: Likewise.
1366 * elf32-cr16.c: Likewise.
1367 * elf32-lm32.c: Likewise.
1368 * elf32-m32r.c: Likewise.
1369 * elf32-metag.c: Likewise.
1370 * elf32-score.c: Likewise.
1371 * elf32-score7.c: Likewise.
1372 * elf32-tilepro.c: Likewise.
1373 * elf32-xstormy16.c: Likewise.
1374 * elf32-xtensa.c: Likewise.
1375 * elf64-alpha.c: Likewise.
1376 * elf64-hppa.c: Likewise.
1377 * elf64-ia64-vms.c: Likewise.
1378 * elf64-mmix.c: Likewise.
1379 * elf64-sh64.c: Likewise.
1380 * elfnn-ia64.c: Likewise.
1381 * elfxx-sparc.c: Likewise.
1382 * elfxx-target.h: Likewise.
1383 * elfxx-tilegx.c: Likewise.
1384 * elfxx-x86.h: Likewise.
1385 * hp300hpux.c: Likewise.
1386 * hppabsd-core.c: Likewise.
1387 * hpux-core.c: Likewise.
1388 * i386msdos.c: Likewise.
1389 * i386os9k.c: Likewise.
1390 * ieee.c: Likewise.
1391 * ihex.c: Likewise.
1392 * irix-core.c: Likewise.
1393 * libaout.h: Likewise.
1394 * libecoff.h: Likewise.
1395 * mach-o-target.c: Likewise.
1396 * mach-o.c: Likewise.
1397 * mipsbsd.c: Likewise.
1398 * mmo.c: Likewise.
1399 * netbsd-core.c: Likewise.
1400 * nlm-target.h: Likewise.
1401 * oasys.c: Likewise.
1402 * osf-core.c: Likewise.
1403 * pdp11.c: Likewise.
1404 * pe-mips.c: Likewise.
1405 * pe-x86_64.c: Likewise.
1406 * pef.c: Likewise.
1407 * plugin.c: Likewise.
1408 * ppcboot.c: Likewise.
1409 * ptrace-core.c: Likewise.
1410 * sco5-core.c: Likewise.
1411 * som.c: Likewise.
1412 * sparclynx.c: Likewise.
1413 * srec.c: Likewise.
1414 * tekhex.c: Likewise.
1415 * trad-core.c: Likewise.
1416 * verilog.c: Likewise.
1417 * versados.c: Likewise.
1418 * vms-alpha.c: Likewise.
1419 * vms-lib.c: Likewise.
1420 * wasm-module.c: Likewise.
1421 * xsym.c: Likewise.
1422 * libbfd.h: Regenerate.
1423
1424 2018-02-15 Jim Wilson <jimw@sifive.com>
1425
1426 * elfnn-riscv.c (_bfd_riscv_relax_section): Ifdef out check to ignore
1427 symbols whose section address is zero.
1428
1429 * elfnn-riscv.c (riscv_elf_relocate_section): Use bfd_reloc_dangerous
1430 when pcrel_lo reloc has an addend. Use reloc_dangerous callback for
1431 bfd_reloc_dangerous. Use einfo instead of warning callback for errors.
1432 Add %X%P to error messages.
1433
1434 2018-02-15 Eric Botcazou <ebotcazou@adacore.com>
1435
1436 PR ld/22832
1437 * elfxx-sparc.c (_bfd_sparc_elf_check_relocs) <R_SPARC_TLS_GD_CALL>:
1438 Pass FALSE instead of TRUE as 'create' argument to bfd_link_hash_lookup
1439 and assert that the result of the call is not NULL.
1440
1441 2018-02-14 Nick Clifton <nickc@redhat.com>
1442
1443 PR 22823
1444 Revert previous delta. Add extra casts to avoid compile time
1445 warnings instead.
1446 * libbfd-in.h (_bfd_generic_bfd_copy_private_bfd_data): Add extra
1447 cast to avoid warning from gcc v8 compiler.
1448 (_bfd_generic_bfd_merge_private_bfd_data): Likewise.
1449 (_bfd_generic_bfd_set_private_flags): Likewise.
1450 (_bfd_generic_bfd_copy_private_section_data): Likewise.
1451 (_bfd_generic_bfd_copy_private_symbol_data): Likewise.
1452 (_bfd_generic_bfd_copy_private_header_data): Likewise.
1453 (_bfd_generic_bfd_print_private_bfd_data): Likewise.
1454 (_bfd_noarchive_construct_extended_name_table): Likewise.
1455 (_bfd_noarchive_truncate_arname): Likewise.
1456 (_bfd_noarchive_write_ar_hdr): Likewise.
1457 (_bfd_noarchive_get_elt_at_index): Likewise.
1458 (_bfd_nosymbols_canonicalize_symtab): Likewise.
1459 (_bfd_nosymbols_print_symbol): Likewise.
1460 (_bfd_nosymbols_get_symbol_info): Likewise.
1461 (_bfd_nosymbols_get_symbol_version_string): Likewise.
1462 (_bfd_nosymbols_bfd_is_local_label_name): Likewise.
1463 (_bfd_nosymbols_bfd_is_target_special_symbol): Likewise.
1464 (_bfd_nosymbols_get_lineno): Likewise.
1465 (_bfd_nosymbols_find_nearest_line): Likewise.
1466 (_bfd_nosymbols_find_line): Likewise.
1467 (_bfd_nosymbols_find_inliner_info): Likewise.
1468 (_bfd_nosymbols_bfd_make_debug_symbol): Likewise.
1469 (_bfd_nosymbols_read_minisymbols): Likewise.
1470 (_bfd_nosymbols_minisymbol_to_symbol): Likewise.
1471 (_bfd_norelocs_bfd_reloc_type_lookup): Likewise.
1472 (_bfd_norelocs_bfd_reloc_name_lookup): Likewise.
1473 (_bfd_nowrite_set_arch_mach): Likewise.
1474 (_bfd_nowrite_set_section_contents): Likewise.
1475 (_bfd_nolink_sizeof_headers): Likewise.
1476 (_bfd_nolink_bfd_get_relocated_section_contents): Likewise.
1477 (_bfd_nolink_bfd_relax_section): Likewise.
1478 (_bfd_nolink_bfd_gc_sections): Likewise.
1479 (_bfd_nolink_bfd_lookup_section_flags): Likewise.
1480 (_bfd_nolink_bfd_merge_sections): Likewise.
1481 (_bfd_nolink_bfd_is_group_section): Likewise.
1482 (_bfd_nolink_bfd_discard_group): Likewise.
1483 (_bfd_nolink_bfd_link_hash_table_create): Likewise.
1484 (_bfd_nolink_bfd_link_add_symbols): Likewise.
1485 (_bfd_nolink_bfd_link_just_syms): Likewise.
1486 (_bfd_nolink_bfd_copy_link_hash_symbol_type): Likewise.
1487 (_bfd_nolink_bfd_final_link): Likewise.
1488 (_bfd_nolink_bfd_link_split_section): Likewise.
1489 (_bfd_nolink_section_already_linked): Likewise.
1490 (_bfd_nolink_bfd_define_common_symbol): Likewise.
1491 (_bfd_nolink_bfd_define_start_stop): Likewise.
1492 (_bfd_nodynamic_canonicalize_dynamic_symtab): Likewise.
1493 (_bfd_nodynamic_get_synthetic_symtab): Likewise.
1494 (_bfd_nodynamic_get_dynamic_reloc_upper_bound _bfd_): Likewise.
1495 (_bfd_nodynamic_canonicalize_dynamic_reloc): Likewise.
1496 * libbfd.c (bfd_false_any): Delete.
1497 (bfd_true_any, bfd_nullvoidptr_any, bfd_0_any): Delete.
1498 (bfd_0u_any, bfd_0l_any, _bfd_n1_any, bfd_void_any): Delete.
1499 * libbfd.h (extern): Regenerate
1500 * aout-target.h (MY_bfd_is_target_special_symbol): Add extra
1501 cast to avoid warning from gcc v8 compiler.
1502 * aout-tic30.c (tic30_aout_set_arch_mach): Likewise.
1503 * binary.c (binary_get_symbol_info): Likewise.
1504 * coff-alpha.c (alpha_ecoff_backend_data): Likewise.
1505 * coff-mips.c (mips_ecoff_backend_data): Likewise.
1506 * coffcode.h (coff_set_alignment_hook): Likewise.
1507 (symname_in_debug_hook): Likewise.
1508 (bfd_coff_backend_data bigobj_swap_table): Likewise.
1509 * elf-m10300.c (elf_backend_omit_section_dynsym): Likewise.
1510 * elf32-cr16.c (elf_backend_omit_section_dynsym): Likewise.
1511 * elf32-lm32.c (elf_backend_omit_section_dynsym): Likewise.
1512 * elf32-m32r.c (elf_backend_omit_section_dynsym): Likewise.
1513 * elf32-metag.c (elf_backend_omit_section_dynsym): Likewise.
1514 * elf32-score.c (elf_backend_omit_section_dynsym): Likewise.
1515 * elf32-score7.c (elf_backend_omit_section_dynsym): Likewise.
1516 * elf32-xstormy16.c (elf_backend_omit_section_dynsym): Likewise.
1517 * elf32-xtensa.c (elf_backend_omit_section_dynsym): Likewise.
1518 * elf64-alpha.c (elf_backend_omit_section_dynsym): Likewise.
1519 * elf64-hppa.c (elf_backend_omit_section_dynsym): Likewise.
1520 * elf64-ia64-vms.c (elf_backend_omit_section_dynsym): Likewise.
1521 * elf64-mmix.c (elf_backend_omit_section_dynsym): Likewise.
1522 * elf64-sh64.c (elf_backend_omit_section_dynsym): Likewise.
1523 * elfnn-ia64.c (elf_backend_omit_section_dynsym): Likewise.
1524 * elfxx-target.h (bfd_elfNN_bfd_debug_info_accumulate): Likewise.
1525 (bfd_elfNN_bfd_make_debug_symbol): Likewise.
1526 (bfd_elfNN_bfd_merge_private_bfd_data): Likewise.
1527 (bfd_elfNN_bfd_set_private_flags): Likewise.
1528 (bfd_elfNN_bfd_is_target_special_symbol): Likewise.
1529 (elf_backend_init_index_section): Likewise.
1530 (elf_backend_allow_non_load_phdr): Likewise.
1531 * elfxx-x86.h (elf_backend_omit_section_dynsym): Likewise.
1532 * i386msdos.c (msdos_bfd_is_target_special_symbol): Likewise.
1533 * ieee.c (ieee_construct_extended_name_table): Likewise.
1534 (ieee_write_armap): Likewise.
1535 (ieee_write_ar_hdr): Likewise.
1536 (ieee_bfd_is_target_special_symbol): Likewise.
1537 * ihex.c (ihex_canonicalize_symtab): Likewise.
1538 (ihex_bfd_is_target_special_symbol): Likewise.
1539 * libaout.h (aout_32_bfd_is_target_special_symbol): Likewise.
1540 * libecoff.h (_bfd_ecoff_bfd_is_target_special_symbol): Likewise.
1541 (_bfd_ecoff_set_alignment_hook): Likewise.
1542 * mach-o-target.c (bfd_mach_o_bfd_is_target_special_symbol): Likewise.
1543 * mmo.c (mmo_bfd_is_target_special_symbol): Likewise.
1544 * nlm-target.h (nlm_bfd_is_target_special_symbol): Likewise.
1545 * oasys.c (oasys_construct_extended_name_table): Likewise.
1546 (oasys_write_armap): Likewise.
1547 (oasys_write_ar_hdr): Likewise.
1548 (oasys_bfd_is_target_special_symbol): Likewise.
1549 * pef.c (bfd_pef_bfd_is_target_special_symbol): Likewise.
1550 * plugin.c (bfd_plugin_bfd_is_target_special_symbol): Likewise.
1551 * ppcboot.c (ppcboot_bfd_is_target_special_symbol): Likewise.
1552 * som.c (som_bfd_is_target_special_symbol): Likewise.
1553 * srec.c (srec_bfd_is_target_special_symbol): Likewise.
1554 * tekhex.c (tekhex_bfd_is_target_special_symbol): Likewise.
1555 * verilog.c (verilog_bfd_is_target_special_symbol): Likewise.
1556 * versados.c (versados_bfd_is_target_special_symbol): Likewise.
1557 (versados_bfd_reloc_name_lookup): Likewise.
1558 * vms-alpha.c (vms_bfd_is_target_special_symbol): Likewise.
1559 (vms_bfd_define_start_stop): Likewise.
1560 (alpha_vms_bfd_is_target_special_symbol): Likewise.
1561 * wasm-module.c (wasm_bfd_is_target_special_symbol): Likewise.
1562 * xsym.c (bfd_sym_bfd_is_target_special_symbol): Likewise.
1563
1564 2018-02-14 H.J. Lu <hongjiu.lu@intel.com>
1565
1566 PR ld/22842
1567 * elf32-i386.c (elf_i386_check_relocs): Pass FALSE for non
1568 PC-relative PLT to NEED_DYNAMIC_RELOCATION_P.
1569 * elf64-x86-64.c (elf_x86_64_check_relocs): Create PLT for
1570 R_X86_64_PC32 reloc against dynamic function in data section.
1571 Pass TRUE for PC-relative PLT to NEED_DYNAMIC_RELOCATION_P.
1572 (elf_x86_64_relocate_section): Use PLT for R_X86_64_PC32 reloc
1573 against dynamic function in data section.
1574 * elfxx-x86.c (elf_x86_allocate_dynrelocs): Use PLT in PIE as
1575 function address only if pcrel_plt is true.
1576 (_bfd_x86_elf_link_hash_table_create): Set pcrel_plt.
1577 * elfxx-x86.h (NEED_DYNAMIC_RELOCATION_P): Add PCREL_PLT for
1578 PC-relative PLT. If PLT is PC-relative, don't generate dynamic
1579 PC-relative relocation against a function definition in data
1580 secton in PIE. Remove the obsolete comments.
1581 (elf_x86_link_hash_table): Add pcrel_plt.
1582
1583 2018-02-13 H.J. Lu <hongjiu.lu@intel.com>
1584
1585 * elfxx-x86.c (elf_x86_allocate_dynrelocs): Check bfd_link_dll,
1586 instead of bfd_link_pic, for building shared library.
1587
1588 2018-02-13 H.J. Lu <hongjiu.lu@intel.com>
1589
1590 PR gas/22791
1591 * elf64-x86-64.c (is_32bit_relative_branch): Removed.
1592 (elf_x86_64_relocate_section): Check PIC relocations in PIE.
1593 Remove is_32bit_relative_branch usage. Disallow PC32 reloc
1594 against protected function in shared object.
1595
1596 2018-02-13 Sergei Trofimovich <slyfox@inbox.ru>
1597
1598 PR 22828
1599 * po/ru.po: Fix typo in Russian translation.
1600
1601 2018-02-13 Maciej W. Rozycki <macro@mips.com>
1602
1603 * wasm-module.c (wasm_scan_name_function_section): Rename
1604 `index' local variable to `idx'.
1605
1606 2018-02-13 Nick Clifton <nickc@redhat.com>
1607
1608 PR 22823
1609 Fix compile time warnings generated by gcc version 8.
1610 * libbfd-in.h: Remove extraneous text from prototypes.
1611 Add prototypes for bfd_false_any, bfd_true_any,
1612 bfd_nullvoidptr_any, bfd_0_any, bfd_0u_any, bfd_0l_any,
1613 bfd_n1_any, bfd_void_any.
1614 (_bfd_generic_bfd_copy_private_bfd_data): Use vararg based dummy
1615 function.
1616 (_bfd_generic_bfd_merge_private_bfd_data): Likewise.
1617 (_bfd_generic_bfd_set_private_flags): Likewise.
1618 (_bfd_generic_bfd_copy_private_section_data): Likewise.
1619 (_bfd_generic_bfd_copy_private_symbol_data): Likewise.
1620 (_bfd_generic_bfd_copy_private_header_data): Likewise.
1621 (_bfd_generic_bfd_print_private_bfd_data): Likewise.
1622 (_bfd_noarchive_construct_extended_name_table): Likewise.
1623 (_bfd_noarchive_truncate_arname): Likewise.
1624 (_bfd_noarchive_write_ar_hdr): Likewise.
1625 (_bfd_noarchive_get_elt_at_index): Likewise.
1626 (_bfd_nosymbols_canonicalize_symtab): Likewise.
1627 (_bfd_nosymbols_print_symbol): Likewise.
1628 (_bfd_nosymbols_get_symbol_info): Likewise.
1629 (_bfd_nosymbols_get_symbol_version_string): Likewise.
1630 (_bfd_nosymbols_bfd_is_local_label_name): Likewise.
1631 (_bfd_nosymbols_bfd_is_target_special_symbol): Likewise.
1632 (_bfd_nosymbols_get_lineno): Likewise.
1633 (_bfd_nosymbols_find_nearest_line): Likewise.
1634 (_bfd_nosymbols_find_line): Likewise.
1635 (_bfd_nosymbols_find_inliner_info): Likewise.
1636 (_bfd_nosymbols_bfd_make_debug_symbol): Likewise.
1637 (_bfd_nosymbols_read_minisymbols): Likewise.
1638 (_bfd_nosymbols_minisymbol_to_symbol): Likewise.
1639 (_bfd_norelocs_bfd_reloc_type_lookup): Likewise.
1640 (_bfd_norelocs_bfd_reloc_name_lookup): Likewise.
1641 (_bfd_nowrite_set_arch_mach): Likewise.
1642 (_bfd_nowrite_set_section_contents): Likewise.
1643 (_bfd_nolink_sizeof_headers): Likewise.
1644 (_bfd_nolink_bfd_get_relocated_section_contents): Likewise.
1645 (_bfd_nolink_bfd_relax_section): Likewise.
1646 (_bfd_nolink_bfd_gc_sections): Likewise.
1647 (_bfd_nolink_bfd_lookup_section_flags): Likewise.
1648 (_bfd_nolink_bfd_merge_sections): Likewise.
1649 (_bfd_nolink_bfd_is_group_section): Likewise.
1650 (_bfd_nolink_bfd_discard_group): Likewise.
1651 (_bfd_nolink_bfd_link_hash_table_create): Likewise.
1652 (_bfd_nolink_bfd_link_add_symbols): Likewise.
1653 (_bfd_nolink_bfd_link_just_syms): Likewise.
1654 (_bfd_nolink_bfd_copy_link_hash_symbol_type): Likewise.
1655 (_bfd_nolink_bfd_final_link): Likewise.
1656 (_bfd_nolink_bfd_link_split_section): Likewise.
1657 (_bfd_nolink_section_already_linked): Likewise.
1658 (_bfd_nolink_bfd_define_common_symbol): Likewise.
1659 (_bfd_nolink_bfd_define_start_stop): Likewise.
1660 (_bfd_nodynamic_canonicalize_dynamic_symtab): Likewise.
1661 (_bfd_nodynamic_get_synthetic_symtab): Likewise.
1662 (_bfd_nodynamic_get_dynamic_reloc_upper_bound _bfd_): Likewise.
1663 (_bfd_nodynamic_canonicalize_dynamic_reloc): Likewise.
1664 * libbfd.c (bfd_false_any): New function. Like bfd_false but
1665 accepts one or more arguments.
1666 (bfd_true_any): Likewise.
1667 (bfd_nullvoidptr_any): Likewise.
1668 (bfd_0_any): Likewise.
1669 (bfd_0u_any): Likewise.
1670 (bfd_0l_any): Likewise.
1671 (_bfd_n1_any): Likewise.
1672 (bfd_void_any): Likewise.
1673 * libbfd.h (extern): Regenerate
1674 * aout-target.h (MY_bfd_is_target_special_symbol): Use vararg
1675 based dummy function.
1676 * aout-tic30.c (tic30_aout_set_arch_mach): Likewise.
1677 * binary.c (binary_get_symbol_info): Likewise.
1678 * coff-alpha.c (alpha_ecoff_backend_data): Likewise.
1679 * coff-mips.c (mips_ecoff_backend_data): Likewise.
1680 * coffcode.h (coff_set_alignment_hook): Likewise.
1681 (symname_in_debug_hook): Likewise.
1682 (bfd_coff_backend_data bigobj_swap_table): Likewise.
1683 * elf-m10300.c (elf_backend_omit_section_dynsym): Likewise.
1684 * elf32-cr16.c (elf_backend_omit_section_dynsym): Likewise.
1685 * elf32-lm32.c (elf_backend_omit_section_dynsym): Likewise.
1686 * elf32-m32r.c (elf_backend_omit_section_dynsym): Likewise.
1687 * elf32-metag.c (elf_backend_omit_section_dynsym): Likewise.
1688 * elf32-score.c (elf_backend_omit_section_dynsym): Likewise.
1689 * elf32-score7.c (elf_backend_omit_section_dynsym): Likewise.
1690 * elf32-xstormy16.c (elf_backend_omit_section_dynsym): Likewise.
1691 * elf32-xtensa.c (elf_backend_omit_section_dynsym): Likewise.
1692 * elf64-alpha.c (elf_backend_omit_section_dynsym): Likewise.
1693 * elf64-hppa.c (elf_backend_omit_section_dynsym): Likewise.
1694 * elf64-ia64-vms.c (elf_backend_omit_section_dynsym): Likewise.
1695 * elf64-mmix.c (elf_backend_omit_section_dynsym): Likewise.
1696 * elf64-sh64.c (elf_backend_omit_section_dynsym): Likewise.
1697 * elfnn-ia64.c (elf_backend_omit_section_dynsym): Likewise.
1698 * elfxx-target.h (bfd_elfNN_bfd_debug_info_accumulate): Likewise.
1699 (bfd_elfNN_bfd_make_debug_symbol): Likewise.
1700 (bfd_elfNN_bfd_merge_private_bfd_data): Likewise.
1701 (bfd_elfNN_bfd_set_private_flags): Likewise.
1702 (bfd_elfNN_bfd_is_target_special_symbol): Likewise.
1703 (elf_backend_init_index_section): Likewise.
1704 (elf_backend_allow_non_load_phdr): Likewise.
1705 * elfxx-x86.h (elf_backend_omit_section_dynsym): Likewise.
1706 * i386msdos.c (msdos_bfd_is_target_special_symbol): Likewise.
1707 * ieee.c (ieee_construct_extended_name_table): Likewise.
1708 (ieee_write_armap): Likewise.
1709 (ieee_write_ar_hdr): Likewise.
1710 (ieee_bfd_is_target_special_symbol): Likewise.
1711 * ihex.c (ihex_canonicalize_symtab): Likewise.
1712 (ihex_bfd_is_target_special_symbol): Likewise.
1713 * libaout.h (aout_32_bfd_is_target_special_symbol): Likewise.
1714 * libecoff.h (_bfd_ecoff_bfd_is_target_special_symbol): Likewise.
1715 (_bfd_ecoff_set_alignment_hook): Likewise.
1716 * mach-o-target.c (bfd_mach_o_bfd_is_target_special_symbol): Likewise.
1717 * mmo.c (mmo_bfd_is_target_special_symbol): Likewise.
1718 * nlm-target.h (nlm_bfd_is_target_special_symbol): Likewise.
1719 * oasys.c (oasys_construct_extended_name_table): Likewise.
1720 (oasys_write_armap): Likewise.
1721 (oasys_write_ar_hdr): Likewise.
1722 (oasys_bfd_is_target_special_symbol): Likewise.
1723 * pef.c (bfd_pef_bfd_is_target_special_symbol): Likewise.
1724 * plugin.c (bfd_plugin_bfd_is_target_special_symbol): Likewise.
1725 * ppcboot.c (ppcboot_bfd_is_target_special_symbol): Likewise.
1726 * som.c (som_bfd_is_target_special_symbol): Likewise.
1727 * srec.c (srec_bfd_is_target_special_symbol): Likewise.
1728 * tekhex.c (tekhex_bfd_is_target_special_symbol): Likewise.
1729 * verilog.c (verilog_bfd_is_target_special_symbol): Likewise.
1730 * versados.c (versados_bfd_is_target_special_symbol): Likewise.
1731 (versados_bfd_reloc_name_lookup): Likewise.
1732 * vms-alpha.c (vms_bfd_is_target_special_symbol): Likewise.
1733 (vms_bfd_define_start_stop): Likewise.
1734 (alpha_vms_bfd_is_target_special_symbol): Likewise.
1735 * wasm-module.c (wasm_bfd_is_target_special_symbol): Likewise.
1736 * xsym.c (bfd_sym_bfd_is_target_special_symbol): Likewise.
1737 * elf32-arc.c (get_replace_function): Assign replacement function
1738 to func pointer.
1739 * elf32-i370.c (i370_noop): Update prototype.
1740
1741 2018-02-13 Alan Modra <amodra@gmail.com>
1742
1743 PR 22836
1744 * elf.c (_bfd_elf_fixup_group_sections): Account for removed
1745 relocation sections. If size reduces to just the flag word,
1746 remove that too and mark with SEC_EXCLUDE.
1747 * elflink.c (bfd_elf_final_link): Strip empty group sections.
1748
1749 2018-02-13 Alan Modra <amodra@gmail.com>
1750
1751 PR 22829
1752 * elf.c (assign_file_positions_for_non_load_sections): Rewrite
1753 PT_GNU_RELRO setup.
1754
1755 2018-02-12 Zebediah Figura <z.figura12@gmail.com>
1756
1757 * i386msdos.c (msdos_mkobject); New function.
1758 (msdos_object_p): New function.
1759 (i386_msdos_vec): Use msdos_object_p as the check_format
1760 function.
1761 * peicode.h: Rename external_PEI_DOS_hdr, DOSMAGIC, and
1762 NT_SIGNATURE to external_DOS_hdr, IMAGE_DOS_SIGNATURE, and
1763 IMAGE_NT_SIGNATURE.
1764 * peXXigen.c: Likewise.
1765 * coff-ia64.c: Likewise.
1766
1767 2018-02-12 Nick Clifton <nickc@redhat.com>
1768
1769 * elf32-nds32.c (nds32_elf_relax_longjump3): Remove redundant
1770 assignment.
1771 * elf32-arc.c (elf_arc_relocate_section): Likewise.
1772
1773 2018-02-09 Eric Botcazou <ebotcazou@adacore.com>
1774
1775 * elfxx-sparc.c (UNDEFINED_WEAK_RESOLVED_TO_ZERO): Reorder conditions.
1776 (sparc_elf_append_rela): Assert that there is enough room in section.
1777 (_bfd_sparc_elf_copy_indirect_symbol): Fix formatting.
1778 (_bfd_sparc_elf_adjust_dynamic_symbol): Minor tweak.
1779 (allocate_dynrelocs): Remove outdated comments and reorder conditions.
1780 For a symbol subject to a GOT relocation, reserve a slot in the
1781 relocation section if the symbol isn't dynamic and we are in PIC mode.
1782 (_bfd_sparc_elf_relocate_section) <R_SPARC_GOTDATA_OP>: If relocation
1783 is relaxed and a slot was reserved, generate a R_SPARC_NONE relocation.
1784 <R_SPARC_GOTDATA_OP_HIX22>: Adjust comments.
1785 <R_SPARC_PC10>: Reorder conditions. Remove always-false assertion.
1786 (_bfd_sparc_elf_finish_dynamic_symbol): Rename local_undefweak into
1787 resolved_to_zero. Do not generate a dynamic GOT relocation for an
1788 undefined weak symbol with non-default visibility. Remove superfluous
1789 'else' and fix formatting.
1790
1791 2018-02-09 H.J. Lu <hongjiu.lu@intel.com>
1792
1793 * elf32-i386.c (elf_i386_get_synthetic_symtab): Also handle
1794 is_solaris.
1795 (i386_elf32_sol2_vec): Don't declare.
1796 (elf_i386_link_setup_gnu_properties): Also handle is_solaris.
1797 Don't set need_global_offset_table.
1798 (elf_i386_solaris_arch_bed): New.
1799 (elf_backend_arch_data): Set to elf_i386_solaris_arch_bed for
1800 Solaris.
1801 * elf64-x86-64.c (elf_x86_64_get_synthetic_symtab): Check
1802 target_os != is_nacl instead of target_os == is_normal.
1803 (x86_64_elf64_sol2_vec): Don't declare.
1804 (elf_x86_64_link_setup_gnu_properties): Check target_os !=
1805 is_nacl instead of target_os == is_normal. Don't set
1806 need_global_offset_table.
1807 (elf_x86_64_solaris_arch_bed): New.
1808 (elf_backend_arch_data): Set to elf_x86_64_solaris_arch_bed for
1809 Solaris.
1810 * elfxx-x86.c (_bfd_x86_elf_size_dynamic_sections): Keep
1811 _GLOBAL_OFFSET_TABLE_ for Solaris.
1812 (_bfd_x86_elf_link_setup_gnu_properties): Don't copy
1813 need_global_offset_table.
1814 * elfxx-x86.h (elf_x86_target_os): Add is_solaris.
1815 (elf_x86_link_hash_table): Remove need_global_offset_table.
1816 (elf_x86_init_table): Likewise.
1817
1818 2018-02-08 H.J. Lu <hongjiu.lu@intel.com>
1819
1820 * elf32-i386.c (elf32_i386_copy_solaris_special_section_fields):
1821 Remove prototype.
1822 (i386_elf32_sol2_vec): Declared.
1823 (elf_i386_link_setup_gnu_properties): Set
1824 need_global_offset_table with info->output_bfd->xvec.
1825 * elf64-x86-64.c (elf64_x86_64_copy_solaris_special_section_fields):
1826 Remove prototype.
1827 (x86_64_elf64_sol2_vec): Declared.
1828 (elf_x86_64_link_setup_gnu_properties): Set
1829 need_global_offset_table with info->output_bfd->xvec.
1830
1831 2018-02-08 H.J. Lu <hongjiu.lu@intel.com>
1832
1833 * elf32-i386.c (elf32_i386_copy_solaris_special_section_fields):
1834 New prototype.
1835 (elf_i386_link_setup_gnu_properties): Set need_global_offset_table
1836 for Solaris.
1837 * elf64-x86-64.c (elf64_x86_64_copy_solaris_special_section_fields):
1838 New prototype.
1839 (elf_x86_64_link_setup_gnu_properties): Set
1840 need_global_offset_table for Solaris.
1841 * elfxx-x86.c (_bfd_x86_elf_size_dynamic_sections): Keep the
1842 unused _GLOBAL_OFFSET_TABLE_ for Solaris.
1843 (_bfd_x86_elf_link_setup_gnu_properties): Copy
1844 need_global_offset_table.
1845 * elfxx-x86.h (elf_x86_link_hash_table): Add
1846 need_global_offset_table.
1847 (elf_x86_init_table): Likewise.
1848
1849 2018-02-08 Jim Wilson <jimw@sifive.com>
1850
1851 * elfnn-riscv.c (riscv_elf_relocate_section): Add comment for previous
1852 change.
1853
1854 2018-02-08 Nick Clifton <nickc@redhat.com>
1855
1856 PR 22788
1857 * elf.c (elf_parse_notes): Reject notes with excessuively large
1858 alignments.
1859
1860 2018-02-07 Alan Modra <amodra@gmail.com>
1861
1862 Revert 2018-01-17 Alan Modra <amodra@gmail.com>
1863 * elf32-ppc.c: Remove speculation barrier support.
1864 * elf32-ppc.h: Likewise.
1865 * elf64-ppc.c: Likewise.
1866 * elf64-ppc.h: Likewise.
1867
1868 2018-02-06 Jim Wilson <jimw@sifive.com>
1869
1870 * elfnn-riscv.c (riscv_elf_relocate_section): Return TRUE if used
1871 callback to report an error.
1872
1873 2018-02-06 Eric Botcazou <ebotcazou@adacore.com>
1874
1875 PR ld/22263
1876 * elfxx-sparc.c (sparc_elf_tls_transition): Turn call to bfd_link_pic
1877 into call to !bfd_link_executable and tidy up.
1878 (_bfd_sparc_elf_check_relocs): Fix formatting and tidy up.
1879 <R_SPARC_TLS_LE_HIX22>: Turn call to bfd_link_pic into call to
1880 !bfd_link_executable.
1881 <R_SPARC_TLS_IE_HI22>: Likewise.
1882 <GOT relocations>: Remove useless code, tidy and merge related blocks.
1883 <R_SPARC_TLS_GD_CALL>: Turn call to bfd_link_pic into call to
1884 !bfd_link_executable.
1885 <R_SPARC_WPLT30>: Tidy up.
1886 (_bfd_sparc_elf_gc_mark_hook): Turn call to bfd_link_pic into call to
1887 !bfd_link_executable.
1888 (allocate_dynrelocs): Likewise.
1889 (_bfd_sparc_elf_relocate_section): Fix formatting and tidy up.
1890 <R_SPARC_TLS_GD_HI22>: Merge into...
1891 <R_SPARC_TLS_GD_LO10>: ...this. Adjust 4th argument in call to
1892 sparc_elf_tls_transition and remove redundant code.
1893 <R_SPARC_TLS_LDM_HI22>: Turn call to bfd_link_pic into call to
1894 !bfd_link_executable.
1895 <R_SPARC_TLS_LDO_HIX22>: Likewise.
1896 <R_SPARC_TLS_LE_HIX22>: Likewise. Tidy up.
1897 <R_SPARC_TLS_LDM_CALL>: Likewise.
1898 <R_SPARC_TLS_GD_CALL>: Likewise. Tidy up.
1899 <R_SPARC_TLS_GD_ADD>: Likewise.
1900 <R_SPARC_TLS_LDM_ADD>: Likewise.
1901 <R_SPARC_TLS_LDO_ADD>: Likewise.
1902 <R_SPARC_TLS_IE_LD>: Likewise.
1903
1904 2018-02-06 Miloš Stojanović <milos.stojanovic@rt-rk.com>
1905
1906 PR 22789
1907 * elfxx-mips.c (_bfd_mips_elf_find_nearest_line): If the dwarf
1908 functions failed to find the function name, try the generic elf
1909 find function instead.
1910
1911 2018-02-06 Sergio Durigan Junior <sergiodj@redhat.com>
1912
1913 * coff-rs6000.c (xcoff_write_archive_contents_old): Use
1914 'memcpy' instead of 'strncpy' when writing the magic number.
1915
1916 2018-02-06 Nick Clifton <nickc@redhat.com>
1917
1918 PR 22794
1919 * opncls.c (bfd_get_debug_link_info_1): Check the size of the
1920 section before attempting to read it in.
1921 (bfd_get_alt_debug_link_info): Likewise.
1922
1923 2018-02-06 Paul Carroll <pcarroll@codesourcery.com>
1924
1925 * bfd/dwarf2.c (find_abstract_name): Modified to return file and
1926 line information in addition to name, if they can be found.
1927
1928 2018-02-05 Renlin Li <renlin.li@arm.com>
1929
1930 PR ld/22764
1931 * elfnn-aarch64.c (elfNN_aarch64_check_relocs): Relax the
1932 R_AARCH64_ABS32 and R_AARCH64_ABS16 for absolute symbol. Apply the
1933 check for writeable section as well.
1934
1935 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
1936
1937 PR ld/22782
1938 * elf32-i386.c (elf_i386_check_relocs): Set got_referenced if
1939 _GLOBAL_OFFSET_TABLE_ is referenced or GOT is needed to resolve
1940 undefined weak symbol to 0.
1941 * elf64-x86-64.c (elf_x86_64_check_relocs): Set got_referenced
1942 if _GLOBAL_OFFSET_TABLE_ is referenced.
1943 * elfxx-x86.c (_bfd_x86_elf_size_dynamic_sections): Check
1944 got_referenced instead of ref_regular_nonweak. Remove the
1945 unused _GLOBAL_OFFSET_TABLE_ from symbol table.
1946 * elfxx-x86.h (elf_x86_link_hash_table): Add got_referenced.
1947
1948 2018-02-05 Maciej W. Rozycki <macro@mips.com>
1949
1950 * elfnn-riscv.c (_bfd_riscv_relax_pc): Use `memset' to
1951 initialize `hi_reloc'.
1952
1953 2018-02-05 Maciej W. Rozycki <macro@mips.com>
1954
1955 * elfxx-mips.c (_bfd_mips_elf_section_processing): For
1956 SHT_MIPS_REGINFO sections don't assert the correct size and
1957 report an error instead.
1958
1959 2018-02-05 Maciej W. Rozycki <macro@mips.com>
1960
1961 * elf.c (_bfd_elf_write_object_contents): Propagate a failure
1962 status from `->elf_backend_section_processing'.
1963
1964 2018-02-02 Jim Wilson <jimw@sifive.com>
1965
1966 PR ld/22756
1967 * elfnn-riscv.c (riscv_relax_delete_bytes): New parameter link_info.
1968 If link_info->wrap_hash, check for a duplicate symbol and ignore.
1969 (_bfd_riscv_relax_call, bfd_riscv_relax_lui, _bfd_riscv_relax_tls_le):
1970 Pass new argument to riscv_relax_delete_bytes.
1971 (_bfd_riscv_relax_align, _bfd_riscv_relax_delete): Likewise. Remove
1972 ATTRIBUTE_UNUSED from link_info parameter.
1973
1974 2018-02-02 Alan Modra <amodra@gmail.com>
1975
1976 * elf64-ppc.c (ppc64_elf_relocate_section): Don't relocate nops
1977 emitted for toc sequence optimization. Set and use "howto" later.
1978
1979 2018-02-01 Simon Marchi <simon.marchi@ericsson.com>
1980
1981 * elf64-ppc.c (ppc64_elf_archive_symbol_lookup): Avoid pointer
1982 arithmetic on NULL pointer.
1983 * elflink.c (_bfd_elf_archive_symbol_lookup,
1984 elf_link_add_archive_symbols): Likewise.
1985
1986 2018-01-31 Michael Matz <matz@suse.de>
1987
1988 * elflink.c (bfd_elf_define_start_stop): Fix check of
1989 def_dynamic.
1990
1991 2018-01-31 H.J. Lu <hongjiu.lu@intel.com>
1992
1993 PR ld/21964
1994 * elflink.c (bfd_elf_define_start_stop): Check if __start and
1995 __stop symbols are referenced by shared objects.
1996
1997 2018-01-30 Alan Modra <amodra@gmail.com>
1998
1999 PR 22758
2000 * elf.c (_bfd_elf_map_sections_to_segments): Don't start a new
2001 segment when demand paged with lma on the same page. Test this
2002 before load/non-load, executable/non-executable,
2003 writable/non-writable tests and simplify. Delete bogus relro
2004 condition in writable/non-writable test. Delete outdated
2005 comment. Formatting.
2006
2007 2018-01-30 Alan Modra <amodra@gmail.com>
2008
2009 * elflink.c (bfd_elf_define_start_stop): Make __start and __stop
2010 symbols dynamic.
2011
2012 2018-01-29 Alan Modra <amodra@gmail.com>
2013
2014 PR 22741
2015 * coffgen.c (coff_pointerize_aux): Ensure auxent tagndx is in
2016 range before converting to a symbol table pointer.
2017
2018 2018-01-27 Nick Clifton <nickc@redhat.com>
2019
2020 * po/ru.po: Updated Russian translation.
2021
2022 2018-01-26 Alan Modra <amodra@gmail.com>
2023
2024 * elflink.c (bfd_elf_define_start_stop): Override symbols when
2025 they are defined dynamically.
2026
2027 2018-01-26 Alan Modra <amodra@gmail.com>
2028
2029 * elf64-ppc.c (ppc64_elf_size_stubs): Iterate sizing when
2030 .branch_lt changes size.
2031
2032 2018-01-25 Alan Modra <amodra@gmail.com>
2033
2034 PR 22746
2035 * elfcode.h (elf_object_p): Avoid integer overflow.
2036
2037 2018-01-25 Eric Botcazou <ebotcazou@adacore.com>
2038
2039 PR ld/22727
2040 * elfxx-sparc.c (_bfd_sparc_elf_check_relocs) <R_SPARC_TLS_GD_CALL>:
2041 Do a mere lookup of the __tls_get_addr symbol instead of adding it.
2042
2043 Revert
2044 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
2045
2046 PR ld/22263
2047 * elfxx-sparc.c (sparc_elf_tls_transition): Replace
2048 bfd_link_pic with !bfd_link_executable, !bfd_link_pic with
2049 bfd_link_executable for TLS check.
2050 (_bfd_sparc_elf_check_relocs): Likewise.
2051 (allocate_dynrelocs): Likewise.
2052 (_bfd_sparc_elf_relocate_section): Likewise.
2053
2054 2018-01-24 Renlin Li <renlin.li@arm.com>
2055
2056 * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Add support for
2057 BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC,
2058 BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC,
2059 BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC,
2060 BFD_RELOC_AARCH64_MOVW_PREL_G3.
2061 * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
2062 (_bfd_aarch64_elf_resolve_relocation): Likewise.
2063
2064 2018-01-24 Renlin Li <renlin.li@arm.com>
2065
2066 * reloc.c: Add BFD_RELOC_AARCH64_MOVW_PREL_G0,
2067 BFD_RELOC_AARCH64_MOVW_PREL_G0_NC, BFD_RELOC_AARCH64_MOVW_PREL_G1,
2068 BFD_RELOC_AARCH64_MOVW_PREL_G1_NC, BFD_RELOC_AARCH64_MOVW_PREL_G2,
2069 BFD_RELOC_AARCH64_MOVW_PREL_G2_NC, BFD_RELOC_AARCH64_MOVW_PREL_G3.
2070 * elfnn-aarch64.c (elfNN_aarch64_howto_table): Add entries for
2071 BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC,
2072 BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC,
2073 BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC,
2074 BFD_RELOC_AARCH64_MOVW_PREL_G3.
2075 * bfd-in2.h: Regenerate.
2076 * libbfd.h: Regenerate.
2077
2078 2018-01-23 Maciej W. Rozycki <macro@mips.com>
2079
2080 * elfxx-mips.c (_bfd_mips_elf_final_link): Update a stale
2081 `mips_elf32_section_processing' comment reference.
2082
2083 2018-01-20 H.J. Lu <hongjiu.lu@intel.com>
2084
2085 PR ld/22721
2086 * elfxx-x86.c (_bfd_x86_elf_link_check_relocs): Check the
2087 versioned __tls_get_addr symbol.
2088
2089 2018-01-19 Nick Clifton <nickc@redhat.com>
2090
2091 * po/fr.po: Updated French translation.
2092
2093 2018-01-18 Alan Modra <amodra@gmail.com>
2094
2095 * elf32-ppc.c (ppc_elf_create_glink): Correct alignment of .glink.
2096 * elf64-ppc.c (ppc64_elf_size_stubs): Handle negative plt_stub_align.
2097 (ppc64_elf_build_stubs): Likewise.
2098
2099 2018-01-17 Nick Clifton <nickc@redhat.com>
2100
2101 * po/ru.po: Updated Russian translation.
2102 * po/uk/po: Updated Ukranian translation.
2103
2104 2018-01-17 Alan Modra <amodra@gmail.com>
2105
2106 * elf64-ppc.c (ppc64_elf_build_stubs): Silence gcc warning.
2107
2108 2018-01-17 Alan Modra <amodra@gmail.com>
2109
2110 * elf32-ppc.c (GLINK_ENTRY_SIZE): Handle speculation barrier.
2111 (CRSETEQ, BEQCTRM): Define.
2112 (is_nonpic_glink_stub): Don't check bctr.
2113 (ppc_elf_link_hash_table_create): Init new ppc_elf_params field.
2114 (ppc_elf_relax_section): Size speculation barrier.
2115 (output_bctr): New function.
2116 (write_glink_stub): Use output_bctr.
2117 (ppc_elf_relocate_section): Use output_bctr for long branch stub.
2118 (ppc_elf_finish_dynamic_symbol): Likewise.
2119 (ppc_elf_finish_dynamic_sections): Use output_bctr.
2120 * elf32-ppc.h (struct ppc_elf_params): Add speculate_indirect_jumps.
2121 * elf64-ppc.c (CRSETEQ, BEQCTRM, BEQCTRLM): Define.
2122 (GLINK_PLTRESOLVE_SIZE): Size speculation barrier.
2123 (size_global_entry_stubs): Handle speculation barrier sizing.
2124 (plt_stub_size): Likewise.
2125 (output_bctr): New function.
2126 (build_plt_stub, build_tls_get_addr_stub): Output speculation
2127 barrier.
2128 (ppc_build_one_stub): Likewise for ppc_stub_plt_branch.
2129 (ppc_size_one_stub): Size speculation barrier in ppc_stub_plt_branch.
2130 (build_global_entry_stubs): Output speculation barrier.
2131 (ppc64_elf_build_stubs): Likewise in __glink_PLTresolve stub.
2132 * elf64-ppc.h (struct ppc64_elf_params): Add speculate_indirect_jumps.
2133
2134 2018-01-17 Alan Modra <amodra@gmail.com>
2135
2136 * elf32-ppc.c (GLINK_ENTRY_SIZE): Add parameters, handle
2137 __tls_get_addr_opt, and alignment sizing.
2138 (TLS_GET_ADDR_GLINK_SIZE): Delete.
2139 (is_nonpic_glink_stub): Don't use GLINK_ENTRY_SIZE.
2140 (ppc_elf_get_synthetic_symtab): Recognize stubs spaced at 4, 6,
2141 or 8 insns.
2142 (ppc_elf_link_hash_table_create): Init new ppc_elf_params field.
2143 (allocate_dynrelocs): Use new GLINK_ENTRY_SIZE.
2144 (ppc_elf_size_dynamic_sections): Likewise. Size branch table
2145 by PLT reloc count.
2146 (write_glink_stub): Handle __tls_get_addr_opt stub.
2147 Pad out to size given by GLINK_ENTRY_SIZE.
2148 (ppc_elf_relocate_section): Adjust write_glink_stub call.
2149 (ppc_elf_finish_dynamic_symbol): Likewise.
2150 (ppc_elf_finish_dynamic_sections): Write PLTresolve without using
2151 insn array since so many need rewriting.
2152 * elf32-ppc.h (struct ppc_elf_params): Add plt_stub_align.
2153 * elf64-ppc.c (GLINK_PLTRESOLVE_SIZE): Rename from
2154 GLINK_CALL_STUB_SIZE. Add htab param and evaluate to size without
2155 nops. Adjust all uses.
2156 (ppc64_elf_get_synthetic_symtab): Don't use GLINK_CALL_STUB_SIZE
2157 in glink_vma calculation.
2158 (struct ppc_link_hash_table): Add global_entry section pointer.
2159 (create_linkage_sections): Create separate section for global
2160 entry stubs.
2161 (PPC_LO, PPC_HI, PPC_HA): Move earlier.
2162 (size_global_entry_stubs): Handle sizing for aligned stubs.
2163 (ppc64_elf_size_dynamic_sections): Handle global_entry alloc,
2164 and don't stash end of glink branch table in rawsize.
2165 (ppc_build_one_stub): Rewrite stub size calculations.
2166 (build_global_entry_stubs): Use new section.
2167 (ppc64_elf_build_stubs): Don't pad __glink_PLTresolve with nops.
2168 Build lazy link stubs out to end of section. Build global entry
2169 stubs in new section.
2170
2171 2018-01-15 Nick Clifton <nickc@redhat.com>
2172
2173 * po/uk.po: Updated Ukranian translation.
2174
2175 2018-01-13 Nick Clifton <nickc@redhat.com>
2176
2177 * po/bfd.pot: Regenerated.
2178
2179 2018-01-13 Nick Clifton <nickc@redhat.com>
2180
2181 * version.m4: Bump version to 2.30.51
2182 * configure: Regenerate.
2183
2184 2018-01-13 Nick Clifton <nickc@redhat.com>
2185
2186 2.30 branch created.
2187
2188 2018-01-12 Jens Widell <jl@opera.com>
2189
2190 * elf.c (setup_group): Optimize search for group by remembering
2191 last found group and restarting search at that index.
2192 * elf-bfd.h (struct elf_obj_tdata): Add group_search_offset field.
2193
2194 2018-01-12 Gunther Nikl <gnikl@users.sourceforge.net>
2195
2196 * aoutx.h (aout_link_check_ar_symbols): Remove default and handle
2197 bfd_link_common_skip_none in switch.
2198
2199 2018-01-12 Alan Modra <amodra@gmail.com>
2200
2201 PR ld/22649
2202 * elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref): Ignore dynamic
2203 references on forced local symbols.
2204
2205 2018-01-12 Vlad Ivanov <vlad@ivanov.email>
2206
2207 * elfxx-mips.c (_bfd_mips_elf_final_link): Notify user when
2208 .reginfo section has wrong size.
2209
2210 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
2211
2212 PR ld/22393
2213 * elf.c (_bfd_elf_map_sections_to_segments): When generating
2214 separate code and read-only data LOAD segments, create a new
2215 LOAD segment if the previous section contains text and the
2216 current section doesn't or vice versa. Don't put a writable
2217 section in a read-only segment if there is a RELRO segment.
2218
2219 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
2220
2221 PR ld/22649
2222 * elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Ignore dynamic
2223 references on forced local symbols.
2224
2225 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
2226
2227 PR ld/22677
2228 * elflink.c (bfd_elf_gc_sections): Keep all PREINIT_ARRAY,
2229 INIT_ARRAY as well as FINI_ARRAY sections for ld -r --gc-section.
2230
2231 2018-01-09 Kuan-Lin Chen <kuanlinchentw@gmail.com>
2232
2233 PR 22662
2234 * elf32-nds32.c (nds32_elf_relax_loadstore): Fix a typographical error.
2235
2236 2018-01-03 John Baldwin <jhb@FreeBSD.org>
2237
2238 * elf.c (elfcore_grok_freebsd_note): Handle
2239 NT_FREEBSD_PROCSTAT_PROC, NT_FREEBSD_PROCSTAT_FILES, and
2240 NT_FREEBSD_PROCSTAT_VMMAP.
2241
2242 2018-01-03 Alan Modra <amodra@gmail.com>
2243
2244 Update year range in copyright notice of all files.
2245
2246 For older changes see ChangeLog-2017
2247 \f
2248 Copyright (C) 2018 Free Software Foundation, Inc.
2249
2250 Copying and distribution of this file, with or without modification,
2251 are permitted in any medium without royalty provided the copyright
2252 notice and this notice are preserved.
2253
2254 Local Variables:
2255 mode: change-log
2256 left-margin: 8
2257 fill-column: 74
2258 version-control: never
2259 End:
This page took 0.087394 seconds and 4 git commands to generate.