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