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