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