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