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