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