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