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