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