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