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