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