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