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