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