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