PR22069, Several instances of register accidentally spelled as regsiter
[external/binutils.git] / binutils / ChangeLog
1 2018-05-09  Sebastian Rasmussen  <sebras@gmail.com>
2
3         * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
4
5 2018-05-08  Alan Modra  <amodra@gmail.com>
6
7         PR 23141
8         * objcopy.c (is_strip_section): Strip groups without a valid
9         signature symbol.
10
11 2018-05-07  Alan Modra  <amodra@gmail.com>
12
13         PR 23142
14         * objcopy.c (group_signature): Don't accept groups that use a
15         symbol table other than the one we've read.
16
17 2018-04-30  Francois H. Theron <francois.theron@netronome.com>
18
19         * readelf.c: Very basic support for EM_NFP and its section types.
20         * testsuite/binutils-all/nfp: New directory.
21         * testsuite/binutils-all/nfp/objdump.exp: New file.  Run new
22         tests.
23         * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
24         * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
25         * testsuite/binutils-all/nfp/test1.d: New file.
26         * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
27         * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
28         * NEWS: Mention the new support.
29
30 2018-04-27  Maciej W. Rozycki  <macro@mips.com>
31
32         * testsuite/lib/binutils-common.exp (match_target): New procedure.
33         * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
34         of `istarget' for matching with `target', `not-target', `skip'
35         and `not-skip' options.
36
37 2018-04-26  Nick Clifton  <nickc@redhat.com>
38
39         * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
40         32-bit absolute reloc for the HPPA target.
41         * testsuite/binutils-all/note-5.d: New test.
42         * testsuite/binutils-all/note-5.s: Source file for new test.
43         * testsuite/binutils-all/objcopy.exp: Run new test.
44
45 2018-04-25  Christophe Lyon  <christophe.lyon@st.com>
46
47         * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
48         * testsuite/binutils-all/elfedit-3.d: Likewise.
49         * testsuite/binutils-all/objcopy.exp: Likewise.
50         * testsuite/binutils-all/strip-3.d: Likewise.
51         * testsuite/lib/binutils-common.exp: Likewise.
52
53 2018-04-25  Christophe Lyon  <christophe.lyon@st.com>
54         Mickaël Guêné  <mickael.guene@st.com>
55
56         * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
57         (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
58
59 2018-04-25  Alan Modra  <amodra@gmail.com>
60
61         * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
62         arm-coff support.
63         * testsuite/binutils-all/objcopy.exp: Likewise.
64         * testsuite/lib/binutils-common.exp: Likewise.
65
66 2018-04-18  Nick Clifton  <nickc@redhat.com>
67
68         PR 23062
69         * dwarf.c (read_and_display_attr_value): Replace assertions with
70         test and warning message.
71
72 2018-04-18  Alan Modra  <amodra@gmail.com>
73
74         * testsuite/lib/binutils-common.exp: Remove support for assorted
75         aout targets.
76
77 2018-04-17  Nick Clifton  <nickc@redhat.com>
78
79         PR 23063
80         * readelf.c (print_symbol): If the width is zero, return straight
81         away.
82
83         PR 23064
84         * dwarf.c (process_cu_tu_index): Test for a potential buffer
85         overrun before copying signature pointer.
86
87 2018-04-17  Alan Modra  <amodra@gmail.com>
88
89         * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
90
91 2018-04-16  Alan Modra  <amodra@gmail.com>
92
93         * readelf.c (get_machine_name): Correct typo.
94
95 2018-04-16  Alan Modra  <amodra@gmail.com>
96
97         * configure.ac: Remove arm-epoc-pe support.
98         * dlltool.c: Likewise.
99         * configure: Regenerate.
100
101 2018-04-16  Alan Modra  <amodra@gmail.com>
102
103         * testsuite/lib/binutils-common.exp: Remove sparc-aout and
104         sparc-coff support.
105
106 2018-04-16  Alan Modra  <amodra@gmail.com>
107
108         * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
109         support.
110         * testsuite/binutils-all/copy-3.d: Likewise.
111         * testsuite/binutils-all/objcopy.exp: Likewise.
112         * testsuite/lib/binutils-common.exp: Likewise.
113
114 2018-04-16  Alan Modra  <amodra@gmail.com>
115
116         * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
117
118 2018-04-16  Alan Modra  <amodra@gmail.com>
119
120         * testsuite/binutils-all/objcopy.exp: Remove w65 support.
121
122 2018-04-16  Alan Modra  <amodra@gmail.com>
123
124         * testsuite/binutils-all/objdump.exp: Remove we32k support.
125
126 2018-04-16  Alan Modra  <amodra@gmail.com>
127
128         * MAINTAINERS (Mark Kettenis): Move to past maintainers.
129         * testsuite/binutils-all/objdump.exp: Remove m88k support.
130
131 2018-04-16  Alan Modra  <amodra@gmail.com>
132
133         * readelf.c: Remove i370 support.
134         * testsuite/binutils-all/objdump.exp: Likewise.
135
136 2018-04-16  Alan Modra  <amodra@gmail.com>
137
138         * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
139         * testsuite/lib/binutils-common.exp: Likewise.
140
141 2018-04-16  Alan Modra  <amodra@gmail.com>
142
143         * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
144
145 2018-04-16  Alan Modra  <amodra@gmail.com>
146
147         * Makefile.am: Remove IEEE 695 support.
148         * budbg.h: Likewise.
149         * doc/binutils.texi: Likewise.
150         * makefile.vms: Likewise.
151         * objcopy.c: Likewise.
152         * objdump.c: Likewise.
153         * rddbg.c: Likewise.
154         * ieee.c: Delete.
155         * Makefile.in: Regenerate.
156         * po/POTFILES.in: Regenerate.
157
158 2018-04-16  Alan Modra  <amodra@gmail.com>
159
160         * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
161         * testsuite/binutils-all/nm.exp: Likewise.
162
163 2018-04-16  Alan Modra  <amodra@gmail.com>
164
165         * .gitignore: Remove netware support.
166         * Makefile.am: Likewise.
167         * configure.ac: Likewise.
168         * doc/Makefile.am: Likewise.
169         * doc/binutils.texi: Likewise.
170         * testsuite/binutils-all/nm.exp: Likewise.
171         * nlmconv.c: Delete.
172         * nlmconv.h: Delete.
173         * nlmheader.y: Delete.
174         * Makefile.in: Regenerate.
175         * configure: Regenerate.
176         * doc/Makefile.in: Regenerate.
177         * po/POTFILES.in: Regenerate.
178
179 2018-04-16  Alan Modra  <amodra@gmail.com>
180
181         * testsuite/binutils-all/objdump.exp: Remove tahoe support.
182
183 2018-04-14  Alan Modra  <amodra@gmail.com>
184
185         * readelf.c (get_machine_name): Revert 2018-04-11 change.
186
187 2018-04-12  Nick Clifton  <nickc@redhat.com>
188
189         PR 23050
190         * readelf.c (process_dynamic_section): Correct dynamic string
191         table size calculation.
192
193 2018-04-11  Alan Modra  <amodra@gmail.com>
194
195         * ieee.c: Remove i960 support.
196         * od-macho.c: Remove i860 support.
197         * readelf.c: Remove i860 and i960 support.
198         * testsuite/binutils-all/objcopy.exp: Likewise.
199         * testsuite/binutils-all/objdump.exp: Likewise.
200         * testsuite/lib/binutils-common.exp: Likewise.
201
202 2018-04-11  Maciej W. Rozycki  <macro@mips.com>
203
204         * testsuite/lib/binutils-common.exp (is_elf_format): Also return
205         1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
206
207 2018-04-10  Alan Modra  <amodra@gmail.com>
208
209         * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
210         reloc=11 for pru and reloc=50 for nds32.
211         * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
212
213 2018-04-09  Maciej W. Rozycki  <macro@mips.com>
214
215         * testsuite/binutils-all/strip-15.d: New test.
216         * testsuite/binutils-all/strip-15rel.s: New test source.
217         * testsuite/binutils-all/strip-15rela.s: New test source.
218         * testsuite/binutils-all/strip-15mips64.s: New test source.
219         * testsuite/binutils-all/objcopy.exp: Run the new test.
220
221 2018-04-09  Maciej W. Rozycki  <macro@mips.com>
222
223         * testsuite/binutils-all/strip-14.d: New test.
224         * testsuite/binutils-all/strip-14rel.s: New test source.
225         * testsuite/binutils-all/strip-14rela.s: New test source.
226         * testsuite/binutils-all/strip-14mips64.s: New test source.
227         * testsuite/binutils-all/objcopy.exp: Run the new test.
228
229 2018-04-06  Tom Tromey  <tom@tromey.com>
230
231         * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
232         constants from DWARF 5.
233
234 2018-04-05  H.J. Lu  <hongjiu.lu@intel.com>
235
236         PR gas/22318
237         * configure: Regenerated.
238
239 2018-04-05  Maciej W. Rozycki  <macro@mips.com>
240
241         * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
242         than `.dc.w' in second relocation.
243
244 2018-04-05  Maciej W. Rozycki  <macro@mips.com>
245
246         * testsuite/binutils-all/strip-13.d: Also expect `unsupported
247         relocation type 0x8f' error message.
248
249 2018-04-05  Maciej W. Rozycki  <macro@mips.com>
250
251         * testsuite/binutils-all/strip-13.s: Rename to...
252         * testsuite/binutils-all/strip-13rela.s: ... this.
253         * testsuite/binutils-all/strip-13rel.s: New test source.
254         * testsuite/binutils-all/strip-13mips64.s: New test source.
255         * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
256         `dlx-*' and `xgate-*' from `not-target' list.  Add `m6811-*' and
257         `m68hc11-*' to `not-target' list.
258         * testsuite/binutils-all/objcopy.exp: Switch between sources for
259         `strip-13'.
260
261 2018-04-05  Maciej W. Rozycki  <macro@mips.com>
262
263         * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
264         241 (0xf1) for the relocation number and RELA addend.
265         * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
266         `not-target' list.
267
268 2018-04-04  John David Anglin  <danglin@gcc.gnu.org>
269
270         * MAINTAINERS: Update my e-mail address.
271
272 2018-04-04  Nick Clifton  <nickc@redhat.com>
273
274         * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
275
276 2018-03-23  Nick Clifton  <nickc@redhat.com>
277
278         * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
279         symbols.
280         (print_gnu_build_attribute_description): If no file start symbol
281         could be found, look for one two bytes into the file.
282         * testsuite/binutils-all/note-4-64.s: Set the address of the file
283         start symbol to two bytes into the file.
284         * testsuite/binutils-all/note-4-32.s: Likewise.
285
286 2018-03-21  H.J. Lu  <hongjiu.lu@intel.com>
287
288         * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
289         DF_1_WEAKFILTER and DF_1_NOCOMMON.
290
291 2018-03-20  Nick Clifton  <nickc@redhat.com>
292
293         * po/es.po: Updated Spanish translation.
294         * po/ru.po: Updated Russian translation.
295
296 2018-03-13  Nick Clifton  <nickc@redhat.com>
297
298         PR 22957
299         * stabs.c (pop_binincl): Fail if the file index is off the end of
300         the stack.
301
302 2018-03-13  Nick Clifton  <nickc@redhat.com>
303
304         PR 22955
305         * stabs.c (parse_number): Add p_end parameter and use it to check
306         the validity of the pp parameter.  Add checks to prevent walking
307         off the end of the string buffer.
308         (parse_stab_string): Likewise.
309         (parse_stab_type): Likewise.
310         (parse_stab_type_number): Likewise.
311         (parse_stab_range_type): Likewise.
312         (parse_stab_sun_builtin_type): Likewise.
313         (parse_stab_sun_floating_type): Likewise.
314         (parse_stab_enum_type): Likewise.
315         (parse_stab_struct_type): Likewise.
316         (parse_stab_baseclasses): Likewise.
317         (parse_stab_struct_fields): Likewise.
318         (parse_stab_cpp_abbrev): Likewise.
319         (parse_stab_one_struct_field): Likewise.
320         (parse_stab_members): Likewise.
321         (parse_stab_tilde_field): Likewise.
322         (parse_stab_array_type): Likewise.
323
324         * parse_stab: Compute the end of the string and then pass it on to
325         individual parser functions.
326
327 2018-03-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
328
329         PR binutils/22923
330         * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
331         overflow.
332
333 2018-03-07  Alan Modra  <amodra@gmail.com>
334
335         * configure.ac: Add objdump_private_desc_xcoff for rs6000.
336         * configure: Regenerate.
337
338 2018-03-05  H.J. Lu  <hongjiu.lu@intel.com>
339
340         PR binutils/22911
341         * objdump.c (is_significant_symbol_name): Return TRUE for all
342         .plt* sections.
343         (find_symbol_for_address): Replace linear search with binary
344         search on dynamic relocations.
345
346 2018-03-01  Nick Clifton  <nickc@redhat.com>
347
348         PR 22905
349         * dwarf.c (display_debug_ranges): Check that the offset loaded
350         from the range_entry structure is valid.
351
352 2018-03-01  Alan Modra  <amodra@gmail.com>
353
354         * configure.ac (ALL_LINGUAS): Add sr.  Sort.
355         * configure: Regenerate.
356
357 2018-02-27  Nick Clifton  <nickc@redhat.com>
358
359         * po/pt.po: New Portuguese translation.
360         * configure.ac (ALL_LINGUAS): Add pt.
361         * configure: Regenerate.
362
363 2018-02-27  Nick Clifton  <nickc@redhat.com>
364
365         PR 22875
366         * objcopy.c (copy_object): Check the error status after marking
367         symbols used in relocations.
368         * testsuite/binutils-all/strip-13.s: New test source file.
369         * testsuite/binutils-all/strip-13.s: New test driver file.
370         * testsuite/binutils-all/objcopy.exp: Run the new test.
371
372 2018-02-26  Alan Modra  <amodra@gmail.com>
373
374         * testsuite/binutils-all/mips/mips-reginfo-n32.d,
375         * testsuite/binutils-all/mips/mips-reginfo.d: Update.
376
377 2018-02-23  Alan Modra  <amodra@gmail.com>
378
379         * testsuite/binutils-all/mips/mips-reginfo-n32.d,
380         * testsuite/binutils-all/mips/mips-reginfo.d: Update.
381
382 2018-02-20  Ronald Hoogenboom  <hoogenboom30@zonnet.nl>
383
384         * doc/binutils.texi (objcopy): Add missing closing square
385         parenthesis to listing of objcopy's command line options.
386
387 2018-02-19  Matthias Klose  <doko@debian.org>
388
389         * strings.c (long_options): Include-all-whitespace does not take
390         an extra agument.
391
392 2018-02-13  Alan Modra  <amodra@gmail.com>
393
394         PR 22836
395         * testsuite/binutils-all/group-7.s,
396         * testsuite/binutils-all/group-7a.d,
397         * testsuite/binutils-all/group-7b.d,
398         * testsuite/binutils-all/group-7c.d: New tests.
399         * testsuite/binutils-all/objcopy.exp: Run them.
400
401 2018-02-08  Nick Clifton  <nickc@redhat.com>
402
403         PR 22802
404         * dwarf.c (load_separate_debug_file): Return early if the user is
405         not interested in debug links.
406
407 2018-02-06  Nick Clifton  <nickc@redhat.com>
408
409         PR 22793
410         * readelf.c (find_section): Replace assertion with test and return
411         of NULL.
412         (find_section_by_address): Add test of section header table
413         existance.
414         (find_section_by_type): Likewise.
415         (find_section_in_set): Likewise.
416
417 2018-02-05  Maciej W. Rozycki  <macro@mips.com>
418
419         * testsuite/binutils-all/mips/mips-reginfo.d: New test.
420         * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
421         * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
422         * testsuite/binutils-all/mips/mips.exp: Run the new tests.
423
424 2018-02-05  Maciej W. Rozycki  <macro@mips.com>
425
426         * testsuite/config/default.exp (binutils_run): Document
427         `binutils_run_status'.
428         * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
429         and set it.
430         (run_dump_test): Add `error', `error_output', `warning' and
431         `warning_output' options.  Update documentation accordingly.
432
433 2018-02-02  Andrew Burgess  <andrew.burgess@embecosm.com>
434
435         * dwarf.c (dwarf_regnames_riscv): New register name table.
436         (init_dwarf_regnames_riscv): New function.
437         (init_dwarf_regnames): Add call to initialise RiscV register
438         names.
439         * dwarf.h (init_dwarf_regnames_riscv): Declare.
440         * objdump.c (dump_dwarf): Add call to initialise RiscV register
441         names.
442
443 2018-02-01  Alan Modra  <amodra@gmail.com>
444
445         PR 22769
446         * objdump.c (load_specific_debug_section): Check for overflow
447         when adding one to section size for a string section terminator.
448
449 2018-01-30  Nick Clifton  <nickc@redhat.com>
450
451         PR 22734
452         * doc/binutils.texi (nm): Update description to point out that
453         zero-initialized values can also be shown as type B, b, S or s
454         since they can be stored in the BSS section.
455
456 2018-01-30  Alan Modra  <amodra@gmail.com>
457
458         * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
459         "artificially large" end address.
460
461 2018-01-28  Nick Clifton  <nickc@redhat.com>
462
463         * README-how-to-make-a-release: Add note about checking gpg key
464         and the results of gnupload.
465
466 2018-01-27  Nick Clifton  <nickc@redhat.com>
467
468         * README-how-to-make-a-release: Add details on how to actually
469         make the release.
470
471 2018-01-26  Nick Clifton  <nickc@redhat.com>
472
473         * README-how-to-make-a-release: Add more details on updating
474         version numbers.
475
476 2018-01-22  Maciej W. Rozycki  <macro@mips.com>
477
478         * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
479         option description.
480
481 2018-01-22  Maciej W. Rozycki  <macro@mips.com>
482
483         * MAINTAINERS: Update my company e-mail address.
484
485 2018-01-22  Nick Clifton  <nickc@redhat.com>
486
487         * po/sv.po: Updated Swedish translation.
488
489 2018-01-18  Nick Clifton  <nickc@redhat.com>
490
491         * po/bg.po: Updated Bulgarian translation.
492
493 2018-01-16  Joel Brobecker  <brobecker@adacore.com>
494
495         * README-how-to-make-a-release: Add reminder to update the
496         branch name in gdbadmin's crontab on sourceware.
497
498 2018-01-16  Joel Brobecker  <brobecker@adacore.com>
499
500         * README-how-to-make-a-release: Remove trailing spaces.
501
502 2018-01-16  Nick Clifton  <nickc@redhat.com>
503
504         * po/fr.po: Updated French translation.
505
506 2018-01-15  Nick Clifton  <nickc@redhat.com>
507
508         * po/uk.po: Updated Ukranian translation.
509
510 2018-01-13  Nick Clifton  <nickc@redhat.com>
511
512         * README-how-to-make-a-release: Update notes.
513         * po/binutils.pot: Regenerated.
514
515 2018-01-13  Nick Clifton  <nickc@redhat.com>
516
517         * configure: Regenerate.
518
519 2018-01-13  Nick Clifton  <nickc@redhat.com>
520
521         2.30 branch created.
522         * NEWS: Add marker for 2.30.
523
524 2018-01-12  Nick Clifton  <nickc@redhat.com>
525
526         * README-how-to-make-a-release: Add notes on how to make the
527         branch and prelease snapshot.
528         * BRANCHES: Add binutils-2_29-branch.
529
530 2018-01-10  Nick Clifton  <nickc@redhat.com>
531
532         * MAINTAINERS: Note that it is now the configure.ac file and not
533         the configure.in file that needs to be kept in sync with gcc.
534         Add a note about sending patches for libiberty to gcc.
535
536 2018-01-03  Nick Clifton  <nickc@redhat.com>
537
538         * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
539         constants.
540
541 2018-01-03  Nick Clifton  <nickc@redhat.com>
542
543         * objcopy.c (objcopy_internal_note): New structure.
544         (gap_exists): New function.
545         (is_open_note): New function.
546         (is_func_note): New function.
547         (is_64bit): New function.
548         (merge_gnu_build_notes): Handle v3 notes.  Do not merge
549         if there are relocations against the notes.
550         * readelf.c (get_note_type): Use short names for build attribute
551         notes.
552         (print_symbol_for_build_attribute): Rename to
553         get_symbol_for_build_attribute.  Returns the found symbol rather
554         than printing it.
555         (print_gnu_build_attribute_description): Maintain address ranges
556         for function notes as well as global notes.  Handle v3 notes.
557         (print_gnu_build_attribute_name): Use more space for printing the
558         name in wide mode.
559         * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
560         Eliminate symbol references in order to remove the need for
561         relocations.
562         * testsuite/binutils-all/note-2-64.s: Likewise.
563         * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
564         symbol.
565         * testsuite/binutils-all/note-3-64.s: Likewise.
566         * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
567         output.
568         * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
569         * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
570         * testsuite/binutils-all/note-2-32.d: Likewise.
571         * testsuite/binutils-all/note-2-64.d: Likewise.
572         * testsuite/binutils-all/note-3-32.d: Likewise.
573         * testsuite/binutils-all/note-3-64.d: Likewise.
574         * testsuite/binutils-all/note-4-64.s: New test.  Checks v3 notes.
575         * testsuite/binutils-all/note-4-32.s: New test.
576         * testsuite/binutils-all/note-4-64.d: New test result file.
577         * testsuite/binutils-all/note-4-32.d: New test result file.
578
579 2018-01-03  Alan Modra  <amodra@gmail.com>
580
581         Update year range in copyright notice of all files.
582
583 For older changes see ChangeLog-2017
584 \f
585 Copyright (C) 2018 Free Software Foundation, Inc.
586
587 Copying and distribution of this file, with or without modification,
588 are permitted in any medium without royalty provided the copyright
589 notice and this notice are preserved.
590
591 Local Variables:
592 mode: change-log
593 left-margin: 8
594 fill-column: 74
595 version-control: never
596 End: