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