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