Add support for the C_SKY series of processors.
[binutils-gdb.git] / binutils / ChangeLog
1 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
2
3 * readelf.c: Include elf/csky.h.
4 (guess_is_rela): Handle EM_CSKY.
5 (dump_relocations): Likewise.
6 (get_machine_name): Likewise.
7 (is_32bit_abs_reloc): Likewise.
8
9 2018-07-25 Nick Clifton <nickc@redhat.com>
10
11 * rdcoff.c (parse_coff_struct_type): Free fields array upon early
12 exit.
13 (parse_coff_enum_type): Free names and vals arrays upon early
14 exit.
15 * rddbg.c (read_section_stabs_debugging_info): Free shandle and
16 strings and stabs arrays upon early exit.
17 * readelf.c (get_32bit_section_headers): Free shdrs structure upon
18 early exit.
19 (get_64bit_section_headers): Likewise.
20 (get_32bit_elf_symbols): Generate an error if multiple symbol
21 table index sections are associated with the same symbol section.
22 (get_64bit_elf_symbols): Likewise.
23 (process_dynamic_section): Generate an error if there are multiple
24 dynamic symbol table sections, multiple dynamic string tables or
25 multiple dynamic symbol information sections.
26
27 2018-07-24 Nick Clifton <nickc@redhat.com>
28
29 * po/sv.po: Updated Swedish translation.
30
31 2018-07-24 Alan Modra <amodra@gmail.com>
32
33 PR 23431
34 * dwarf.c (display_formatted_table): Replace "what" parameter
35 with "is_dir". Expand messages. Fix capitalisation.
36 * testsuite/binutils-all/dw5.W: Update expected output.
37
38 2018-07-24 Alan Modra <amodra@gmail.com>
39
40 PR 23430
41 * elfcomm.h (struct archive_info): Rename uses_64bit_indicies
42 to uses_64bit_indices.
43 * elfcomm.c (setup_archive): Update uses of above.
44 * readelf.c (process_archive): Likewise.
45 (get_section_type_name): Rename indicies to indices.
46 (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise.
47 (process_section_groups): Likewise.
48
49 2018-07-20 Maciej W. Rozycki <macro@mips.com>
50
51 * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
52 ISA maintenance.
53
54 2018-07-20 Nick Clifton <nickc@redhat.com>
55
56 * objcopy.c (add_specific_symbols): Free buffer on exit.
57 (add_redefine_syms_file): Close file handle on exit.
58 (copy_object): Close file handle on early exit.
59 Free buffer on early exit.
60 Free gaps buffers once they are no longer needed.
61 * dwarf.c (display_debug_frames): Free allocated memory on exit.
62 (load_separate_debug_info): Free allocate memory on early exit.
63
64 2018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
65 Maciej W. Rozycki <macro@mips.com>
66
67 * readelf.c (print_mips_ases): Add MMI extension.
68
69 2018-07-19 DJ Delorie <dj@redhat.com>
70
71 * MAINTAINERS (RL78, RX): Remove myself as maintainer.
72
73 2018-07-19 Nick Clifton <nickc@redhat.com>
74
75 * dwarf.c (read_cie): Free allocated memory before returning with
76 a failure result.
77
78 2018-07-16 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
79
80 * readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note
81 description.
82
83 2018-07-16 Nick Clifton <nickc@redhat.com>
84
85 * README-how-to-make-a-release: Add note to check for new top
86 level files and add them to the src-release.sh script.
87
88 2018-07-14 Nick Clifton <nickc@redhat.com>
89
90 * README-how-to-make-a-release: Updated with corrections based on
91 the 2.31 release experience.
92
93 2018-07-12 Francois H. Theron <francois.theron@netronome.com>
94
95 * readelf.c (process_section_headers): Don't print section type
96 twice for --section-details.
97
98 2018-07-10 Alan Modra <amodra@gmail.com>
99
100 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
101 zero for xgate.
102
103 2018-07-06 Nick Clifton <nickc@redhat.com>
104
105 * readelf.c (same_section): New function.
106 (print_gnu_build_attribute_description): Do not complain about
107 gaps that cross a section boundary.
108
109 2018-07-05 Nick Clifton <nickc@redhat.com>
110
111 * po/bg.po: Updated Bulgarian translation.
112
113 2018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
114
115 * NEWS: Use command-line consistently when used in a compount word.
116 * doc/binutils.texi: Likewise and fix trailing whitespace on same
117 line.
118
119 2018-06-26 Nick Clifton <nickc@redhat.com>
120
121 * po/sv.po: Updated Swedish translation.
122 * po/uk.po: Updated Ukranian translation.
123
124 2018-06-26 Nick Clifton <nickc@redhat.com>
125
126 * doc/binutils.texi: Fix spelling mistakes.
127 * README--how-to-make-a-release: Likewise.
128
129 2018-06-25 Tom Tromey <tom@tromey.com>
130
131 * dwarf-mode.el (dwarf-mode-syntax-table): New variable.
132 Bump version number.
133
134 2018-06-24 Nick Clifton <nickc@redhat.com>
135
136 * README-how-to-make-a-release: Update with experiences from
137 making 2.31 branch.
138 * po/binutils.pot: Regenerate.
139 * configure: Regenerate.
140
141 2018-06-24 Nick Clifton <nickc@redhat.com>
142
143 2.31 branch created.
144 * NEWS: Add marker for 2.31.
145
146 2018-06-21 Alan Modra <amodra@gmail.com>
147
148 * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign".
149 * doc/Makefile.in: Regenerate.
150
151 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
152
153 * configure.ac: Remove AC_PREREQ.
154 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add
155 info-in-builddir no-texinfo.tex.
156 * Makefile.in: Re-generate.
157 * aclocal.m4: Re-generate.
158 * config.in: Re-generate.
159 * configure: Re-generate.
160 * doc/Makefile.in: Re-generate.
161
162 2018-06-19 Andreas Schwab <schwab@suse.de>
163
164 * readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16.
165 (is_8bit_abs_reloc): New function.
166 (is_6bit_abs_reloc): New function.
167 (is_6bit_inplace_sub_reloc): New function.
168 (apply_relocations): Use them. Handle 6-bit relocations.
169
170 2018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
171
172 * readelf.c (print_mips_ases): Add GINV extension.
173
174 2018-06-14 H.J. Lu <hongjiu.lu@intel.com>
175
176 PR binutils/23267
177 * readelf.c (get_symbol_version_string): Check if the first
178 symbol version is base version.
179
180 2018-06-13 Scott Egerton <scott.egerton@imgtec.com>
181 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
182
183 * readelf.c (print_mips_ases): Add CRC.
184
185 2018-06-13 Nick Clifton <nickc@redhat.com>
186
187 * doc/binutils.texi (objdump): Add missing closing square
188 parenthesis to listing of objcopy's command line options.
189
190 2018-06-11 Nick Clifton <nickc@redhat.com>
191
192 * po/es.po: Updated Spanish translation.
193
194 2018-06-01 H.J. Lu <hongjiu.lu@intel.com>
195
196 * configure: Regenerated.
197
198 2018-05-31 Alan Modra <amodra@gmail.com>
199
200 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't
201 set CC_FOR_TARGET. Run test non-native.
202 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
203 Likewise.
204 (test_follow_debuglink): Run test non-native.
205
206 2018-05-30 Ant Bikeneev <ant.bikineev@gmail.com>
207
208 PR 23107
209 * ar.c (display_offsets): New variable.
210 (usage): Add description of 'O' operator.
211 (decode_option): Handle 'O' operator.
212 (print_descr): Pass display_offsets to print_arelt_descr.
213 * arsup.c: Update call to printy_arelt_descr.
214 * objdump.c: Likewise.
215 * bucomm.c (print_arelt_descr): If offsets parameter is true then
216 display offset of archive element within the archive.
217 * bucomm.h: Update prototype for print_arelt_descr.
218 * doc/binutils.texi: Update description of ar command.
219 * NEWS: Mention the new feature.
220 * testsuite/binutils-all/ar.exp: Add text of new feature.
221
222 2018-05-28 Alan Modra <amodra@gmail.com>
223
224 PR 23235
225 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return
226 unsupported rather than fail on compile errors.
227 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
228 Likewise. Save and restore CFLAGS_FOR_TARGET.
229
230 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
231
232 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
233
234 2018-05-18 John Darrington <john@darrington.wattle.id.au>
235
236 * readelf.c: Add support for s12z architecture.
237 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
238 targets.
239
240 2018-05-15 Tamar Christina <tamar.christina@arm.com>
241
242 PR binutils/21446
243 * doc/binutils.texi (-M): Document AArch64 options.
244
245 2018-05-15 Tamar Christina <tamar.christina@arm.com>
246
247 PR binutils/21446
248 * doc/binutils.texi (-M): Document AArch64 options.
249 * NEWS: Document notes and warnings.
250
251 2018-05-15 Alan Modra <amodra@gmail.com>
252
253 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
254 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
255 and *uclinux* into *linux*.
256 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
257 strip-13 test, exclude arm-vxworks and arm-windiss.
258
259 2018-05-10 John Darrington <john@darrington.wattle.id.au>
260
261 * readelf.c (get_machine_name): EM_S12Z - handle new case.
262
263 2018-05-09 Alan Modra <amodra@gmail.com>
264
265 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
266
267 2018-05-09 Sebastian Rasmussen <sebras@gmail.com>
268
269 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
270
271 2018-05-08 Alan Modra <amodra@gmail.com>
272
273 PR 23141
274 * objcopy.c (is_strip_section): Strip groups without a valid
275 signature symbol.
276
277 2018-05-07 Alan Modra <amodra@gmail.com>
278
279 PR 23142
280 * objcopy.c (group_signature): Don't accept groups that use a
281 symbol table other than the one we've read.
282
283 2018-04-30 Francois H. Theron <francois.theron@netronome.com>
284
285 * readelf.c: Very basic support for EM_NFP and its section types.
286 * testsuite/binutils-all/nfp: New directory.
287 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
288 tests.
289 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
290 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
291 * testsuite/binutils-all/nfp/test1.d: New file.
292 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
293 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
294 * NEWS: Mention the new support.
295
296 2018-04-27 Maciej W. Rozycki <macro@mips.com>
297
298 * testsuite/lib/binutils-common.exp (match_target): New procedure.
299 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
300 of `istarget' for matching with `target', `not-target', `skip'
301 and `not-skip' options.
302
303 2018-04-26 Nick Clifton <nickc@redhat.com>
304
305 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
306 32-bit absolute reloc for the HPPA target.
307 * testsuite/binutils-all/note-5.d: New test.
308 * testsuite/binutils-all/note-5.s: Source file for new test.
309 * testsuite/binutils-all/objcopy.exp: Run new test.
310
311 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
312
313 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
314 * testsuite/binutils-all/elfedit-3.d: Likewise.
315 * testsuite/binutils-all/objcopy.exp: Likewise.
316 * testsuite/binutils-all/strip-3.d: Likewise.
317 * testsuite/lib/binutils-common.exp: Likewise.
318
319 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
320 Mickaël Guêné <mickael.guene@st.com>
321
322 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
323 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
324
325 2018-04-25 Alan Modra <amodra@gmail.com>
326
327 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
328 arm-coff support.
329 * testsuite/binutils-all/objcopy.exp: Likewise.
330 * testsuite/lib/binutils-common.exp: Likewise.
331
332 2018-04-18 Nick Clifton <nickc@redhat.com>
333
334 PR 23062
335 * dwarf.c (read_and_display_attr_value): Replace assertions with
336 test and warning message.
337
338 2018-04-18 Alan Modra <amodra@gmail.com>
339
340 * testsuite/lib/binutils-common.exp: Remove support for assorted
341 aout targets.
342
343 2018-04-17 Nick Clifton <nickc@redhat.com>
344
345 PR 23063
346 * readelf.c (print_symbol): If the width is zero, return straight
347 away.
348
349 PR 23064
350 * dwarf.c (process_cu_tu_index): Test for a potential buffer
351 overrun before copying signature pointer.
352
353 2018-04-17 Alan Modra <amodra@gmail.com>
354
355 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
356
357 2018-04-16 Alan Modra <amodra@gmail.com>
358
359 * readelf.c (get_machine_name): Correct typo.
360
361 2018-04-16 Alan Modra <amodra@gmail.com>
362
363 * configure.ac: Remove arm-epoc-pe support.
364 * dlltool.c: Likewise.
365 * configure: Regenerate.
366
367 2018-04-16 Alan Modra <amodra@gmail.com>
368
369 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
370 sparc-coff support.
371
372 2018-04-16 Alan Modra <amodra@gmail.com>
373
374 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
375 support.
376 * testsuite/binutils-all/copy-3.d: Likewise.
377 * testsuite/binutils-all/objcopy.exp: Likewise.
378 * testsuite/lib/binutils-common.exp: Likewise.
379
380 2018-04-16 Alan Modra <amodra@gmail.com>
381
382 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
383
384 2018-04-16 Alan Modra <amodra@gmail.com>
385
386 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
387
388 2018-04-16 Alan Modra <amodra@gmail.com>
389
390 * testsuite/binutils-all/objdump.exp: Remove we32k support.
391
392 2018-04-16 Alan Modra <amodra@gmail.com>
393
394 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
395 * testsuite/binutils-all/objdump.exp: Remove m88k support.
396
397 2018-04-16 Alan Modra <amodra@gmail.com>
398
399 * readelf.c: Remove i370 support.
400 * testsuite/binutils-all/objdump.exp: Likewise.
401
402 2018-04-16 Alan Modra <amodra@gmail.com>
403
404 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
405 * testsuite/lib/binutils-common.exp: Likewise.
406
407 2018-04-16 Alan Modra <amodra@gmail.com>
408
409 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
410
411 2018-04-16 Alan Modra <amodra@gmail.com>
412
413 * Makefile.am: Remove IEEE 695 support.
414 * budbg.h: Likewise.
415 * doc/binutils.texi: Likewise.
416 * makefile.vms: Likewise.
417 * objcopy.c: Likewise.
418 * objdump.c: Likewise.
419 * rddbg.c: Likewise.
420 * ieee.c: Delete.
421 * Makefile.in: Regenerate.
422 * po/POTFILES.in: Regenerate.
423
424 2018-04-16 Alan Modra <amodra@gmail.com>
425
426 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
427 * testsuite/binutils-all/nm.exp: Likewise.
428
429 2018-04-16 Alan Modra <amodra@gmail.com>
430
431 * .gitignore: Remove netware support.
432 * Makefile.am: Likewise.
433 * configure.ac: Likewise.
434 * doc/Makefile.am: Likewise.
435 * doc/binutils.texi: Likewise.
436 * testsuite/binutils-all/nm.exp: Likewise.
437 * nlmconv.c: Delete.
438 * nlmconv.h: Delete.
439 * nlmheader.y: Delete.
440 * Makefile.in: Regenerate.
441 * configure: Regenerate.
442 * doc/Makefile.in: Regenerate.
443 * po/POTFILES.in: Regenerate.
444
445 2018-04-16 Alan Modra <amodra@gmail.com>
446
447 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
448
449 2018-04-14 Alan Modra <amodra@gmail.com>
450
451 * readelf.c (get_machine_name): Revert 2018-04-11 change.
452
453 2018-04-12 Nick Clifton <nickc@redhat.com>
454
455 PR 23050
456 * readelf.c (process_dynamic_section): Correct dynamic string
457 table size calculation.
458
459 2018-04-11 Alan Modra <amodra@gmail.com>
460
461 * ieee.c: Remove i960 support.
462 * od-macho.c: Remove i860 support.
463 * readelf.c: Remove i860 and i960 support.
464 * testsuite/binutils-all/objcopy.exp: Likewise.
465 * testsuite/binutils-all/objdump.exp: Likewise.
466 * testsuite/lib/binutils-common.exp: Likewise.
467
468 2018-04-11 Maciej W. Rozycki <macro@mips.com>
469
470 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
471 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
472
473 2018-04-10 Alan Modra <amodra@gmail.com>
474
475 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
476 reloc=11 for pru and reloc=50 for nds32.
477 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
478
479 2018-04-09 Maciej W. Rozycki <macro@mips.com>
480
481 * testsuite/binutils-all/strip-15.d: New test.
482 * testsuite/binutils-all/strip-15rel.s: New test source.
483 * testsuite/binutils-all/strip-15rela.s: New test source.
484 * testsuite/binutils-all/strip-15mips64.s: New test source.
485 * testsuite/binutils-all/objcopy.exp: Run the new test.
486
487 2018-04-09 Maciej W. Rozycki <macro@mips.com>
488
489 * testsuite/binutils-all/strip-14.d: New test.
490 * testsuite/binutils-all/strip-14rel.s: New test source.
491 * testsuite/binutils-all/strip-14rela.s: New test source.
492 * testsuite/binutils-all/strip-14mips64.s: New test source.
493 * testsuite/binutils-all/objcopy.exp: Run the new test.
494
495 2018-04-06 Tom Tromey <tom@tromey.com>
496
497 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
498 constants from DWARF 5.
499
500 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
501
502 PR gas/22318
503 * configure: Regenerated.
504
505 2018-04-05 Maciej W. Rozycki <macro@mips.com>
506
507 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
508 than `.dc.w' in second relocation.
509
510 2018-04-05 Maciej W. Rozycki <macro@mips.com>
511
512 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
513 relocation type 0x8f' error message.
514
515 2018-04-05 Maciej W. Rozycki <macro@mips.com>
516
517 * testsuite/binutils-all/strip-13.s: Rename to...
518 * testsuite/binutils-all/strip-13rela.s: ... this.
519 * testsuite/binutils-all/strip-13rel.s: New test source.
520 * testsuite/binutils-all/strip-13mips64.s: New test source.
521 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
522 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
523 `m68hc11-*' to `not-target' list.
524 * testsuite/binutils-all/objcopy.exp: Switch between sources for
525 `strip-13'.
526
527 2018-04-05 Maciej W. Rozycki <macro@mips.com>
528
529 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
530 241 (0xf1) for the relocation number and RELA addend.
531 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
532 `not-target' list.
533
534 2018-04-04 John David Anglin <danglin@gcc.gnu.org>
535
536 * MAINTAINERS: Update my e-mail address.
537
538 2018-04-04 Nick Clifton <nickc@redhat.com>
539
540 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
541
542 2018-03-23 Nick Clifton <nickc@redhat.com>
543
544 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
545 symbols.
546 (print_gnu_build_attribute_description): If no file start symbol
547 could be found, look for one two bytes into the file.
548 * testsuite/binutils-all/note-4-64.s: Set the address of the file
549 start symbol to two bytes into the file.
550 * testsuite/binutils-all/note-4-32.s: Likewise.
551
552 2018-03-21 H.J. Lu <hongjiu.lu@intel.com>
553
554 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
555 DF_1_WEAKFILTER and DF_1_NOCOMMON.
556
557 2018-03-20 Nick Clifton <nickc@redhat.com>
558
559 * po/es.po: Updated Spanish translation.
560 * po/ru.po: Updated Russian translation.
561
562 2018-03-13 Nick Clifton <nickc@redhat.com>
563
564 PR 22957
565 * stabs.c (pop_binincl): Fail if the file index is off the end of
566 the stack.
567
568 2018-03-13 Nick Clifton <nickc@redhat.com>
569
570 PR 22955
571 * stabs.c (parse_number): Add p_end parameter and use it to check
572 the validity of the pp parameter. Add checks to prevent walking
573 off the end of the string buffer.
574 (parse_stab_string): Likewise.
575 (parse_stab_type): Likewise.
576 (parse_stab_type_number): Likewise.
577 (parse_stab_range_type): Likewise.
578 (parse_stab_sun_builtin_type): Likewise.
579 (parse_stab_sun_floating_type): Likewise.
580 (parse_stab_enum_type): Likewise.
581 (parse_stab_struct_type): Likewise.
582 (parse_stab_baseclasses): Likewise.
583 (parse_stab_struct_fields): Likewise.
584 (parse_stab_cpp_abbrev): Likewise.
585 (parse_stab_one_struct_field): Likewise.
586 (parse_stab_members): Likewise.
587 (parse_stab_tilde_field): Likewise.
588 (parse_stab_array_type): Likewise.
589
590 * parse_stab: Compute the end of the string and then pass it on to
591 individual parser functions.
592
593 2018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
594
595 PR binutils/22923
596 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
597 overflow.
598
599 2018-03-07 Alan Modra <amodra@gmail.com>
600
601 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
602 * configure: Regenerate.
603
604 2018-03-05 H.J. Lu <hongjiu.lu@intel.com>
605
606 PR binutils/22911
607 * objdump.c (is_significant_symbol_name): Return TRUE for all
608 .plt* sections.
609 (find_symbol_for_address): Replace linear search with binary
610 search on dynamic relocations.
611
612 2018-03-01 Nick Clifton <nickc@redhat.com>
613
614 PR 22905
615 * dwarf.c (display_debug_ranges): Check that the offset loaded
616 from the range_entry structure is valid.
617
618 2018-03-01 Alan Modra <amodra@gmail.com>
619
620 * configure.ac (ALL_LINGUAS): Add sr. Sort.
621 * configure: Regenerate.
622
623 2018-02-27 Nick Clifton <nickc@redhat.com>
624
625 * po/pt.po: New Portuguese translation.
626 * configure.ac (ALL_LINGUAS): Add pt.
627 * configure: Regenerate.
628
629 2018-02-27 Nick Clifton <nickc@redhat.com>
630
631 PR 22875
632 * objcopy.c (copy_object): Check the error status after marking
633 symbols used in relocations.
634 * testsuite/binutils-all/strip-13.s: New test source file.
635 * testsuite/binutils-all/strip-13.s: New test driver file.
636 * testsuite/binutils-all/objcopy.exp: Run the new test.
637
638 2018-02-26 Alan Modra <amodra@gmail.com>
639
640 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
641 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
642
643 2018-02-23 Alan Modra <amodra@gmail.com>
644
645 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
646 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
647
648 2018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
649
650 * doc/binutils.texi (objcopy): Add missing closing square
651 parenthesis to listing of objcopy's command line options.
652
653 2018-02-19 Matthias Klose <doko@debian.org>
654
655 * strings.c (long_options): Include-all-whitespace does not take
656 an extra agument.
657
658 2018-02-13 Alan Modra <amodra@gmail.com>
659
660 PR 22836
661 * testsuite/binutils-all/group-7.s,
662 * testsuite/binutils-all/group-7a.d,
663 * testsuite/binutils-all/group-7b.d,
664 * testsuite/binutils-all/group-7c.d: New tests.
665 * testsuite/binutils-all/objcopy.exp: Run them.
666
667 2018-02-08 Nick Clifton <nickc@redhat.com>
668
669 PR 22802
670 * dwarf.c (load_separate_debug_file): Return early if the user is
671 not interested in debug links.
672
673 2018-02-06 Nick Clifton <nickc@redhat.com>
674
675 PR 22793
676 * readelf.c (find_section): Replace assertion with test and return
677 of NULL.
678 (find_section_by_address): Add test of section header table
679 existance.
680 (find_section_by_type): Likewise.
681 (find_section_in_set): Likewise.
682
683 2018-02-05 Maciej W. Rozycki <macro@mips.com>
684
685 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
686 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
687 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
688 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
689
690 2018-02-05 Maciej W. Rozycki <macro@mips.com>
691
692 * testsuite/config/default.exp (binutils_run): Document
693 `binutils_run_status'.
694 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
695 and set it.
696 (run_dump_test): Add `error', `error_output', `warning' and
697 `warning_output' options. Update documentation accordingly.
698
699 2018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
700
701 * dwarf.c (dwarf_regnames_riscv): New register name table.
702 (init_dwarf_regnames_riscv): New function.
703 (init_dwarf_regnames): Add call to initialise RiscV register
704 names.
705 * dwarf.h (init_dwarf_regnames_riscv): Declare.
706 * objdump.c (dump_dwarf): Add call to initialise RiscV register
707 names.
708
709 2018-02-01 Alan Modra <amodra@gmail.com>
710
711 PR 22769
712 * objdump.c (load_specific_debug_section): Check for overflow
713 when adding one to section size for a string section terminator.
714
715 2018-01-30 Nick Clifton <nickc@redhat.com>
716
717 PR 22734
718 * doc/binutils.texi (nm): Update description to point out that
719 zero-initialized values can also be shown as type B, b, S or s
720 since they can be stored in the BSS section.
721
722 2018-01-30 Alan Modra <amodra@gmail.com>
723
724 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
725 "artificially large" end address.
726
727 2018-01-28 Nick Clifton <nickc@redhat.com>
728
729 * README-how-to-make-a-release: Add note about checking gpg key
730 and the results of gnupload.
731
732 2018-01-27 Nick Clifton <nickc@redhat.com>
733
734 * README-how-to-make-a-release: Add details on how to actually
735 make the release.
736
737 2018-01-26 Nick Clifton <nickc@redhat.com>
738
739 * README-how-to-make-a-release: Add more details on updating
740 version numbers.
741
742 2018-01-22 Maciej W. Rozycki <macro@mips.com>
743
744 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
745 option description.
746
747 2018-01-22 Maciej W. Rozycki <macro@mips.com>
748
749 * MAINTAINERS: Update my company e-mail address.
750
751 2018-01-22 Nick Clifton <nickc@redhat.com>
752
753 * po/sv.po: Updated Swedish translation.
754
755 2018-01-18 Nick Clifton <nickc@redhat.com>
756
757 * po/bg.po: Updated Bulgarian translation.
758
759 2018-01-16 Joel Brobecker <brobecker@adacore.com>
760
761 * README-how-to-make-a-release: Add reminder to update the
762 branch name in gdbadmin's crontab on sourceware.
763
764 2018-01-16 Joel Brobecker <brobecker@adacore.com>
765
766 * README-how-to-make-a-release: Remove trailing spaces.
767
768 2018-01-16 Nick Clifton <nickc@redhat.com>
769
770 * po/fr.po: Updated French translation.
771
772 2018-01-15 Nick Clifton <nickc@redhat.com>
773
774 * po/uk.po: Updated Ukranian translation.
775
776 2018-01-13 Nick Clifton <nickc@redhat.com>
777
778 * README-how-to-make-a-release: Update notes.
779 * po/binutils.pot: Regenerated.
780
781 2018-01-13 Nick Clifton <nickc@redhat.com>
782
783 * configure: Regenerate.
784
785 2018-01-13 Nick Clifton <nickc@redhat.com>
786
787 2.30 branch created.
788 * NEWS: Add marker for 2.30.
789
790 2018-01-12 Nick Clifton <nickc@redhat.com>
791
792 * README-how-to-make-a-release: Add notes on how to make the
793 branch and prelease snapshot.
794 * BRANCHES: Add binutils-2_29-branch.
795
796 2018-01-10 Nick Clifton <nickc@redhat.com>
797
798 * MAINTAINERS: Note that it is now the configure.ac file and not
799 the configure.in file that needs to be kept in sync with gcc.
800 Add a note about sending patches for libiberty to gcc.
801
802 2018-01-03 Nick Clifton <nickc@redhat.com>
803
804 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
805 constants.
806
807 2018-01-03 Nick Clifton <nickc@redhat.com>
808
809 * objcopy.c (objcopy_internal_note): New structure.
810 (gap_exists): New function.
811 (is_open_note): New function.
812 (is_func_note): New function.
813 (is_64bit): New function.
814 (merge_gnu_build_notes): Handle v3 notes. Do not merge
815 if there are relocations against the notes.
816 * readelf.c (get_note_type): Use short names for build attribute
817 notes.
818 (print_symbol_for_build_attribute): Rename to
819 get_symbol_for_build_attribute. Returns the found symbol rather
820 than printing it.
821 (print_gnu_build_attribute_description): Maintain address ranges
822 for function notes as well as global notes. Handle v3 notes.
823 (print_gnu_build_attribute_name): Use more space for printing the
824 name in wide mode.
825 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
826 Eliminate symbol references in order to remove the need for
827 relocations.
828 * testsuite/binutils-all/note-2-64.s: Likewise.
829 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
830 symbol.
831 * testsuite/binutils-all/note-3-64.s: Likewise.
832 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
833 output.
834 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
835 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
836 * testsuite/binutils-all/note-2-32.d: Likewise.
837 * testsuite/binutils-all/note-2-64.d: Likewise.
838 * testsuite/binutils-all/note-3-32.d: Likewise.
839 * testsuite/binutils-all/note-3-64.d: Likewise.
840 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
841 * testsuite/binutils-all/note-4-32.s: New test.
842 * testsuite/binutils-all/note-4-64.d: New test result file.
843 * testsuite/binutils-all/note-4-32.d: New test result file.
844
845 2018-01-03 Alan Modra <amodra@gmail.com>
846
847 Update year range in copyright notice of all files.
848
849 For older changes see ChangeLog-2017
850 \f
851 Copyright (C) 2018 Free Software Foundation, Inc.
852
853 Copying and distribution of this file, with or without modification,
854 are permitted in any medium without royalty provided the copyright
855 notice and this notice are preserved.
856
857 Local Variables:
858 mode: change-log
859 left-margin: 8
860 fill-column: 74
861 version-control: never
862 End: