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