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