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