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