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