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