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