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