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