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