]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - binutils/ChangeLog
Fix a seg-fault in readelf when parsing corrupt HPPA unwind tables.
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
1 2018-08-21 L. Simon <l.simon@samsung.com>
2
3 PR 23531
4 * readelf.c (hppa_process_unwind): Only dump the unwind table if
5 the data was successfully read in.
6
7 2018-08-18 Alan Modra <amodra@gmail.com>
8
9 * testsuite/lib/binutils-common.exp (is_elf64): Use directory of
10 input file for readelf.out.
11 (is_rela): New proc.
12 * testsuite/binutils-all/objcopy.exp (elf64): Set new variable
13 from first result of is_elf64 test.
14 (reloc_format): Set using is_rela.
15 (strip-13): Pass RELOC and ELF64 to assembler.
16 (strip-14, strip-15): Use elf64 rather than calling is_elf64 again.
17 * testsuite/binutils-all/strip-13.d: Run for more targets.
18 * testsuite/binutils-all/strip-13mips64.s: Use RELOC and set
19 addend to zero.
20 * testsuite/binutils-all/strip-13rel.s: Use RELOC and ELF64.
21 Don't add _NONE reloc.
22 * testsuite/binutils-all/strip-13rela.s: Likewise.
23
24 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
25
26 PR binutils/23494
27 * testsuite/binutils-all/x86-64/pr23494c.s: New file.
28 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
29 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
30
31 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
32
33 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl
34 targets.
35 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
36 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
37 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
38 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
39 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
40 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
41 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
42
43 2018-08-08 H.J. Lu <hongjiu.lu@intel.com>
44
45 PR binutils/23494
46 * testsuite/binutils-all/x86-64/pr23494a-x32.d: New file.
47 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
48 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
49 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
50 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
51 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
52 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
53 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
54 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
55 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
56
57 2018-08-08 Kevin Buettner <kevinb@redhat.com>
58
59 * dwarf.c (decode_location_expresion): Add case for
60 DW_OP_GNU_variable_value.
61
62 2018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
63
64 * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version.
65
66 2018-08-03 Nick Clifton <nickc@redhat.com>
67
68 * objcopy.c (merge_gnu_build_notes): Delete empty notes. Merge
69 identical function notes.
70
71 2018-08-01 Nick Clifton <nickc@redhat.com>
72
73 * README-how-to-make-a-release: Add note about regenerating the
74 info files prior to the release.
75
76 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
77
78 * MAINTAINERS (C-SKY): Add Yunhai Shang as co-maintainer.
79
80 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
81
82 * MAINTAINERS (C-SKY): Add Lifang Xia as maintainer.
83
84 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
85
86 * readelf.c: Include elf/csky.h.
87 (guess_is_rela): Handle EM_CSKY.
88 (dump_relocations): Likewise.
89 (get_machine_name): Likewise.
90 (is_32bit_abs_reloc): Likewise.
91
92 2018-07-25 Nick Clifton <nickc@redhat.com>
93
94 * rdcoff.c (parse_coff_struct_type): Free fields array upon early
95 exit.
96 (parse_coff_enum_type): Free names and vals arrays upon early
97 exit.
98 * rddbg.c (read_section_stabs_debugging_info): Free shandle and
99 strings and stabs arrays upon early exit.
100 * readelf.c (get_32bit_section_headers): Free shdrs structure upon
101 early exit.
102 (get_64bit_section_headers): Likewise.
103 (get_32bit_elf_symbols): Generate an error if multiple symbol
104 table index sections are associated with the same symbol section.
105 (get_64bit_elf_symbols): Likewise.
106 (process_dynamic_section): Generate an error if there are multiple
107 dynamic symbol table sections, multiple dynamic string tables or
108 multiple dynamic symbol information sections.
109
110 2018-07-24 Nick Clifton <nickc@redhat.com>
111
112 * po/sv.po: Updated Swedish translation.
113
114 2018-07-24 Alan Modra <amodra@gmail.com>
115
116 PR 23431
117 * dwarf.c (display_formatted_table): Replace "what" parameter
118 with "is_dir". Expand messages. Fix capitalisation.
119 * testsuite/binutils-all/dw5.W: Update expected output.
120
121 2018-07-24 Alan Modra <amodra@gmail.com>
122
123 PR 23430
124 * elfcomm.h (struct archive_info): Rename uses_64bit_indicies
125 to uses_64bit_indices.
126 * elfcomm.c (setup_archive): Update uses of above.
127 * readelf.c (process_archive): Likewise.
128 (get_section_type_name): Rename indicies to indices.
129 (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise.
130 (process_section_groups): Likewise.
131
132 2018-07-20 Maciej W. Rozycki <macro@mips.com>
133
134 * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
135 ISA maintenance.
136
137 2018-07-20 Nick Clifton <nickc@redhat.com>
138
139 * objcopy.c (add_specific_symbols): Free buffer on exit.
140 (add_redefine_syms_file): Close file handle on exit.
141 (copy_object): Close file handle on early exit.
142 Free buffer on early exit.
143 Free gaps buffers once they are no longer needed.
144 * dwarf.c (display_debug_frames): Free allocated memory on exit.
145 (load_separate_debug_info): Free allocate memory on early exit.
146
147 2018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
148 Maciej W. Rozycki <macro@mips.com>
149
150 * readelf.c (print_mips_ases): Add MMI extension.
151
152 2018-07-19 DJ Delorie <dj@redhat.com>
153
154 * MAINTAINERS (RL78, RX): Remove myself as maintainer.
155
156 2018-07-19 Nick Clifton <nickc@redhat.com>
157
158 * dwarf.c (read_cie): Free allocated memory before returning with
159 a failure result.
160
161 2018-07-16 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
162
163 * readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note
164 description.
165
166 2018-07-16 Nick Clifton <nickc@redhat.com>
167
168 * README-how-to-make-a-release: Add note to check for new top
169 level files and add them to the src-release.sh script.
170
171 2018-07-14 Nick Clifton <nickc@redhat.com>
172
173 * README-how-to-make-a-release: Updated with corrections based on
174 the 2.31 release experience.
175
176 2018-07-12 Francois H. Theron <francois.theron@netronome.com>
177
178 * readelf.c (process_section_headers): Don't print section type
179 twice for --section-details.
180
181 2018-07-10 Alan Modra <amodra@gmail.com>
182
183 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
184 zero for xgate.
185
186 2018-07-06 Nick Clifton <nickc@redhat.com>
187
188 * readelf.c (same_section): New function.
189 (print_gnu_build_attribute_description): Do not complain about
190 gaps that cross a section boundary.
191
192 2018-07-05 Nick Clifton <nickc@redhat.com>
193
194 * po/bg.po: Updated Bulgarian translation.
195
196 2018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
197
198 * NEWS: Use command-line consistently when used in a compount word.
199 * doc/binutils.texi: Likewise and fix trailing whitespace on same
200 line.
201
202 2018-06-26 Nick Clifton <nickc@redhat.com>
203
204 * po/sv.po: Updated Swedish translation.
205 * po/uk.po: Updated Ukranian translation.
206
207 2018-06-26 Nick Clifton <nickc@redhat.com>
208
209 * doc/binutils.texi: Fix spelling mistakes.
210 * README--how-to-make-a-release: Likewise.
211
212 2018-06-25 Tom Tromey <tom@tromey.com>
213
214 * dwarf-mode.el (dwarf-mode-syntax-table): New variable.
215 Bump version number.
216
217 2018-06-24 Nick Clifton <nickc@redhat.com>
218
219 * README-how-to-make-a-release: Update with experiences from
220 making 2.31 branch.
221 * po/binutils.pot: Regenerate.
222 * configure: Regenerate.
223
224 2018-06-24 Nick Clifton <nickc@redhat.com>
225
226 2.31 branch created.
227 * NEWS: Add marker for 2.31.
228
229 2018-06-21 Alan Modra <amodra@gmail.com>
230
231 * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign".
232 * doc/Makefile.in: Regenerate.
233
234 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
235
236 * configure.ac: Remove AC_PREREQ.
237 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add
238 info-in-builddir no-texinfo.tex.
239 * Makefile.in: Re-generate.
240 * aclocal.m4: Re-generate.
241 * config.in: Re-generate.
242 * configure: Re-generate.
243 * doc/Makefile.in: Re-generate.
244
245 2018-06-19 Andreas Schwab <schwab@suse.de>
246
247 * readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16.
248 (is_8bit_abs_reloc): New function.
249 (is_6bit_abs_reloc): New function.
250 (is_6bit_inplace_sub_reloc): New function.
251 (apply_relocations): Use them. Handle 6-bit relocations.
252
253 2018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
254
255 * readelf.c (print_mips_ases): Add GINV extension.
256
257 2018-06-14 H.J. Lu <hongjiu.lu@intel.com>
258
259 PR binutils/23267
260 * readelf.c (get_symbol_version_string): Check if the first
261 symbol version is base version.
262
263 2018-06-13 Scott Egerton <scott.egerton@imgtec.com>
264 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
265
266 * readelf.c (print_mips_ases): Add CRC.
267
268 2018-06-13 Nick Clifton <nickc@redhat.com>
269
270 * doc/binutils.texi (objdump): Add missing closing square
271 parenthesis to listing of objcopy's command line options.
272
273 2018-06-11 Nick Clifton <nickc@redhat.com>
274
275 * po/es.po: Updated Spanish translation.
276
277 2018-06-01 H.J. Lu <hongjiu.lu@intel.com>
278
279 * configure: Regenerated.
280
281 2018-05-31 Alan Modra <amodra@gmail.com>
282
283 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't
284 set CC_FOR_TARGET. Run test non-native.
285 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
286 Likewise.
287 (test_follow_debuglink): Run test non-native.
288
289 2018-05-30 Ant Bikeneev <ant.bikineev@gmail.com>
290
291 PR 23107
292 * ar.c (display_offsets): New variable.
293 (usage): Add description of 'O' operator.
294 (decode_option): Handle 'O' operator.
295 (print_descr): Pass display_offsets to print_arelt_descr.
296 * arsup.c: Update call to printy_arelt_descr.
297 * objdump.c: Likewise.
298 * bucomm.c (print_arelt_descr): If offsets parameter is true then
299 display offset of archive element within the archive.
300 * bucomm.h: Update prototype for print_arelt_descr.
301 * doc/binutils.texi: Update description of ar command.
302 * NEWS: Mention the new feature.
303 * testsuite/binutils-all/ar.exp: Add text of new feature.
304
305 2018-05-28 Alan Modra <amodra@gmail.com>
306
307 PR 23235
308 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return
309 unsupported rather than fail on compile errors.
310 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
311 Likewise. Save and restore CFLAGS_FOR_TARGET.
312
313 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
314
315 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
316
317 2018-05-18 John Darrington <john@darrington.wattle.id.au>
318
319 * readelf.c: Add support for s12z architecture.
320 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
321 targets.
322
323 2018-05-15 Tamar Christina <tamar.christina@arm.com>
324
325 PR binutils/21446
326 * doc/binutils.texi (-M): Document AArch64 options.
327
328 2018-05-15 Tamar Christina <tamar.christina@arm.com>
329
330 PR binutils/21446
331 * doc/binutils.texi (-M): Document AArch64 options.
332 * NEWS: Document notes and warnings.
333
334 2018-05-15 Alan Modra <amodra@gmail.com>
335
336 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
337 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
338 and *uclinux* into *linux*.
339 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
340 strip-13 test, exclude arm-vxworks and arm-windiss.
341
342 2018-05-10 John Darrington <john@darrington.wattle.id.au>
343
344 * readelf.c (get_machine_name): EM_S12Z - handle new case.
345
346 2018-05-09 Alan Modra <amodra@gmail.com>
347
348 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
349
350 2018-05-09 Sebastian Rasmussen <sebras@gmail.com>
351
352 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
353
354 2018-05-08 Alan Modra <amodra@gmail.com>
355
356 PR 23141
357 * objcopy.c (is_strip_section): Strip groups without a valid
358 signature symbol.
359
360 2018-05-07 Alan Modra <amodra@gmail.com>
361
362 PR 23142
363 * objcopy.c (group_signature): Don't accept groups that use a
364 symbol table other than the one we've read.
365
366 2018-04-30 Francois H. Theron <francois.theron@netronome.com>
367
368 * readelf.c: Very basic support for EM_NFP and its section types.
369 * testsuite/binutils-all/nfp: New directory.
370 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
371 tests.
372 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
373 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
374 * testsuite/binutils-all/nfp/test1.d: New file.
375 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
376 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
377 * NEWS: Mention the new support.
378
379 2018-04-27 Maciej W. Rozycki <macro@mips.com>
380
381 * testsuite/lib/binutils-common.exp (match_target): New procedure.
382 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
383 of `istarget' for matching with `target', `not-target', `skip'
384 and `not-skip' options.
385
386 2018-04-26 Nick Clifton <nickc@redhat.com>
387
388 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
389 32-bit absolute reloc for the HPPA target.
390 * testsuite/binutils-all/note-5.d: New test.
391 * testsuite/binutils-all/note-5.s: Source file for new test.
392 * testsuite/binutils-all/objcopy.exp: Run new test.
393
394 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
395
396 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
397 * testsuite/binutils-all/elfedit-3.d: Likewise.
398 * testsuite/binutils-all/objcopy.exp: Likewise.
399 * testsuite/binutils-all/strip-3.d: Likewise.
400 * testsuite/lib/binutils-common.exp: Likewise.
401
402 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
403 Mickaël Guêné <mickael.guene@st.com>
404
405 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
406 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
407
408 2018-04-25 Alan Modra <amodra@gmail.com>
409
410 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
411 arm-coff support.
412 * testsuite/binutils-all/objcopy.exp: Likewise.
413 * testsuite/lib/binutils-common.exp: Likewise.
414
415 2018-04-18 Nick Clifton <nickc@redhat.com>
416
417 PR 23062
418 * dwarf.c (read_and_display_attr_value): Replace assertions with
419 test and warning message.
420
421 2018-04-18 Alan Modra <amodra@gmail.com>
422
423 * testsuite/lib/binutils-common.exp: Remove support for assorted
424 aout targets.
425
426 2018-04-17 Nick Clifton <nickc@redhat.com>
427
428 PR 23063
429 * readelf.c (print_symbol): If the width is zero, return straight
430 away.
431
432 PR 23064
433 * dwarf.c (process_cu_tu_index): Test for a potential buffer
434 overrun before copying signature pointer.
435
436 2018-04-17 Alan Modra <amodra@gmail.com>
437
438 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
439
440 2018-04-16 Alan Modra <amodra@gmail.com>
441
442 * readelf.c (get_machine_name): Correct typo.
443
444 2018-04-16 Alan Modra <amodra@gmail.com>
445
446 * configure.ac: Remove arm-epoc-pe support.
447 * dlltool.c: Likewise.
448 * configure: Regenerate.
449
450 2018-04-16 Alan Modra <amodra@gmail.com>
451
452 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
453 sparc-coff support.
454
455 2018-04-16 Alan Modra <amodra@gmail.com>
456
457 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
458 support.
459 * testsuite/binutils-all/copy-3.d: Likewise.
460 * testsuite/binutils-all/objcopy.exp: Likewise.
461 * testsuite/lib/binutils-common.exp: Likewise.
462
463 2018-04-16 Alan Modra <amodra@gmail.com>
464
465 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
466
467 2018-04-16 Alan Modra <amodra@gmail.com>
468
469 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
470
471 2018-04-16 Alan Modra <amodra@gmail.com>
472
473 * testsuite/binutils-all/objdump.exp: Remove we32k support.
474
475 2018-04-16 Alan Modra <amodra@gmail.com>
476
477 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
478 * testsuite/binutils-all/objdump.exp: Remove m88k support.
479
480 2018-04-16 Alan Modra <amodra@gmail.com>
481
482 * readelf.c: Remove i370 support.
483 * testsuite/binutils-all/objdump.exp: Likewise.
484
485 2018-04-16 Alan Modra <amodra@gmail.com>
486
487 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
488 * testsuite/lib/binutils-common.exp: Likewise.
489
490 2018-04-16 Alan Modra <amodra@gmail.com>
491
492 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
493
494 2018-04-16 Alan Modra <amodra@gmail.com>
495
496 * Makefile.am: Remove IEEE 695 support.
497 * budbg.h: Likewise.
498 * doc/binutils.texi: Likewise.
499 * makefile.vms: Likewise.
500 * objcopy.c: Likewise.
501 * objdump.c: Likewise.
502 * rddbg.c: Likewise.
503 * ieee.c: Delete.
504 * Makefile.in: Regenerate.
505 * po/POTFILES.in: Regenerate.
506
507 2018-04-16 Alan Modra <amodra@gmail.com>
508
509 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
510 * testsuite/binutils-all/nm.exp: Likewise.
511
512 2018-04-16 Alan Modra <amodra@gmail.com>
513
514 * .gitignore: Remove netware support.
515 * Makefile.am: Likewise.
516 * configure.ac: Likewise.
517 * doc/Makefile.am: Likewise.
518 * doc/binutils.texi: Likewise.
519 * testsuite/binutils-all/nm.exp: Likewise.
520 * nlmconv.c: Delete.
521 * nlmconv.h: Delete.
522 * nlmheader.y: Delete.
523 * Makefile.in: Regenerate.
524 * configure: Regenerate.
525 * doc/Makefile.in: Regenerate.
526 * po/POTFILES.in: Regenerate.
527
528 2018-04-16 Alan Modra <amodra@gmail.com>
529
530 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
531
532 2018-04-14 Alan Modra <amodra@gmail.com>
533
534 * readelf.c (get_machine_name): Revert 2018-04-11 change.
535
536 2018-04-12 Nick Clifton <nickc@redhat.com>
537
538 PR 23050
539 * readelf.c (process_dynamic_section): Correct dynamic string
540 table size calculation.
541
542 2018-04-11 Alan Modra <amodra@gmail.com>
543
544 * ieee.c: Remove i960 support.
545 * od-macho.c: Remove i860 support.
546 * readelf.c: Remove i860 and i960 support.
547 * testsuite/binutils-all/objcopy.exp: Likewise.
548 * testsuite/binutils-all/objdump.exp: Likewise.
549 * testsuite/lib/binutils-common.exp: Likewise.
550
551 2018-04-11 Maciej W. Rozycki <macro@mips.com>
552
553 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
554 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
555
556 2018-04-10 Alan Modra <amodra@gmail.com>
557
558 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
559 reloc=11 for pru and reloc=50 for nds32.
560 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
561
562 2018-04-09 Maciej W. Rozycki <macro@mips.com>
563
564 * testsuite/binutils-all/strip-15.d: New test.
565 * testsuite/binutils-all/strip-15rel.s: New test source.
566 * testsuite/binutils-all/strip-15rela.s: New test source.
567 * testsuite/binutils-all/strip-15mips64.s: New test source.
568 * testsuite/binutils-all/objcopy.exp: Run the new test.
569
570 2018-04-09 Maciej W. Rozycki <macro@mips.com>
571
572 * testsuite/binutils-all/strip-14.d: New test.
573 * testsuite/binutils-all/strip-14rel.s: New test source.
574 * testsuite/binutils-all/strip-14rela.s: New test source.
575 * testsuite/binutils-all/strip-14mips64.s: New test source.
576 * testsuite/binutils-all/objcopy.exp: Run the new test.
577
578 2018-04-06 Tom Tromey <tom@tromey.com>
579
580 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
581 constants from DWARF 5.
582
583 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
584
585 PR gas/22318
586 * configure: Regenerated.
587
588 2018-04-05 Maciej W. Rozycki <macro@mips.com>
589
590 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
591 than `.dc.w' in second relocation.
592
593 2018-04-05 Maciej W. Rozycki <macro@mips.com>
594
595 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
596 relocation type 0x8f' error message.
597
598 2018-04-05 Maciej W. Rozycki <macro@mips.com>
599
600 * testsuite/binutils-all/strip-13.s: Rename to...
601 * testsuite/binutils-all/strip-13rela.s: ... this.
602 * testsuite/binutils-all/strip-13rel.s: New test source.
603 * testsuite/binutils-all/strip-13mips64.s: New test source.
604 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
605 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
606 `m68hc11-*' to `not-target' list.
607 * testsuite/binutils-all/objcopy.exp: Switch between sources for
608 `strip-13'.
609
610 2018-04-05 Maciej W. Rozycki <macro@mips.com>
611
612 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
613 241 (0xf1) for the relocation number and RELA addend.
614 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
615 `not-target' list.
616
617 2018-04-04 John David Anglin <danglin@gcc.gnu.org>
618
619 * MAINTAINERS: Update my e-mail address.
620
621 2018-04-04 Nick Clifton <nickc@redhat.com>
622
623 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
624
625 2018-03-23 Nick Clifton <nickc@redhat.com>
626
627 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
628 symbols.
629 (print_gnu_build_attribute_description): If no file start symbol
630 could be found, look for one two bytes into the file.
631 * testsuite/binutils-all/note-4-64.s: Set the address of the file
632 start symbol to two bytes into the file.
633 * testsuite/binutils-all/note-4-32.s: Likewise.
634
635 2018-03-21 H.J. Lu <hongjiu.lu@intel.com>
636
637 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
638 DF_1_WEAKFILTER and DF_1_NOCOMMON.
639
640 2018-03-20 Nick Clifton <nickc@redhat.com>
641
642 * po/es.po: Updated Spanish translation.
643 * po/ru.po: Updated Russian translation.
644
645 2018-03-13 Nick Clifton <nickc@redhat.com>
646
647 PR 22957
648 * stabs.c (pop_binincl): Fail if the file index is off the end of
649 the stack.
650
651 2018-03-13 Nick Clifton <nickc@redhat.com>
652
653 PR 22955
654 * stabs.c (parse_number): Add p_end parameter and use it to check
655 the validity of the pp parameter. Add checks to prevent walking
656 off the end of the string buffer.
657 (parse_stab_string): Likewise.
658 (parse_stab_type): Likewise.
659 (parse_stab_type_number): Likewise.
660 (parse_stab_range_type): Likewise.
661 (parse_stab_sun_builtin_type): Likewise.
662 (parse_stab_sun_floating_type): Likewise.
663 (parse_stab_enum_type): Likewise.
664 (parse_stab_struct_type): Likewise.
665 (parse_stab_baseclasses): Likewise.
666 (parse_stab_struct_fields): Likewise.
667 (parse_stab_cpp_abbrev): Likewise.
668 (parse_stab_one_struct_field): Likewise.
669 (parse_stab_members): Likewise.
670 (parse_stab_tilde_field): Likewise.
671 (parse_stab_array_type): Likewise.
672
673 * parse_stab: Compute the end of the string and then pass it on to
674 individual parser functions.
675
676 2018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
677
678 PR binutils/22923
679 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
680 overflow.
681
682 2018-03-07 Alan Modra <amodra@gmail.com>
683
684 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
685 * configure: Regenerate.
686
687 2018-03-05 H.J. Lu <hongjiu.lu@intel.com>
688
689 PR binutils/22911
690 * objdump.c (is_significant_symbol_name): Return TRUE for all
691 .plt* sections.
692 (find_symbol_for_address): Replace linear search with binary
693 search on dynamic relocations.
694
695 2018-03-01 Nick Clifton <nickc@redhat.com>
696
697 PR 22905
698 * dwarf.c (display_debug_ranges): Check that the offset loaded
699 from the range_entry structure is valid.
700
701 2018-03-01 Alan Modra <amodra@gmail.com>
702
703 * configure.ac (ALL_LINGUAS): Add sr. Sort.
704 * configure: Regenerate.
705
706 2018-02-27 Nick Clifton <nickc@redhat.com>
707
708 * po/pt.po: New Portuguese translation.
709 * configure.ac (ALL_LINGUAS): Add pt.
710 * configure: Regenerate.
711
712 2018-02-27 Nick Clifton <nickc@redhat.com>
713
714 PR 22875
715 * objcopy.c (copy_object): Check the error status after marking
716 symbols used in relocations.
717 * testsuite/binutils-all/strip-13.s: New test source file.
718 * testsuite/binutils-all/strip-13.s: New test driver file.
719 * testsuite/binutils-all/objcopy.exp: Run the new test.
720
721 2018-02-26 Alan Modra <amodra@gmail.com>
722
723 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
724 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
725
726 2018-02-23 Alan Modra <amodra@gmail.com>
727
728 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
729 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
730
731 2018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
732
733 * doc/binutils.texi (objcopy): Add missing closing square
734 parenthesis to listing of objcopy's command line options.
735
736 2018-02-19 Matthias Klose <doko@debian.org>
737
738 * strings.c (long_options): Include-all-whitespace does not take
739 an extra agument.
740
741 2018-02-13 Alan Modra <amodra@gmail.com>
742
743 PR 22836
744 * testsuite/binutils-all/group-7.s,
745 * testsuite/binutils-all/group-7a.d,
746 * testsuite/binutils-all/group-7b.d,
747 * testsuite/binutils-all/group-7c.d: New tests.
748 * testsuite/binutils-all/objcopy.exp: Run them.
749
750 2018-02-08 Nick Clifton <nickc@redhat.com>
751
752 PR 22802
753 * dwarf.c (load_separate_debug_file): Return early if the user is
754 not interested in debug links.
755
756 2018-02-06 Nick Clifton <nickc@redhat.com>
757
758 PR 22793
759 * readelf.c (find_section): Replace assertion with test and return
760 of NULL.
761 (find_section_by_address): Add test of section header table
762 existance.
763 (find_section_by_type): Likewise.
764 (find_section_in_set): Likewise.
765
766 2018-02-05 Maciej W. Rozycki <macro@mips.com>
767
768 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
769 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
770 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
771 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
772
773 2018-02-05 Maciej W. Rozycki <macro@mips.com>
774
775 * testsuite/config/default.exp (binutils_run): Document
776 `binutils_run_status'.
777 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
778 and set it.
779 (run_dump_test): Add `error', `error_output', `warning' and
780 `warning_output' options. Update documentation accordingly.
781
782 2018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
783
784 * dwarf.c (dwarf_regnames_riscv): New register name table.
785 (init_dwarf_regnames_riscv): New function.
786 (init_dwarf_regnames): Add call to initialise RiscV register
787 names.
788 * dwarf.h (init_dwarf_regnames_riscv): Declare.
789 * objdump.c (dump_dwarf): Add call to initialise RiscV register
790 names.
791
792 2018-02-01 Alan Modra <amodra@gmail.com>
793
794 PR 22769
795 * objdump.c (load_specific_debug_section): Check for overflow
796 when adding one to section size for a string section terminator.
797
798 2018-01-30 Nick Clifton <nickc@redhat.com>
799
800 PR 22734
801 * doc/binutils.texi (nm): Update description to point out that
802 zero-initialized values can also be shown as type B, b, S or s
803 since they can be stored in the BSS section.
804
805 2018-01-30 Alan Modra <amodra@gmail.com>
806
807 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
808 "artificially large" end address.
809
810 2018-01-28 Nick Clifton <nickc@redhat.com>
811
812 * README-how-to-make-a-release: Add note about checking gpg key
813 and the results of gnupload.
814
815 2018-01-27 Nick Clifton <nickc@redhat.com>
816
817 * README-how-to-make-a-release: Add details on how to actually
818 make the release.
819
820 2018-01-26 Nick Clifton <nickc@redhat.com>
821
822 * README-how-to-make-a-release: Add more details on updating
823 version numbers.
824
825 2018-01-22 Maciej W. Rozycki <macro@mips.com>
826
827 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
828 option description.
829
830 2018-01-22 Maciej W. Rozycki <macro@mips.com>
831
832 * MAINTAINERS: Update my company e-mail address.
833
834 2018-01-22 Nick Clifton <nickc@redhat.com>
835
836 * po/sv.po: Updated Swedish translation.
837
838 2018-01-18 Nick Clifton <nickc@redhat.com>
839
840 * po/bg.po: Updated Bulgarian translation.
841
842 2018-01-16 Joel Brobecker <brobecker@adacore.com>
843
844 * README-how-to-make-a-release: Add reminder to update the
845 branch name in gdbadmin's crontab on sourceware.
846
847 2018-01-16 Joel Brobecker <brobecker@adacore.com>
848
849 * README-how-to-make-a-release: Remove trailing spaces.
850
851 2018-01-16 Nick Clifton <nickc@redhat.com>
852
853 * po/fr.po: Updated French translation.
854
855 2018-01-15 Nick Clifton <nickc@redhat.com>
856
857 * po/uk.po: Updated Ukranian translation.
858
859 2018-01-13 Nick Clifton <nickc@redhat.com>
860
861 * README-how-to-make-a-release: Update notes.
862 * po/binutils.pot: Regenerated.
863
864 2018-01-13 Nick Clifton <nickc@redhat.com>
865
866 * configure: Regenerate.
867
868 2018-01-13 Nick Clifton <nickc@redhat.com>
869
870 2.30 branch created.
871 * NEWS: Add marker for 2.30.
872
873 2018-01-12 Nick Clifton <nickc@redhat.com>
874
875 * README-how-to-make-a-release: Add notes on how to make the
876 branch and prelease snapshot.
877 * BRANCHES: Add binutils-2_29-branch.
878
879 2018-01-10 Nick Clifton <nickc@redhat.com>
880
881 * MAINTAINERS: Note that it is now the configure.ac file and not
882 the configure.in file that needs to be kept in sync with gcc.
883 Add a note about sending patches for libiberty to gcc.
884
885 2018-01-03 Nick Clifton <nickc@redhat.com>
886
887 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
888 constants.
889
890 2018-01-03 Nick Clifton <nickc@redhat.com>
891
892 * objcopy.c (objcopy_internal_note): New structure.
893 (gap_exists): New function.
894 (is_open_note): New function.
895 (is_func_note): New function.
896 (is_64bit): New function.
897 (merge_gnu_build_notes): Handle v3 notes. Do not merge
898 if there are relocations against the notes.
899 * readelf.c (get_note_type): Use short names for build attribute
900 notes.
901 (print_symbol_for_build_attribute): Rename to
902 get_symbol_for_build_attribute. Returns the found symbol rather
903 than printing it.
904 (print_gnu_build_attribute_description): Maintain address ranges
905 for function notes as well as global notes. Handle v3 notes.
906 (print_gnu_build_attribute_name): Use more space for printing the
907 name in wide mode.
908 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
909 Eliminate symbol references in order to remove the need for
910 relocations.
911 * testsuite/binutils-all/note-2-64.s: Likewise.
912 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
913 symbol.
914 * testsuite/binutils-all/note-3-64.s: Likewise.
915 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
916 output.
917 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
918 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
919 * testsuite/binutils-all/note-2-32.d: Likewise.
920 * testsuite/binutils-all/note-2-64.d: Likewise.
921 * testsuite/binutils-all/note-3-32.d: Likewise.
922 * testsuite/binutils-all/note-3-64.d: Likewise.
923 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
924 * testsuite/binutils-all/note-4-32.s: New test.
925 * testsuite/binutils-all/note-4-64.d: New test result file.
926 * testsuite/binutils-all/note-4-32.d: New test result file.
927
928 2018-01-03 Alan Modra <amodra@gmail.com>
929
930 Update year range in copyright notice of all files.
931
932 For older changes see ChangeLog-2017
933 \f
934 Copyright (C) 2018 Free Software Foundation, Inc.
935
936 Copying and distribution of this file, with or without modification,
937 are permitted in any medium without royalty provided the copyright
938 notice and this notice are preserved.
939
940 Local Variables:
941 mode: change-log
942 left-margin: 8
943 fill-column: 74
944 version-control: never
945 End: