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