gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / binutils / ChangeLog-2016
CommitLineData
5c1ad6b5
AM
12016-12-31 Dimitar Dimitrov <dimitar@dinux.eu>
2
3 * readelf.c (guess_is_rela): Add EM_TI_PRU.
4 (dump_relocations): Invoke elf_pru_reloc_type.
5 (get_machine_name): Handle EM_TI_PRU.
6 (is_32bit_abs_reloc): Handle R_PRU_BFD_RELOC_32.
7 (is_16bit_abs_reloc): Handle R_PRU_BFD_RELOC_16.
8 (is_none_reloc): Handle PRU_NONE and PRU_DIFF variants.
9
102016-12-23 Maciej W. Rozycki <macro@imgtec.com>
11
12 * testsuite/binutils-all/mips/mips16-extend-insn.d: Update for
13 ASMACRO support.
14
152016-12-23 Maciej W. Rozycki <macro@imgtec.com>
16
17 * testsuite/binutils-all/mips/mips16-extend-insn.d: New test.
18 * testsuite/binutils-all/mips/mips16-extend-insn.s: New test
19 source.
20 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
21
222016-12-23 Tristan Gingold <gingold@adacore.com>
23
24 * configure: Regenerate.
25
262016-12-23 Tristan Gingold <gingold@adacore.com>
27
28 * NEWS: Add marker for 2.28.
29
302016-12-23 Tristan Gingold <gingold@adacore.com>
31
32 * po/binutils.pot: Regenerate.
33
342016-12-20 Maciej W. Rozycki <macro@imgtec.com>
35
36 * testsuite/binutils-all/mips/mips16-undecoded.s: Use `.module'
37 rather than `.set' to set the ISA level.
38
392016-12-20 Maciej W. Rozycki <macro@imgtec.com>
40
41 * testsuite/binutils-all/mips/mips16-extend-noinsn.d: Adjust
42 test for separate EXTEND prefix disassembly.
43
442016-12-20 Andrew Waterman <andrew@sifive.com>
45
46 * readelf.c (get_machine_flags): Use
47 EF_RISCV_FLOAT_ABI_{SOFT,SINGLE,DOBULE,QUAD) instead of
48 EF_RISCV_{SOFT,HARD}_FLOAT.
49
502016-12-14 Maciej W. Rozycki <macro@imgtec.com>
51
52 * testsuite/binutils-all/mips/mips-ase-1.d: New test.
53 * testsuite/binutils-all/mips/mips-ase-2.d: New test.
54 * testsuite/binutils-all/mips/mips-ase-3.d: New test.
55 * testsuite/binutils-all/mips/mips-ase-1.s: New test source.
56 * testsuite/binutils-all/mips/mips-ase-2.s: New test source.
57 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
58
592016-12-13 Jiong Wang <jiong.wang@arm.com>
60
61 * readelf.c (is_32bit_abs_reloc): Recognize R_AARCH64_P32_ABS32.
62
632016-12-13 Nick Clifton <nickc@redhat.com>
64
65 * MAINTAINERS (Past Maintainers): New section. Move Mark
66 Mitchell's name here.
67
682016-12-09 Maciej W. Rozycki <macro@imgtec.com>
69
70 * testsuite/binutils-all/mips/mips16-extend-noinsn.d: New test.
71 * testsuite/binutils-all/mips/mips16-extend-noinsn.s: New test
72 source.
73 * testsuite/binutils-all/mips/mips.exp: Run the new test.
74
752016-12-08 Maciej W. Rozycki <macro@imgtec.com>
76
77 * testsuite/binutils-all/mips/mips16-pcrel.d: New test.
78 * testsuite/binutils-all/mips/mips16-pcrel.s: New test source.
79 * testsuite/binutils-all/mips/mips.exp: Run the new test.
80
812016-12-08 Étienne Buira <etienne.buira@gmail.com>
82
83 * readelf.c (process_program_headers): Always use hex prefix when
84 displaying the segment alignment.
85
862016-12-06 Nick Clifton <nickc@redhat.com>
87
88 PR binutils/20930
89 * objcopy.c (mark_symbols_used_in_relocations): Check for a null
90 symbol pointer pointer before attempting to mark the symbol as
91 kept.
92
932016-12-05 Jose E. Marchesi <jose.marchesi@oracle.com>
94
95 * MAINTAINERS: Add myself as maintainer for the SPARC targets.
96
972016-12-05 Nick Clifton <nickc@redhat.com>
98
99 PR ld/20923
100 * objcopy.c (mark_symbols_used_in_relocations): Check for a null
101 symbol pointer before attempting to mark the symbol as kept.
102
1032016-12-01 Luis Machado <lgustavo@codesourcery.com>
104
105 * nm.c (sort_symbols_by_size): Don't read symbol size if symbol
106 is synthetic.
107
1082016-11-30 Nick Clifton <nickc@redhat.com>
109
110 PR ld/20815
111 * readelf.c (process_program_headers): Do not warn about out of
112 order PT_LOAD segments.
113
1142016-11-29 Claudiu Zissulescu <claziss@synopsys.com>
115
116 * testsuite/binutils-all/arc/objdump.exp (Warning test): Update
117 test.
118
1192016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
120
121 * dwarf.c: Fix spelling in comments.
122 * dwarf.h: Fix spelling in comments.
123 * objcopy.c: Fix spelling in comments.
124 * od-macho.c: Fix spelling in comments.
125 * rclex.c: Fix spelling in comments.
126 * readelf.c: Fix spelling in comments.
127 * stabs.c: Fix spelling in comments.
128
1292016-11-23 Nick Clifton <nickc@redhat.com>
130
131 PR ld/20815
132 * readelf.c (process_program_headers): Check PT_LOAD and PT_PHDR
133 segments for validity.
134
1352016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
136
137 * configure: Regenerate.
138
1392016-11-22 Alan Modra <amodra@gmail.com>
140
141 PR 20744
142 * NEWS: Mention PowerPC VLE relocation error.
143
1442016-11-16 Mark Wielaard <mark@klomp.org>
145
146 * cxxfilt.c (main): Recognize rust_demangling.
147
1482016-11-14 Rudy <jacky.chouchou@yandex.ru>
149
150 PR binutils/20814
151 * dlltool.c (struct export): Remove hint field.
152 (make_one_lib_file): Store the ordinal value for IDATA6 not the
153 hint.
154 (gen_lib_file): Delete reference to hint field.
155 (mangle_defs): Delete computation of hint field.
156
1572016-11-11 Nick Clifton <nickc@redhat.com>
158
159 PR binutils/20751
160 * nm.c (with_symbol_versions): New local variable.
161 (long_options): Add --with-symbol-versions.
162 (usage): Mention --with-symbol-versions.
163 (print_symbol): If with_symbol_versions is set then display the
164 version information associated with the symbol.
165 * NEWS: Mention the new feature.
166 * doc/binutils.texi (nm): Document the new option.
167 (objdump): Describe how symbol version information is displayed
168 for dynamic symbol dumps.
169 (readelf): Describe how symbol version information is displayed.
170 * testsuite/binutils-all/nm.exp: Add a test of the new feature.
171
1722016-11-08 Nick Clifton <nickc@redhat.com>
173
174 PR binutils/20794
175 * readelf.c (process_section_headers): Fix off-by-one error when
176 checking for invalid sh_link and sh_info fields.
177
1782016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
179
180 * objcopy.c (copy_section): Add extra calls to free for error
181 paths.
182
1832016-11-04 Tom Tromey <tom@tromey.com>
184
185 * dwarf-mode.el (dwarf-browse): Set default-directory. Bump
186 version number.
187
1882016-11-04 Palmer Dabbelt <palmer@dabbelt.com>
189
190 * MAINTAINERS: Add myself and Andrew Waterman as maintainers for
191 the RISC-V target.
192
1932016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
194 Andrew Waterman <andrew@sifive.com>
195
196 Add support for RISC-V architecture.
197 * readelf.c (guess_is_rela): Add EM_RISCV.
198 (get_machine_name): Likewise.
199 (dump_relocations): Add support for riscv relocations.
200 (get_machine_flags): Add support for riscv flags.
201 (is_32bit_abs_reloc): Add R_RISCV_32.
202 (is_64bit_abs_reloc): Add R_RISCV_64.
203 (is_none_reloc): Add R_RISCV_NONE.
204 * testsuite/binutils-all/objdump.exp (cpus_expected): Add riscv.
205 Expect the debug_ranges test to fail.
206
2072016-10-17 Nick Clifton <nickc@redhat.com>
208
209 * readelf.c (apply_relocations): Fail if the symbol table section
210 linked to by the reloc section does not have either the SHT_SYMTAB
211 or SHT_DYNSYM type.
212 (print_gnu_note): Decode the contents of NT_GNU_HWCAP notes.
213 Print the contents of unknown note types.
214 (process_note): Add the file and section to the parameter list.
215 Use print_symbol to display the note name.
216 Display the contents of unknown note types.
217 (process_corefile_note_segment): Rename to process_notes_at.
218 Add section parameter. Apply relocations to the notes when
219 loading from a section. Display section name when processing
220 notes in a section.
221 * testsuite/binutils-all/readelf.n: Update expected output.
222
2232016-10-17 Nick Clifton <nickc@redhat.com>
224
225 * readelf.c (get_dynamic_type): Add DT_SYMTAB_SHNDX.
226 (get_machine_type): Add EM_CLOUDSHIELD, EM_COREA_1ST,
227 EM_COREA_2ND, EM_OPEN8, EM_VIDEOCORE5, EM_56800EX, EM_BA1, EM_BA2,
228 EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_KMX16, EM_KMX8,
229 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA,
230 EM_Z80, EM_AMDGPU, EM_RISCV.
231 (get_osabi_name): Add ELFOSABI_CLOUDABI and ELFOSABI_OPENVS.
232 (get_group_flags): Update to handle flags in the
233 GRP_MASKOS and GRP_MASKPROC ranges.
234
2352016-10-14 Luis Machado <lgustavo@codesourcery.com>
236
237 * testsuite/lib/utils-lib.exp (run_dump_test): Call remote_download
238 to copy file to remote host.
239
2402016-10-11 Nick Clifton <nickc@redhat.com>
241
242 * objdump.c (is_significant_symbol_name): New function.
243 (remove_useless_symbols): Do not remove significanr symbols.
244 (find_symbol_for_address): If an exact match for the specified
245 address has not been found, try scanning the dynamic relocs to see
246 if one of these matches the address. If so, use the symbol
247 associated with the reloc.
248 (objdump_print_addr_with_symbol): Do not print offsets to symbols
249 with no value.
250 (disassemble_section): Only use dynamic relocs if the user
251 requested this.
252 (disassemble_data): Always load dynamic relocs if they are
253 available.
254
2552016-10-06 Alan Modra <amodra@gmail.com>
256
257 * dlltool.c: Spell fall through comments consistently.
258 * objcopy.c: Likewise.
259 * readelf.c: Likewise.
260 * dwarf.c: Add missing fall through comments.
261 * elfcomm.c: Likewise.
262 * sysinfo.y: Likewise.
263 * readelf.c: Likewise. Also remove extraneous comments.
264
2652016-10-06 Alan Modra <amodra@gmail.com>
266
267 * cxxfilt.c (usage): Add ATTRIBUTE_NORETURN.
268 * elfedit.c (usage): Likewise.
269 * nm.c (usage): Likewise.
270 * objcopy.c (copy_usage, strip_usage): Likewise.
271 * srconv.c (show_usage): Likewise.
272 * strings.c (usage): Likewise.
273 * sysdump.c (show_usage): Likewise.
274 * srconv.c: Remove unneeded forward function declarations.
275 * strings.c: Likewise.
276 * sysdump.c: Likewise.
277
2782016-10-06 Alan Modra <amodra@gmail.com>
279
280 * coffdump.c (dump_coff_where): Add missing break.
281 * stabs.c (stab_xcoff_builtin_type): Likewise.
282
2832016-09-29 Alan Modra <amodra@gmail.com>
284
285 * readelf.c (process_arch_specific): Call process_power_specific
286 for EM_PPC64.
287
2882016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
289
290 * Makefile.am: Replace AM_CLFAGS with AM_CFLAGS_FOR_BUILD
291 when building with CC_FOR_BUILD compiler.
292 * Makefile.in: Regenerate.
293 * configure: Likewise.
294 * doc/Makefile.in: Likewise.
295
2962016-09-26 Alan Modra <amodra@gmail.com>
297
298 * readelf.c (display_power_gnu_attribute): Catch truncated section
299 for all powerpc attributes. Display long double ABI. Don't
300 capitalize words, except for names. Show known bits of tag values
301 when some unknown bits are present. Whitespace fixes.
302
3032016-09-26 Alan Modra <amodra@gmail.com>
304
305 * nm.c (get_elf_symbol_type): Don't use sprintf with translated
306 strings, use asprintf instead.
307 (get_coff_symbol_type): Likewise.
308
3092016-09-19 Alan Modra <amodra@gmail.com>
310
311 * nm.c (print_symbol): Remove is_synthetic param. Test sym->flags
312 instead.
313 (print_size_symbols, print_symbols): Adjust to suit, deleting
314 now unused synth_count param and fromsynth var.
315 (display_rel_file): Adjust, localizing synth_count.
316
3172016-09-14 Ed Maste <emaste@freebsd.org>
318
319 * readelf.c (process_mips_specific): Fix typo in error message.
320
3212016-09-06 Nick Clifton <nickc@redhat.com>
322
323 * readelf.c (request_dump_bynumber): Only call memcpy if
324 dump_sects is not NULL.
325
3262016-08-29 H.J. Lu <hongjiu.lu@intel.com>
327
328 * readelf.c (load_specific_debug_section): Check the external
329 compression header size.
330
3312016-08-19 Nick Clifton <nickc@redhat.com>
332
4d74727a
AM
333 * readelf.c (process_section_headers): Sanity check section headers.
334 (process_symbol_table): Don't warn on solaris binaries with local
335 symbols past symtab sh_info.
5c1ad6b5
AM
336 * testsuite/binutils-all/readelf.s: Adjust expected ordering of
337 sections.
338 * testsuite/binutils-all/readelf.s-64: Likewise.
339
3402016-08-12 Nick Clifton <nickc@redhat.com>
341
342 * readelf.c (process_symbol_table): Generate a warning if a local
343 symbol is found at and offste greater than or equal to the sh_info
344 field of it's section header.
345
3462016-08-08 Nick Clifton <nickc@redhat.com>
347
348 PR binutils/20440
349 * dwarf.c (display_debug_lines_decoded): Add checks for running
350 off the end of the section when populating the directory table and
351 file table.
352 (frame_display_row): Set max_regs equal to ncols.
353 * readelf.c (load_specific_debug_section): If the section is
354 compressed, but it is not big enough to hold a compression
355 header then warn and return 0.
356
357 PR binutils/20439
358 * dwarf.c (display_debug_lines_decoded): Check directory and file
359 indicies before using them to access directory and file tables.
360
3612016-08-02 Nick Clifton <nickc@redhat.com>
362
363 PR binutils/17512
364 * resbin.c (bin_to_res_version): Cast variables to correct type
365 for printing in error message.
366
3672016-07-28 Nick Clifton <nickc@redhat.com>
368
369 PR binutils/17512
370 * rescoff.c (read_coff_res_dir): Fix detection of buffer overrun.
371 * resbin.c (bin_to_res_version): Allow for the padded length of a
372 version block to be longer than the recorded length. Skip padding
373 bytes.
374
3752016-07-21 H.J. Lu <hongjiu.lu@intel.com>
376
377 * configure: Regenerated.
378
3792016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
380
381 * doc/binutils.texi (objdump): Add ARC disassembler options.
382 * testsuite/binutils-all/arc/dsp.s: New file.
383 * testsuite/binutils-all/arc/objdump.exp: Likewise.
384 * NEWS: Mention the new feature.
385
3862016-07-20 Nick Clifton <nickc@redhat.com>
387
388 * doc/binutils.texi (objcopy): Note that the localize symbol
389 options do not affect unique symbols.
390
3912016-07-16 Alan Modra <amodra@gmail.com>
392
393 * ar.c: Include plugin-api.h.
394 * nm.c: Likewise.
395
3962016-07-16 Alan Modra <amodra@gmail.com>
397
398 * bucomm.c: Don't include libbfd.h.
399 (endian_string, display_target_list): Delete forward declaration.
400 (display_info_table, display_target_tables): Likewise.
401 (LONGEST_ARCH): Delete.
402 (struct display_target): New.
403 (do_display_target): New function.
404 (display_target_list, display_info): Rewrite functions.
405 (display_info_table): Delete.
406 (do_info_size, do_info_header, do_info_row): New functions.
407
4082016-07-16 Alan Modra <amodra@gmail.com>
409
410 * elfcomm.h (HOST_WIDEST_INT): Move to..
411 * sysdep.h: ..here.
412 * od-macho.c: Don't include libbfd.h. Do include dwarf.h
413 (dump_dyld_info_rebase): Use read_leb128 rather than
414 read_unsigned_leb128.
415 (dump_dyld_info_bind, dump_dyld_info_export_1): Likewise.
416 (dump_segment_split_info): Likewise.
417 (dump_dyld_info): Rename vars to avoid shadowing dwarf.h enums.
418 (dump_load_command): Likewise.
419
4202016-07-16 Alan Modra <amodra@gmail.com>
421
422 * ar.c: Don't include libbfd.h.
423 * objcopy.c: Likewise.
424 * bucomm.c (bfd_get_archive_filename): Use xmalloc rather than
425 bfd_malloc.
426
4272016-07-15 Alan Modra <amodra@gmail.com>
428
429 * testsuite/binutils-all/remove-relocs-01.s: Use .dc.a, not .word.
430
4312016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
432
433 * doc/binutils.texi (objcopy): Document 'remove-relocations'.
434 (strip): Likewise.
435 * objcopy.c (SECTION_CONTEXT_REMOVE_RELOCS): Define.
436 (enum command_line_switch): Add 'OPTION_REMOVE_RELOCS'.
437 (struct option strip_options): Add 'remove-relocations'.
438 (struct option copy_options): Likewise.
439 (copy_usage): Likewise.
440 (strip_usage): Likewise.
441 (handle_remove_relocations_option): New function.
442 (discard_relocations): New function.
443 (handle_remove_section_option): New function.
444 (copy_relocations_in_section): Use discard_relocations.
445 (strip_main): Use handle_remove_section_option for
446 'remove-section', and handle 'remove-relocations' option.
447 (copy_main): Likewise.
448 * testsuite/binutils-all/objcopy.exp: Run new tests.
449 * testsuite/binutils-all/remove-relocs-01.d: New file.
450 * testsuite/binutils-all/remove-relocs-01.s: New file.
451 * testsuite/binutils-all/remove-relocs-02.d: New file.
452 * testsuite/binutils-all/remove-relocs-03.d: New file.
453 * testsuite/binutils-all/remove-relocs-04.d: New file.
454 * testsuite/binutils-all/remove-relocs-05.d: New file.
455 * testsuite/binutils-all/remove-relocs-06.d: New file.
456 * NEWS: Mention new option.
457
4582016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
459
460 * objcopy.c (find_section_list): Handle section patterns starting
461 with '!' being a non-matching pattern.
462 * doc/binutils.texi (objcopy): Give example of using '!' with
463 --remove-section and --only-section.
464 (strip): Give example of using '!' with --remove-section.
465 * testsuite/binutils-all/data-sections.s: New file.
466 * testsuite/binutils-all/only-section-01.d: New file.
467 * testsuite/binutils-all/remove-section-01.d: New file.
468 * testsuite/binutils-all/objcopy.exp: Run new tests.
469 * NEWS: Mention new feature.
470
4712016-07-09 Alan Modra <amodra@gmail.com>
472
473 PR binutils/20337
474 * objdump.c (compare_symbols): For ELF, sort same value/type
475 symbols according to size.
476
4772016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
478
479 * objdump.c (dump_section_header): Rename SEC_ELF_NOREAD
480 to SEC_ELF_NOREAD.
481 * readelf.c (get_elf_section_flags): Rename ARM_NOREAD to
482 ARM_PURECODE and SHF_ARM_NOREAD to SHF_ARM_PURECODE.
483 (process_section_headers): Rename noread to purecode.
484
485 * section.c (SEC_ELF_NOREAD): Rename to ...
486 (SEC_ELF_PURECODE): ... this.
487
4882016-07-01 Nick Clifton <nickc@redhat.com>
489
490 * prdbg.c (pr_enum_type): Use a buffer big enough to hold an
491 extremely large decimal value.
492 (pr_range_type): Likewise.
493 (pr_array_type): Likewise.
494 (pr_struct_field): Likewise.
495 (pr_class_baseclass): Likewise.
496 (pr_class_method_variant): Likewise.
497 (pr_tag_type): Likewise.
498 (pr_int_constant): Likewise.
499 (pr_typed_constant): Likewise.
500 (pr_variable): Likewise.
501 (pr_function_parameter): Likewise.
502 (pr_start_block): Likewise.
503 (pr_lineno): Likewise.
504 (pr_end_block): Likewise.
505 (tg_enum_type): Likewise.
506 (tg_int_constant): Likewise.
507 (tg_typed_constant): Likewise.
508 (tg_start_block): Likewise.
509
5102016-07-01 Nick Clifton <nickc@redhat.com>
511
512 * testsuite/binutils-all/objcopy.exp
513 (objcopy_test_without_global_symbol): Expect this test to fail on
514 the AArch64 and ARM targets, since they preserve their mapping
515 symbols.
516
5172016-07-01 Tristan Gingold <gingold@adacore.com>
518
519 * NEWS: Add marker for 2.27.
520
5212016-07-30 Tristan Gingold <gingold@adacore.com>
522
523 * doc/binutils.texi (objdump): Fix mis-placement.
524
5252016-06-28 Nick Clifton <nickc@redhat.com>
526
527 * testsuite/binutils-all/ar.exp: Relax previous restriction on
528 Alpha targets. Allow ELF based Alpha targets.
529
5302016-06-28 Maciej W. Rozycki <macro@imgtec.com>
531
532 * testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with
533 the `unique_symbol' test.
534
5352016-06-28 Alan Modra <amodra@gmail.com>
536
537 PR 20304
538 * objdump.c (objdump_print_symname): Don't attempt to retrieve
539 version info from synthetic symbols.
540
5412016-06-24 Alan Modra <amodra@gmail.com>
542
543 * objcopy.c (find_section_rename): Forward declare. Remove
544 ibfd and sec_ptr param. Add old_name param. Allow for NULL
545 returned_flags. Move read of section name and flags to..
546 (setup_section): ..here. Update find_section_rename call.
547 (filter_symbols): Rename section symbols for renamed sections.
548 (copy_object): Call filter_symbols when renamed sections.
549 * testsuite/lib/binutils-common.exp (is_bad_symtab): New.
550 * testsuite/binutils-all/update-section.exp: Revert 96037eb0
551 mips xfail.
552 * testsuite/binutils-all/objcopy.exp (copy_executable): Use
553 is_bad_symtab.
554 (localize-hidden-1): xfail if is_bad_symtab.
555 * testsuite/binutils-all/readelf.exp: Use is_bad_symtab to select
556 between mips/tmips.
557
5582016-06-24 Alan Modra <amodra@gmail.com>
559
560 * objdump.c (struct print_file_list): Add "max_printed".
561 (try_print_file_open): Init new field.
562 (show_line): Don't show 5 context lines when redisplaying source.
563
5642016-06-22 Nick Clifton <nickc@redhat.com>
565
566 * testsuite/binutils-all/ar.exp: Skip tests for Alpha target.
567 Skip bfdtest1 tests for tic30 target.
568 * testsuite/binutils-all/arm/objdump.exp: Skip for aout arm
569 target.
570 * testsuite/binutils-all/compress.exp: Expect some tests to fail
571 on the nds32.
572 * testsuite/binutils-all/copy-3.d: Skip for go32 targets.
573 * testsuite/binutils-all/copy-4.d: Skip for AIX and linuxecoff
574 targets.
575 * testsuite/binutils-all/nm.exp: Treat beos based targets as ELF
576 targets.
577 * testsuite/binutils-all/objcopy.exp: Only run reverse bytes tests
578 if the bintest.o file was created. Use the
579 get_standard_section_names proc to get the name of the data
580 section.
581 * testsuite/binutils-all/objdump.exp: Update regexps to allow for
582 RX section names.
583 * testsuite/binutils-all/readelf.exp: Use
584 get_standard_section_names proc to get the name of the data
585 section.
586 * testsuite/binutils-all/readelf.r: Allow for non standard text
587 section names.
588 * testsuite/binutils-all/readelf.s: Update regexps for tilepro.
589 * testsuite/binutils-all/size.exp: Allow for non standard section
590 names.
591 * testsuite/binutils-all/update-section.exp: Expect comapre 1vs4
592 to fail on mips targets.
593 * testsuite/lib/utils-lib.exp (default_binutils_run): Use
594 get_standard_section_names proc.
595 (run_dump_test): Likewise.
596 (proc get_standard_section_names): New proc.
597
5982016-06-22 Nick Clifton <nickc@redhat.com>
599
600 * readelf.c (dynamic_section_mips_val): Increase size of timebuf.
601 (process_mips_specific): Likewise.
602 (process_gnu_liblist): Likewise.
603
6042016-06-21 Graham Markall <graham.markall@embecosm.com>
605
606 * readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400
607 case.
608
6092016-06-15 Nick Clifton <nickc@redhat.com>
610
611 * readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20
612 reloc.
613
6142016-06-14 John Baldwin <jhb@FreeBSD.org>
615
616 * objcopy.c (do_elf_stt_common): Use correct type.
617
6182016-06-14 Alan Modra <amodra@gmail.com>
619
620 * ar.c: Expand uses of bfd_my_archive.
621 * size.c: Likewise.
622
6232016-06-14 Alan Modra <amodra@gmail.com>
624
625 PR ld/20241
626 * bucomm.c (bfd_get_archive_filename): Return file name within thin
627 archive.
628
6292016-06-02 Nick Clifton <nickc@redhat.com>
630
631 PR 20089
632 * objcopy.c (group_signature): Fail if the input symbol table has
633 not been loaded, or if the sh_info field of the group header is 0.
634
635 * dwarf.c (display_debug_frames): Do not display any
636 interpretation if the block consists solely of DW__CFA_NOPs.
637
6382016-05-31 Alan Modra <amodra@gmail.com>
639
640 * objcopy.c: Formatting, whitespace throughout.
641 (copy_main): Init newsym->othersym.
642 (parse_symflags): Make len a size_t. Adjust uses.
643
6442016-05-25 H.J. Lu <hongjiu.lu@intel.com>
645
646 PR binutils/14625
647 * NEWS: Mention --enable-64-bit-archive.
648
6492016-05-18 Nick Clifton <nickc@redhat.com>
650
651 PR 20096
652 * objcopy.c (copy_relocations_in_section): Also check for the
653 symbol pointed to by sym_ptr_ptr being NULL.
654
6552016-05-18 Maciej W. Rozycki <macro@imgtec.com>
656
657 * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test.
658 * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test
659 source.
660 * testsuite/binutils-all/mips/mips.exp: Run the new test.
661
6622016-05-18 Nick Clifton <nickc@redhat.com>
663
664 * po/sv.po: Updated Swedish translation.
665
6662016-05-18 Maciej W. Rozycki <macro@imgtec.com>
667
668 * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION>
669 <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO>
670 <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO>
671 <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO>
672 <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO>
673 <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the
674 `d_val' rather than `d_ptr' member of the dynamic entry.
675
6762016-05-17 Maciej W. Rozycki <macro@imgtec.com>
677
678 * testsuite/lib/binutils-common.exp (supports_gnu_unique): New
679 procedure.
680 * testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique'
681 with the `strip-10' test.
682
6832016-05-16 Maciej W. Rozycki <macro@imgtec.com>
684
685 * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
686 test for the V850.
687
6882016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
689
690 * readelf.c (print_mips_ases): Add DSPR3.
691
6922016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
693
694 * readelf.c (display_arm_attribute): Add output for Tag_DSP_extension.
695 (arm_attr_public_tags): Define DSP_extension attribute.
696
6972016-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
698
699 * doc/binutils.texi (nm): Update description of --size-sort.
700
7012016-05-09 Nick Clifton <nickc@redhat.com>
702
703 PR binutils/20063
704 * readelf.c (get_32bit_section_headers): Warn if an out of range
705 sh_link or sh_info field is encountered.
706 (get_64bit_section_headers): Likewise.
707
7082016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
709
710 * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
711
7122016-05-03 Nick Clifton <nickc@redhat.com>
713
714 * po/sv.po: Updated Swedish translation.
715
7162016-04-29 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
717
718 * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
719 PC relocation for AVR target.
720 (is_none_reloc): Return true if reloc is any of AVR diff
721 relocations.
722
7232016-04-29 Nick Clifton <nickc@redhat.com>
724
725 PR 19938
726 * readelf.c (get_solaris_segment_type): New function.
727 (get_segment_type): Call it.
728
7292016-04-28 Nick Clifton <nickc@redhat.com>
730
731 * po/zh_CN.po: Updated Chinese (simplified) translation.
732
7332016-04-28 Nick Clifton <nickc@redhat.com>
734
735 PR target/19722
736 * testsuite/binutils-all/aarch64/illegal.s: New test.
737 * testsuite/binutils-all/aarch64/illegal.d: New test driver.
738
7392016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
740
741 * resres.c: Likewise.
742
7432016-04-15 H.J. Lu <hongjiu.lu@intel.com>
744
745 * Makefile.in: Regenerated with automake 1.11.6.
746 * aclocal.m4: Likewise.
747 * doc/Makefile.in: Likewise.
748
7492016-04-14 Nick Clifton <nickc@redhat.com>
750
751 PR target/19938
752 * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
753 string sections possibly having the SHF_STRINGS flag bit set.
754 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
755 * testsuite/binutils-all/readelf.s: Likewise.
756 * testsuite/binutils-all/readelf.s-64: Likewise.
757 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
758 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
759
7602016-04-13 Nick Clifton <nickc@redhat.com>
761
762 PR target/19938
763 * readelf.c (get_solaris_section_type): New function: Returns the
764 name of Solaris specific section types.
765 (get_solaris_dynamic_type): New function: Return the name of
766 Solaris specific dynamic types.
767 (get_dynamic_type): Use get_solaris_dynamic_type.
768 (get_section_type_name): Use get_solaris_section_type.
769 (get_solaris_symbol_visibility): New function: Returns Solaris
770 specific symbol visibilities.
771 (print_dynamic_symbol): Use get_solaris_symbol_visibility.
772 (process_symbol_table): Likewise.
773
7742016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
775
776 * dwarf.h (init_dwarf_regnames_s390): Declare.
777 * dwarf.c (dwarf_regnames_s390): New.
778 (init_dwarf_regnames_s390): New.
779 (init_dwarf_regnames): Call it.
780 * objdump.c (dump_dwarf): Likewise.
781
7822016-04-11 Maciej W. Rozycki <macro@imgtec.com>
783
784 * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
785 * testsuite/binutils-all/mips/mips16-undecoded.s: New test
786 source.
787 * testsuite/binutils-all/mips/mips.exp: Run the new test.
788
7892016-04-04 Nick Clifton <nickc@redhat.com>
790
791 PR 19872
792 * dwarf.c (display_debug_aranges): Skip warning about unrecognised
793 version number if the version is zero.
794
7952016-03-29 Alan Modra <amodra@gmail.com>
796
797 * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
798 (get_dynamic_data): Likewise.
799
8002016-03-22 Nick Clifton <nickc@redhat.com>
801
802 PR 19851
803 * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
804 with run time size check.
805
806 * configure: Regenerate.
807
8082016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
809
810 * readelf.c (decode_ARC_machine_flags): Handle nps400.
811
8122016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
813
814 * readelf.c (get_machine_flags): Move arc processing into...
815 (decode_ARC_machine_flags): ... new function. Remove use of
816 EF_ARC_CPU_GENERIC, change default case from "generic arc" to
817 "unknown arc". Merged ABI printing between two machine types.
818
8192016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
820
821 * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
822 to the architecture list.
823
8242016-03-21 Nick Clifton <nickc@redhat.com>
825
826 * dlltool.c: Replace use of alloca with call to xmalloc.
827 * dllwrap.c: Likewise.
828 * nlmconv.c: Likewise.
829 * objdump.c: Likewise.
830 * resrc.c: Likewise.
831 * winduni.c: Likewise.
832 * configure: Regenerate.
833
8342016-03-07 Nick Clifton <nickc@redhat.com>
835
836 PR binutils/19775
837 * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
838 Run the new proc.
839 * testsuite/binutils-all/empty: New, empty, file.
840
8412016-03-04 Matthew Wahab <matthew.wahab@arm.com>
842
843 * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
844
8452016-02-26 H.J. Lu <hongjiu.lu@intel.com>
846
847 PR ld/19645
848 * NEWS: Mention --elf-stt-common= for objcopy.
849 * doc/binutils.texi: Document --elf-stt-common= for objcopy.
850 * objcopy.c (do_elf_stt_common): New.
851 (command_line_switch): Add OPTION_ELF_STT_COMMON.
852 (copy_options): Add --elf-stt-common=.
853 (copy_usage): Add --elf-stt-common=.
854 (copy_object): Also check do_elf_stt_common for ELF targets.
855 (copy_file): Handle do_elf_stt_common.
856 (copy_main): Handle OPTION_ELF_STT_COMMON.
857 * readelf.c (apply_relocations): Support STT_COMMON.
858 * testsuite/binutils-all/common-1.s: New file.
859 * testsuite/binutils-all/common-1a.d: Likewise.
860 * testsuite/binutils-all/common-1b.d: Likewise.
861 * testsuite/binutils-all/common-1c.d: Likewise.
862 * testsuite/binutils-all/common-1d.d: Likewise.
863 * testsuite/binutils-all/common-1e.d: Likewise.
864 * testsuite/binutils-all/common-1f.d: Likewise.
865 * testsuite/binutils-all/common-2.s: Likewise.
866 * testsuite/binutils-all/common-2a.d: Likewise.
867 * testsuite/binutils-all/common-2b.d: Likewise.
868 * testsuite/binutils-all/common-2c.d: Likewise.
869 * testsuite/binutils-all/common-2d.d: Likewise.
870 * testsuite/binutils-all/common-2e.d: Likewise.
871 * testsuite/binutils-all/common-2f.d: Likewise.
872 * testsuite/binutils-all/objcopy.exp
873 (objcopy_test_elf_common_symbols): New proc.
874 Run objcopy_test_elf_common_symbols for ELF targets
875
8762016-02-16 H.J. Lu <hongjiu.lu@intel.com>
877
878 PR binutils/19647
879 * readelf.c (get_section_type_name): Add a missing break.
880
8812016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
882
883 * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
884
8852016-02-15 Nick Clifton <nickc@redhat.com>
886
887 * readelf.c (get_section_type_name): Add hex prefix to offsets
888 printed for LOPROC and LOOS values. Ensure that a result is
889 always returned for the V850 target, even when an unrecognised
890 processor specific value is encountered.
891 (process_section_headers): Display key values in the order in
892 which they appear to the user. Add the "C (compressed)" value to
893 the list.
894
8952016-02-12 H.J. Lu <hongjiu.lu@intel.com>
896
897 * doc/binutils.texi: Fix a typo.
898
8992016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
900
901 * testsuite/binutils-all/objdump.exp: Update expected default
902 architecture value for ARC binaries.
903
9042016-02-02 H.J. Lu <hongjiu.lu@intel.com>
905
906 PR binutils/19547
907 * testsuite/binutils-all/objcopy.exp
908 (objcopy_test_without_global_symbol): New proc.
909 Run objcopy_test_without_global_symbol.
910 * testsuite/binutils-all/pr19547.c: New file.
911
9122016-01-28 H.J. Lu <hongjiu.lu@intel.com>
913
914 PR binutils/19523
915 * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
916 runtest.
917 * Makefile.in: Regenerated.
918 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
919 proc.
920 Run test_gnu_debuglink for native ELF build.
921
9222016-01-20 Nick Clifton <nickc@redhat.com>
923
924 PR 19495
925 * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
926 do not support inserting leading underscores.
927
9282016-01-20 Mickael Guene <mickael.guene@st.com>
929
930 * readelf.c (get_elf_section_flags): Display y letter for section
931 with SHF_ARM_NOREAD section flag in readelf section output.
932 (process_section_headers): Add y letter in readelf section output
933 key mapping for ARM architecture.
934 * objdump.c (dump_section_header): Display NOREAD attributes as
935 well.
936 * doc/binutils.texi (objdump): Note that it is correct for
937 sections to have both the READONLY and NOREAD attributes.
938
9392016-01-19 John Baldwin <jhb@FreeBSD.org>
940
941 * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
942
9432016-01-19 John Baldwin <jhb@FreeBSD.org>
944
945 * readelf.c (get_freebsd_elfcore_note_type): New
946 (process_note): Add support for FreeBSD core notes.
947
9482016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
949 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
950
951 * readelf.c (get_machine_flags): Add support for newer ARC ELF
952 header flags.
953
9542016-01-18 Alan Modra <amodra@gmail.com>
955
956 * configure: Regenerate.
957
9582016-01-17 Alan Modra <amodra@gmail.com>
959
960 * configure: Regenerate.
961
9622016-01-17 Alan Modra <amodra@gmail.com>
963
964 * testsuite/lib/binutils-common.exp (is_elf_format): Return true
965 for m68hc11/12 and xgate triples.
966
9672016-01-17 Alan Modra <amodra@gmail.com>
968
969 * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
970
9712016-01-01 Alan Modra <amodra@gmail.com>
972
973 Update year range in copyright notice of all files.
974
975For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
976\f
977Copyright (C) 2016 Free Software Foundation, Inc.
978
979Copying and distribution of this file, with or without modification,
980are permitted in any medium without royalty provided the copyright
981notice and this notice are preserved.
982
983Local Variables:
984mode: change-log
985left-margin: 8
986fill-column: 74
987version-control: never
988End:
This page took 0.197704 seconds and 4 git commands to generate.