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