Cast size to long to warn
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2014-12-22 H.J. Lu <hongjiu.lu@intel.com>
2
3 * dwarf.c (read_cie): Cast size to long to warn.
4
5 2014-12-22 Nick Clifton <nickc@redhat.com>
6
7 PR binutils/17531
8 * dwarf.c (decode_location_expression): Check for an out of range
9 value for a DW_OP_GNU_entry_value expression.
10 (display_debug_lines_raw): Check for a partial
11 .debug_line. section being encountered without a prior, full
12 .debug.line section.
13 (display_debug_lines_decoded): Likewise. Also check for
14 li_line_range being zero.
15 (display_debug_pubnames_worker): Check for an invalid pn_length
16 field.
17 (read_cie): Add range checks.
18 * elfcomm.c (setup_archive): Check for a negative longnames_size.
19
20 2014-12-18 Mark Wielaard <mjw@redhat.com>
21
22 * dwarf.c (read_and_display_attr_value): Change display name of
23 DW_LANG_C11 from (ANSI C11) to (C11).
24
25 2014-12-11 Nick Clifton <nickc@redhat.com>
26
27 PR binutils/17512
28 * dwarf.c (display_gdb_index): Add more range checks.
29
30 2014-12-11 Alan Modra <amodra@gmail.com>
31
32 * configure.ac: Check for long long and sizes of long long and long.
33 * elfcomm.h (HOST_WIDEST_INT): Test HAVE_LONG_LONG in place of
34 __STDC_VERSION__ and __GNUC__.
35 * strings.c (print_strings): Likewise.
36 * dwarf.c (DWARF_VMA_FMT, DWARF_VMA_FMT_LONG): Likewise.
37 (read_debug_line_header): Use dwarf_vmatoa to print warning.
38 * configure: Regenerate.
39 * config.in: Regenerate.
40
41 2014-12-10 Alan Modra <amodra@gmail.com>
42
43 * objdump.c: #include "coff-bfd.h".
44
45 2014-12-09 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
46
47 * od-elf32_avr.c (elf32_avr_dump_mem_usage): Fix device initialization.
48
49 2014-12-09 Nick Clifton <nickc@redhat.com>
50
51 PR binutils/17512
52 * objdump.c (display_any_bfd): Avoid infinite loop closing and
53 opening the same archive again and again.
54
55 2014-12-09 Chen Gang <gang.chen.5i5j@gmail.com>
56
57 * windres.c (open_file_search): Free path buffer on failure.
58
59 2014-12-08 Nick Clifton <nickc@redhat.com>
60
61 PR binutils/17531
62 * dwarf.c (display_debug_frames): Check for a negative
63 augmentation data length.
64 (display_gdb_index): Check for invalid offsets.
65 * elfcomm.c (process_archive_index_and_symbols): Check for an
66 index number that overflows when multiplied by the ar index size.
67 * readelf.c (dump_ia64_unwind): Add range checks.
68 (slurp_ia64_unwind_table): Change to a boolean function. Add
69 range checks.
70 (process_version_sections): Add range checks.
71 (get_symbol_version_string): Add check for missing section
72 headers.
73
74 2014-12-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
75
76 * configure.ac: Add od-elf32_avr to build.
77 * configure: Regenerate.
78 * od-elf32_avr.c: New file.
79 * objdump.h: Declare objdump_private_desc_elf32_avr.
80
81 2014-12-06 Eric Botcazou <ebotcazou@adacore.com>
82
83 * readelf.c: Include elf/visium.h.
84 (guess_is_rela): Deal with EM_VISIUM.
85 (dump_relocations): Likewise.
86 (get_machine_name): Likewise.
87 (get_machine_flags): Likewise.
88 (get_osabi_name): Likewise.
89 (is_32bit_abs_reloc): Likewise.
90 (is_32bit_pcrel_reloc): Likewise.
91 (is_16bit_abs_reloc): Likewise.
92
93 2014-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
94
95 * readelf.c (decode_AVR_machine_flags): New function.
96 (get_machine_flags): Add EM_AVR case.
97
98 2014-12-03 Nick Clifton <nickc@redhat.com>
99
100 PR binutils/17512
101 * objdump.c (free_debug_section): Reset the compress_status as
102 well.
103
104 2014-12-03 Nick Clifton <nickc@redhat.com>
105
106 PR binutils/17531
107 * readelf.c (get_machine_flags): Replace call to abort with a
108 warning message and a return value.
109 (get_elf_section_flags): Likewise.
110 (get_symbol_visibility): Likewise.
111 (get_ia64_symbol_other): Likewise.
112 (get_ia64_symbol_other): Likewise.
113 (is_32bit_abs_reloc): Likewise.
114 (apply_relocations): Likewise.
115 (display_arm_attribute): Likewise.
116
117 2014-12-02 Denis Chertykov <chertykov@gmail.com>
118
119 * MAINTAINERS: Fix my email address.
120
121 2014-12-01 H.J. Lu <hongjiu.lu@intel.com>
122
123 * dwarf.c (process_cu_tu_index): Properly check for an out of
124 range row index.
125
126 2014-12-01 Nick Clifton <nickc@redhat.com>
127
128 PR binutils/17512
129 * dwarf.h (struct dwarf_section): Add user_data field.
130 * dwarf.c (frame_need_space): Check for an over large register
131 number.
132 (display_debug_frames): Check the return value from
133 frame_need_space. Check for a CFA expression that is so long the
134 start address wraps around.
135 (debug_displays): Initialise the user_data field.
136 * objdump.c (load_specific_debug_section): Save the BFD section
137 pointer in the user_data field of the dwarf_section structure.
138 (free_debug_section): Update BFD section data when freeing section
139 contents.
140 * readelf.c (load_specific_debug_section): Initialise the
141 user_data field.
142
143 2014-12-01 Nick Clifton <nickc@redhat.com>
144
145 PR binutils/17531
146 * dwarf.c (process_cu_tu_index): Check for an out of range row
147 index.
148 * elfcomm.c (adjust_relative_path): Change name_len parameter to
149 an unsigned long. Check for path length overflow.
150 (process_archive_index_and_symbols): Check for invalid header
151 size.
152 (setup_archive): Add checks for invalid archives.
153 (get_archive_member_name): Add range checks.
154 * elfcomm.h (adjust_relative_path): Update prototyoe.
155 * readelf.c (process_archive): Add range checks.
156
157 2014-11-28 Alan Modra <amodra@gmail.com>
158
159 * readelf.c (get_32bit_elf_symbols): Cast bfd_size_type values to
160 unsigned long for %lx.
161 (get_64bit_elf_symbols, process_section_groups): Likewise.
162
163 2014-11-27 Espen Grindhaug <espen@grindhaug.org>
164 Nick Clifton <nickc@redhat.com>
165
166 PR binutils/17531
167 * readelf.c (get_data): Move excessive length check to earlier on
168 in the function and allow for wraparound in the arithmetic.
169 (get_32bit_elf_symbols): Terminate early if the section size is
170 zero. Check for an invalid sh_entsize. Check for an index
171 section with an invalid size.
172 (get_64bit_elf_symbols): Likewise.
173 (process_section_groups): Check for an invalid sh_entsize.
174
175 2014-11-24 Mark Wielaard <mjw@redhat.com>
176
177 * dwarf.c (read_and_display_attr_value): Handle DW_LANG_C11,
178 DW_LANG_C_plus_plus_11 and DW_LANG_C_plus_plus_14.
179
180 2014-11-26 Nick Clifton <nickc@redhat.com>
181
182 PR binutils/17512
183 * dwarf.c (display_block): Do nothing if the block starts after
184 the end of the buffer.
185 (read_and_display_attr_value): Add range checks.
186 (struct Frame_Chunk): Make the ncols and ra fields unsigned.
187 (frame_need_space): Test for an ncols of zero.
188 (read_cie): Fail if the augmentation data extends off the end of
189 the buffer.
190 (display_debug_frames): Add checks for read_cie failing. Add
191 range checks.
192
193 2014-11-25 H.J. Lu <hongjiu.lu@intel.com>
194
195 * objdump.c (objdump_print_symname): Replace
196 bfd_elf_get_symbol_version_string with
197 bfd_get_symbol_version_string.
198
199 2014-11-25 H.J. Lu <hongjiu.lu@intel.com>
200
201 PR binutils/16496
202 * objdump.c (objdump_print_symname): Call
203 bfd_elf_get_symbol_version_string to get ELF symbol version
204 string. Append version string if needed.
205
206 * readelf.c (versioned_symbol_info): New enum.
207 (get_symbol_version_string): New. Extracted from
208 process_symbol_table.
209 (dump_relocations): Add a new argument to indicate if dynamic
210 symbol table is used. Use get_symbol_version_string to get
211 symbol version string for dynamic symbol. Append version string
212 if needed.
213 (process_relocs): Updated dump_relocations call.
214 (process_symbol_table): Use get_symbol_version_string.
215
216 2014-11-24 H.J. Lu <hongjiu.lu@intel.com>
217
218 * configure: Regenerated.
219
220 2014-11-21 Nick Clifton <nickc@redhat.com>
221
222 PR binutils/17512
223 * dwarf.c (get_encoded_value): Check for an encoded size of 0.
224 (display_debug_lines_raw): Check for an invalid line range value.
225 (display_debug_frames): Check for corrupt augmentation data.
226
227 2014-11-21 Nick Clifton <nickc@redhat.com>
228
229 PR binutils/17531
230 * readelf.c (process_version_sections): Prevent an infinite loop
231 processing corrupt version need data.
232 (process_corefile_note_segment): Handle corrupt notes.
233
234 2014-11-21 Terry Guo <terry.guo@arm.com>
235
236 * readelf.c (arm_attr_tag_FP_arch): Extended to support FPv5.
237
238 2014-11-19 Jan-Benedict Glaw <jbglaw@lug-owl.de>
239
240 * dwarf.c (process_extended_line_op): Fix signedness warning.
241
242 2014-11-18 Nick Clifton <nickc@redhat.com>
243
244 PR binutuls/17605
245 * bucomm.c (print_arelt_descr): Check for ctime returning NULL.
246
247 2014-11-18 Nick Clifton <nickc@redhat.com>
248
249 PR binutils/17512
250 * dwarf.c (get_encoded_value): Warn and return if the encoded
251 value is more than 64-bits long.
252 (SAFE_BYTE_GET): Do not attempt to read more than 64-bits.
253 (process_extended_line_op): Add more range checks.
254 (decode_location_expression): Use the return value from
255 display_block. Add more range checks.
256 (read_debug_line_header): Add range check.
257 (display_debug_lines_raw): Add range checks.
258 (display_debug_frames): Silently skip multiple zero terminators.
259 Add range checks.
260 (process_cu_tu_index): Check for non-existant or empty sections.
261 Use SAFE_BYTE_GET instead of byte_get.
262
263 2014-11-18 Nick Clifton <nickc@redhat.com>
264
265 PR binutils/17531
266 * readelf.c (get_unwind_section_word): Skip reloc processing if
267 there are no relocs associated with the section.
268 (decode_tic6x_unwind_bytecode): Warn and return if the stack
269 pointer adjustment falls off the end of the buffer.
270
271 2014-11-14 Nick Clifton <nickc@redhat.com>
272
273 PR binutils/17512
274 * dwarf.c (get_encoded_value): Add an 'end' parameter. Change the
275 'data' parameter to a double pointer and return the updated value.
276 (decode_location_expression): Update call to get_encoded_value.
277 (frame_need_space): Handle the case where one or both of the
278 mallocs fails.
279 (read_cie): Initialise the cie pointer, even if the read fails.
280 (display_debug_frames): Warn if the calculated block_end is before
281 the start of the block. Break the loop if the CIE could not be
282 read. Update call to get_encoded_value. Warn if the read CFA
283 expressions are too big.
284
285 2014-11-13 Nick Clifton <nickc@redhat.com>
286
287 PR binutils/17531
288 * readelf.c (process_version_sections): If the read of the version
289 def information fails, make sure that the external verdef data is
290 not used.
291 (get_dynamic_data): Do not attempt to allocate memory for more
292 dynamic data than there is in the file. If the read fails, free
293 the allocated buffer.
294 (process_symbol_table): Do not print dynamic information if we
295 were unable to read the dynamic symbol table.
296 (print_gnu_note): Do not print the note if the descsz is too
297 small.
298
299 2014-11-12 Nick Clifton <nickc@redhat.com>
300
301 PR binutils/17512
302 * dwarf.c (read_and_display_attr_value): Check that we do not read
303 past end.
304 (display_debug_pubnames_worker): Add range checks.
305 (process_debug_info): Check for invalid pointer sizes.
306 (display_loc_list): Likewise.
307 (display_loc_list_dwo): Likewise.
308 (display_debug_ranges): Likewise.
309 (display_debug_aranges): Check for invalid address size.
310 (read_cie): Add range checks. Replace call strchr with while loop.
311 * objdump.c (dump_dwarf): Replace abort with a warning message.
312 (print_section_stabs): Improve range checks.
313 * rdcoff.c (coff_get_slot): Use long for indx parameter type.
314 Add check for an excesively large index.
315 * rddbg.c (read_section_stabs_debugging_info): Zero terminate the
316 string table. Avoid walking off the end of the stabs data.
317 * stabs.c (parse_stab_string): Add check for a NULL name.
318
319 2014-11-11 Nick Clifton <nickc@redhat.com>
320
321 PR binutils/17531
322 * binutils/readelf.c (dynamic_nent): Change type to size_t.
323 (slurp_rela_relocs): Use size_t type for nrelas.
324 (slurp_rel_relocs): Likewise.
325 (get_program_headers): Improve out of memory error message.
326 (get_32bit_section_headers): Likewise.
327 (get_32bit_section_headers): Likewise.
328 (get_64bit_section_headers): Likewise.
329 (get_32bit_elf_symbols): Likewise.
330 (get_64bit_elf_symbols): Likewise.
331 (process_section_groups): Likewise.
332 (get_32bit_dynamic_section): Likewise.
333 (get_64bit_dynamic_section): Likewise.
334 (process_dynamic_section): Likewise.
335 (process_version_sections): Likewise.
336 (get_symbol_index_type): Likewise.
337 (process_mips_specific): Likewise.
338 (process_corefile_note_segment): Likewise.
339 (process_version_sections): Use size_t type for total.
340 (get_dynamic_data): Change type of number parameter to size_t.
341 Improve out of memory error messages.
342 (process_symbol_table): Change type of nbuckets and nchains to
343 size_t. Skip processing of sections headers if there are none.
344 Improve out of memory error messages.
345
346 2014-11-11 Nick Clifton <nickc@redhat.com>
347
348 * po/fr.po: Updated French translation.
349
350 2014-11-11 Nick Clifton <nickc@redhat.com>
351
352 PR binutils/17531
353 * readelf.c (display_arm_attribute): Avoid reading off the end of
354 the buffer when processing a Tag_nodefaults.
355
356 2014-11-10 Nick Clifton <nickc@redhat.com>
357
358 PR binutils/17531
359 * (ia64_process_unwind): Replace assertion with an error message.
360 Add range checking for group section indicies.
361 (hppa_process_unwind): Replace assertion with an error message.
362 (process_syminfo): Likewise.
363 (decode_arm_unwind_bytecode): Add range checking.
364 (dump_section_as_strings): Add more string range checking.
365 (display_tag_value): Likewise.
366 (display_arm_attribute): Likewise.
367 (display_gnu_attribute): Likewise.
368 (display_tic6x_attribute): Likewise.
369 (display_msp430x_attribute): Likewise.
370
371 2014-11-10 Nick Clifton <nickc@redhat.com>
372
373 PR binutils/17552
374 * (copy_archive): Clean up temporary files even if an error
375 occurs.
376
377 2014-11-07 H.J. Lu <hongjiu.lu@intel.com>
378
379 * readelf.c (process_dynamic_section): Cast time value to unsigned
380 long to print.
381
382 2014-11-07 Nick Clifton <nickc@redhat.com>
383
384 PR binutils/17531
385 * readelf.c (get_data): Avoid allocating memory when we know that
386 the read will fail.
387 (find_section_by_type): New function.
388 (get_unwind_section_word): Check for invalid symbol indicies.
389 Check for invalid reloc types.
390 (get_32bit_dynamic_section): Add range checks.
391 (get_64bit_dynamic_section): Add range checks.
392 (process_dynamic_section): Check for a corrupt time value.
393 (process_symbol_table): Add range checks.
394 (dump_section_as_strings): Add string length range checks.
395 (display_tag_value): Likewise.
396 (display_arm_attribute): Likewise.
397 (display_gnu_attribute): Likewise.
398 (display_tic6x_attribute): Likewise.
399 (display_msp430x_attribute): Likewise.
400 (process_mips_specific): Add range check.
401
402 2014-11-06 Nick Clifton <nickc@redhat.com>
403
404 PR binutils/17552, binutils/17533
405 * bucomm.c (is_valid_archive_path): New function. Returns false
406 for absolute pathnames and pathnames that include /../.
407 * bucomm.h (is_valid_archive_path): Add prototype.
408 * ar.c (extract_file): Use new function to check for valid
409 pathnames when extracting files from an archive.
410 * objcopy.c (copy_archive): Likewise.
411 * doc/binutils.texi: Update documentation to mention the
412 limitation on pathname of archive members.
413
414 2014-11-05 Nick Clifton <nickc@redhat.com>
415
416 PR binutils/17531
417 * readelf.c (printable_section_name): New function.
418 (printable_section_name_from_index): New function.
419 (dump_relocations): Use new function.
420 (process_program_headers, get_32bit_elf_symbols,
421 (get_64bit_elf_symbols, process_section_headers,
422 (process_section_groups, process_relocs, ia64_process_unwind,
423 (hppa_process_unwind, get_unwind_section_word, decode_arm_unwind,
424 (arm_process_unwind, process_version_sections,
425 (process_symbol_table, apply_relocations, get_section_contents,
426 (dump_section_as_strings, dump_section_as_bytes,
427 (display_debug_section, process_attributes, process_mips_specific,
428 (process_mips_specific process_gnu_liblist): Likewise.
429 (get_unwind_section_word): Check for a missing symbol table.
430 Replace aborts with error messages.
431 (arm_process_unwind): Check for a missing string table.
432 (process_attributes): Check for an attribute length that is too
433 small.
434 (process_mips_specific): Check for a corrupt GOT symbol offset.
435
436 2014-11-05 Nick Clifton <nickc@redhat.com>
437
438 PR binutils/17533
439 * bucomm.c (is_valid_archive_path): New function.
440 * bucomm.h (is_valid_archive_path): Prototype it.
441 * ar.c (extract_file): Call is_valid_archive_path to verify a
442 member filename before extracting it.
443 * objcopy.c (copy_archive): Likewise.
444
445 2014-11-05 Jan-Benedict Glaw <jbglaw@lug-owl.de>
446
447 * readelf.c (process_mips_specific): Fix format string warning.
448
449 2014-11-04 Matthew Fortune <matthew.fortune@imgtec.com>
450
451 * readelf.c (process_mips_specific): Rename index to idx.
452
453 2014-11-04 Nick Clifton <nickc@redhat.com>
454
455 PR binutils/17531
456 * readelf.c (get_data): If the reason parameter is null, do not
457 print any error messages.
458 (get_32bit_section_headers): Verify section header entry size
459 before reading in the section headers.
460 (get_64bit_section_headers): Likewise.
461 (process_section_headers): Pass FALSE to get_section_headers.
462 (get_file_header): Pass TRUE to get_section_headers.
463 (process_dynamic_section): Change an assert to an error message.
464 (process_symbol_table): Handle corrupt histograms.
465
466 (get_32bit_program_headers): Verify program header entry size
467 before reading in the program headers.
468 (get_64bit_program_headers): Likewise.
469 (get_unwind_section_word): Do nothing if no section was provided.
470 Fail if the offset is outside of the section.
471 (print_dynamic_symbol): Catch out of range symbol indicies.
472 (process_mips_specific): Likewise.
473 (process_attributes): Make sure that there is enough space left in
474 the section before attempting to read the length of the next
475 attribute.
476
477 2014-11-03 Nick Clifton <nickc@redhat.com>
478
479 PR binutils/17512
480 * objdump.c (slurp_symtab): Fail gracefully if the table could not
481 be read.
482 (dump_relocs_in_section): Likewise.
483
484 2014-11-03 Nick Clifton <nickc@redhat.com>
485
486 * po/fi.po: Updated Finnish translation.
487 * po/sv.po: Updated Swedish translation.
488
489 2014-11-01 Hans-Peter Nilsson <hp@axis.com>
490
491 * readelf.c (get_32bit_elf_symbols): Cast error
492 parameters of bfd_size_type with the %lx format to
493 unsigned long.
494
495 2014-10-31 Andrew Pinski <apinski@cavium.com>
496 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
497
498 * readelf.c (print_mips_isa_ext): Print the value of Octeon3.
499
500 2014-10-31 Iain Buclaw <ibuclaw@gdcproject.org>
501
502 * cxxfilt.c (main): Add case for dlang_demangling style.
503
504 2014-10-31 Nick Clifton <nickc@redhat.com>
505
506 PR binutils/17512
507 * readelf.c (process_program_headers): Avoid memory exhaustion due
508 to corrupt values in a dynamis segment header.
509 (get_32bit_elf_symbols): Do not attempt to read an over-large
510 section.
511 (get_64bit_elf_symbols): Likewise.
512
513 2014-10-31 Nick Clifton <nickc@redhat.com>
514
515 * strings.c: Add new command line option --data to only scan the
516 initialized, loadable data secions of binaries. Choose the
517 default behaviour of --all or --data based upon a configure
518 option.
519 * doc/binutils.texi (strings): Update documentation. Include
520 description of why the --data option might be unsafe.
521 * configure.ac: Add new option --disable-default-strings-all which
522 restores the old behaviour of strings using --data by default. If
523 the option is not used make strings use --all by default.
524 * NEWS: Mention the new behaviour of strings.
525 * configure: Regenerate.
526 * config.in: Regenerate.
527
528 2014-10-30 Nick Clifton <nickc@redhat.com>
529
530 * readelf.c (CHECK_ENTSIZE_VALUES): Rewrite error message so that
531 there is a single string for translation.
532 (dynamic_section_mips_val): Likewise.
533
534 2014-10-29 Nick Clifton <nickc@redhat.com>
535
536 * po/bg.po: Updated Bulgarian translation.
537 * po/sr.po: New Serbian translation.
538 * po/sv.po: Updated Swedish translation.
539
540 2014-10-22 Matthew Fortune <matthew.fortune@imgtec.com>
541
542 * readelf.c (print_mips_ases): Print unknown ASEs.
543 (print_mips_isa_ext): Print the value of an unknown extension.
544
545 2014-10-15 Tristan Gingold <gingold@adacore.com>
546
547 * configure: Regenerate.
548
549 2014-10-14 Tristan Gingold <gingold@adacore.com>
550
551 * NEWS: Add marker for 2.25.
552
553 2014-10-14 Alan Modra <amodra@gmail.com>
554
555 PR 17453
556 * dwarf.c (read_leb128): Avoid signed overflow.
557 (read_debug_line_header): Likewise.
558
559 2014-10-14 Alan Modra <amodra@gmail.com>
560
561 PR 17453
562 * readelf.c (process_program_headers): Correct fscanf format used
563 for interpreter.
564
565 2014-10-09 Jose E. Marchesi <jose.marchesi@oracle.com>
566
567 * readelf.c (display_sparc_hwcaps2): New function.
568 (display_sparc_gnu_attribute): Call `display_sparc_hwcaps2' when
569 handling `Tag_GNU_Sparc_HWCAPS2' attributes.
570
571 2014-09-22 Alan Modra <amodra@gmail.com>
572
573 PR 16563
574 * dwarf.c (GET): Remove semicolon.
575 (read_cie): New function, extracted from..
576 (display_debug_frames): ..here. Correctly handle signed offset
577 from FDE to CIE in .eh_frame. Decode forward referenced CIEs too.
578
579 2014-09-16 Nick Clifton <nickc@redhat.com>
580
581 * readelf.c (display_arm_attribute): Use unsigned int type for
582 tag, val and type variables.
583
584 2014-09-16 Kuan-Lin Chen <kuanlinchentw@gmail.com>
585
586 * readelf.c (decode_NDS32_machine_flags): Display ABI2 FP+.
587
588 2014-09-15 Andrew Bennett <andrew.bennett@imgtec.com>
589 Matthew Fortune <matthew.fortune@imgtec.com>
590
591 * readelf.c (get_machine_flags): Add support for mips32r6 and
592 mips64r6.
593
594 2014-09-01 Jon TURNEY <jon.turney@dronecode.org.uk>
595
596 * objcopy.c (is_nondebug_keep_contents_section): Change
597 '.build-id' to '.buildid'.
598
599 2014-08-22 Richard Henderson <rth@redhat.com>
600
601 * dwarf.h (init_dwarf_regnames_aarch64): Declare.
602 * dwarf.c (dwarf_regnames_aarch64): New.
603 (init_dwarf_regnames_aarch64): New.
604 (init_dwarf_regnames): Call it.
605 * objdump.c (dump_dwarf): Likewise.
606
607 2014-08-19 Alan Modra <amodra@gmail.com>
608
609 * configure: Regenerate.
610
611 2014-08-14 Alan Modra <amodra@gmail.com>
612
613 * configure.ac: Move ACX_LARGEFILE after LT_INIT.
614 * config.in: Regenerate.
615 * configure: Regenerate.
616
617 2014-07-29 Matthew Fortune <matthew.fortune@imgtec.com>
618
619 * readelf.c (get_mips_segment_type): Display name for PT_MIPS_ABIFLAGS.
620 (get_mips_section_type_name): Display name for SHT_MIPS_ABIFLAGS.
621 (display_mips_gnu_attribute): Abstracted fp abi printing to...
622 (print_mips_fp_abi_value): New static function. Handle new FP ABIs.
623 (print_mips_ases, print_mips_isa_ext): New static functions.
624 (get_mips_reg_size): Likewise.
625 (process_mips_specific): Display abiflags data.
626
627 2014-07-28 Alan Modra <amodra@gmail.com>
628
629 PR 13227
630 * nm.c (filter_symbols): Warn on __gnu_lto_slim.
631
632 2014-07-07 Nick Clifton <nickc@redhat.com>
633
634 * readelf.c (get_symbol_type): Revert accidental change to
635 detection of thumb function symbols.
636
637 2014-07-04 Alan Modra <amodra@gmail.com>
638
639 * configure.ac: Rename from configure.in.
640 * Makefile.in: Regenerate.
641 * config.in: Regenerate.
642 * doc/Makefile.in: Regenerate.
643
644 2014-07-04 Alan Modra <amodra@gmail.com>
645
646 * configure.in: Include bfd/version.m4.
647 (AC_INIT, AM_INIT_AUTOMAKE): Use modern form.
648 (BFD_VERSION): Delete.
649 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Remove bfd/configure.in.
650 * configure: Regenerate.
651 * Makefile.in: Regenerate.
652 * doc/Makefile.in: Regenerate.
653
654 2014-07-03 Tristan Gingold <gingold@adacore.com>
655
656 * doc/binutils.texi: Clarify addr2line output.
657
658 2014-07-01 Alan Modra <amodra@gmail.com>
659
660 * objdump.c (dump_bfd_header): Don't print HAS_LOAD_PAGE.
661
662 2014-06-26 Erik Akermann <kurterikackermann@gmail.com>
663
664 * strings.c: Add -w/--include-all-whitespace option to include any
665 whitespace character in the displayed strings.
666 * NEWS: Mention the new feature.
667 * doc/binutils.texi (strings): Document the new command line
668 option.
669
670 2014-06-26 Nick Clifton <nickc@redhat.com>
671
672 * readelf.c (process_note_sections): If there are no note sections
673 try processing note segments instead.
674
675 2014-06-17 Anton Lavrentiwev <lavr@ncbi.nim.nih.gov>
676
677 PR binutils/16923
678 * rcparse.y (fixedverinfo): Prevent large version numbers from
679 corrupting other values.
680
681 2014-06-09 Romain Chastenet <romain.chastenet@free.fr>
682
683 PR binutils/16252
684 * dwarf.c (display_debug_frames): Remember the state of the
685 cfa_offset, cfa_reg, ra and cfa_exp field
686
687 2014-06-05 Joel Brobecker <brobecker@adacore.com>
688
689 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add dependency on
690 bfd's development.sh.
691 * Makefile.in, configure: Regenerate.
692
693 2014-05-16 Jon Turney <jon.turney@dronecode.org.uk>
694
695 * objcopy.c (is_nondebug_keep_contents_section): New function.
696 (setup_section): Use it.
697
698 2014-05-16 Kaushik Phata <Kaushik.Phatak@kpit.com>
699
700 * readelf.c (get_machine_flags): Handle RL78 64-bit doubles flag.
701
702 2014-05-02 Alan Modra <amodra@gmail.com>
703
704 * emul_aix.c: Update bfd target vector naming.
705 * testsuite/binutils-all/objcopy.exp: Likewise.
706
707 2014-04-24 Christian Svensson <blue@cmd.nu>
708
709 * MAINTAINERS: Add myself and Stefan as OR1K maintainers.
710
711 2014-04-23 Andrew Bennett <andrew.bennett@imgtec.com>
712
713 * doc/binutils.texi: Document the disassemble MIPS XPA instructions
714 command line option.
715
716 2014-04-22 Christian Svensson <blue@cmd.nu>
717
718 * readelf.c: Remove openrisc and or32 support. Add support for or1k.
719
720 2014-04-18 Tristan Gingold <gingold@adacore.com>
721
722 * od-macho.c (dump_section_map): Adjust as load commands
723 are now chained.
724 (dump_load_command, dump_section_content): Likewise.
725
726 2014-04-16 Tristan Gingold <gingold@adacore.com>
727
728 * od-macho.c (OPT_DYLD_INFO): New macro.
729 (options): Add entry for dyld_info.
730 (mach_o_help): Likewise.
731 (load_and_dump, dump_dyld_info_rebase, dump_dyld_info_bind)
732 (dump_dyld_info_export_1, dump_dyld_info_export): New functions.
733 (bfd_mach_o_dyld_rebase_type_name): New array.
734 (export_info_data): New struct.
735 (dump_dyld_info): Add verbose argument. Dump rebase, bind and
736 exports data.
737 (dump_load_command): Adjust dump_dyld_info call.
738 (mach_o_dump): Handle dyld_info.
739
740 2014-04-16 Tristan Gingold <gingold@adacore.com>
741
742 * od-macho.c (dump_header): Display sizeofcmds in decimal too.
743 (dump_segment): Reformat output.
744 (dump_dyld_info): Also display end offsets.
745 (dump_load_command): Add IDX argument, display commands size
746 and offset, reformat display.
747 (dump_load_commands): Adjust for added argument.
748
749 2014-04-07 Alan Modra <amodra@gmail.com>
750
751 PR binutils/16811
752 * objcopy.c (copy_object): Error if no sections.
753
754 2014-04-03 Markus Trippelsdorf <markus@trippelsdorf.de>
755
756 PR binutils/14698
757 ar.c: Set plugin_target early if plugins are supported.
758 nm.c: Likewise.
759
760 2014-04-03 Tristan Gingold <gingold@adacore.com>
761
762 * od-macho.c (printf_uint64): New function.
763 (dump_load_command, dump_obj_compact_unwind): Use it.
764 (dump_exe_compact_unwind): Display personality functions.
765
766 2014-04-02 Tristan Gingold <gingold@adacore.com>
767
768 * od-macho.c (OPT_TWOLEVEL_HINTS): New macro.
769 (options): Add entry for twolevel_hints.
770 (dump_data_in_code): Fix error message.
771 (dump_twolevel_hints): New function.
772 (dump_load_command): Handle prebound dylib, prebind cksum
773 and twolevel hints.
774 (mach_o_dump): Handle twolevel hints.
775
776 2014-04-01 Tristan Gingold <gingold@adacore.com>
777
778 * od-macho.c (OPT_DATA_IN_CODE): New macro.
779 (options): Add entry for data in code.
780 (mach_o_help): Ditto.
781 (data_in_code_kind_name): New array.
782 (dump_data_in_code): New function.
783 (dump_load_command): Handle data in code.
784 (mach_o_dump): Ditto.
785 (dump_header): Display a terminal newline.
786
787 2014-03-27 Tristan Gingold <gingold@adacore.com>
788
789 * od-macho.c (dump_load_command): Display value for
790 BFD_MACH_O_LC_DYLD_ENVIRONMENT. Handle BFD_MACH_O_LC_DATA_IN_CODE
791 and BFD_MACH_O_LC_DYLIB_CODE_SIGN_DRS.
792
793 2014-03-27 Tristan Gingold <gingold@adacore.com>
794
795 * od-macho.c (OPT_FUNCTION_STARTS): New macro.
796 (options): Add entry for function_starts.
797 (mach_o_help): Ditto.
798 (disp_segment_prot): New function.
799 (dump_section_map): Call disp_segment_prot.
800 (dump_function_starts): New function.
801 (dump_obj_compact_unwind): Fix ouput indentation.
802 (dump_exe_compact_unwind): Fix ouput indentation.
803 (mach_o_dump): Handle function_starts.
804
805 2014-03-26 Tristan Gingold <gingold@adacore.com>
806
807 * od-macho.c (bfd_mach_o_cpu_name): Add BFD_MACH_O_CPU_TYPE_ARM64.
808
809 2014-03-24 Tristan Gingold <gingold@adacore.com>
810
811 * objdump.c (load_specific_debug_section): Set address of section.
812
813 2014-03-24 Tristan Gingold <gingold@adacore.com>
814
815 * od-macho.c (dump_unwind_encoding_x86): Set the factor.
816 (dump_exe_compact_unwind): Change the condition. Improve
817 indentation.
818
819 2014-03-20 Nick Clifton <nickc@redhat.com>
820
821 * readelf.c (process_version_sections): Fix off-by-one error in
822 previous delta.
823
824 2014-03-19 Nick Clifton <nickc@redhat.com>
825
826 PR binutils/16723
827 * readelf.c (process_version_sections): Prevent an infinite loop
828 when the vn_next field is zero but there are still entries to be
829 processed.
830
831 2014-03-17 Tristan Gingold <gingold@adacore.com>
832
833 * od-macho.c (dump_section_header): Renames of dump_section.
834 (dump_segment): Adjust after renaming.
835 (OPT_COMPACT_UNWIND): Define.
836 (options): Add compact unwind.
837 (mach_o_help): Document compact_unwind.
838 (unwind_x86_64_regs, unwind_x86_regs): New arrays.
839 (dump_unwind_encoding_x86, dump_unwind_encoding)
840 (dump_obj_compact_unwind, dump_exe_compact_unwind)
841 (dump_section_content): New functions.
842 (mach_o_dump): Handle compact unwind.
843
844 2014-03-17 Tristan Gingold <gingold@adacore.com>
845
846 * od-macho.c (dump_load_command): Handle lazy load dylib.
847
848 2014-03-14 Anthony Green <green@moxielogic.com>
849
850 * objcopy.c (copy_object): Check fwrite return code.
851
852 2014-03-14 Meador Inge <meadori@codesourcery.com>
853
854 * dwarf.c (strnlen): Move prototype ...
855 * sysdep.h (strnlen): ... to here.
856
857 2014-03-12 Nick Clifton <nickc@redhat.com>
858
859 PR binutils/16652
860 * doc/binutils.texi (ar cmdline): Move --plugin command line
861 option to after the command option.
862
863 2014-03-12 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
864
865 PR binutils/16567
866 * deflex.l: Add noinput and nounput options.
867
868 2014-03-12 Alan Modra <amodra@gmail.com>
869
870 * Makefile.in: Regenerate.
871 * doc/Makefile.in: Regenerate.
872
873 2014-03-06 Nick Clifton <nickc@redhat.com>
874
875 PR binutils/16664
876 * readelf.c (process_attributes): Add checks for corrupt
877 attribute section names.
878
879 2014-03-05 Alan Modra <amodra@gmail.com>
880
881 Update copyright years.
882
883 2014-03-03 Alan Modra <amodra@gmail.com>
884
885 * README: Add "Copyright Notices" paragraph.
886
887 2014-02-11 Cary Coutant <ccoutant@google.com>
888
889 * binutils/dwarf.c (read_and_display_attr_value): Don't warn
890 for zero-length attribute value.
891
892 2014-02-10 Alan Modra <amodra@gmail.com>
893
894 * po/binutils.pot: Regenerate.
895
896 2014-02-06 Andrew Pinski <apinski@cavium.com>
897
898 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_OCTEON3 case.
899
900 2014-02-06 Cary Coutant <ccoutant@google.com>
901
902 PR binutils/16444
903 * readelf.c (print_gnu_note): Add support for NT_GNU_GOLD_VERSION.
904
905 2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
906
907 * version.c (print_version): Update copyright year to 2014.
908
909 2014-01-07 Tom Tromey <tromey@redhat.com>
910
911 * bucomm.c (fatal, non_fatal): Replace obsolete VA_* macros with
912 stdarg macros.
913 * dlltool.c (inform): Replace obsolete VA_* macros with stdarg
914 macros.
915 * dllwrap.c (inform, warn): Replace obsolete VA_* macros with
916 stdarg macros.
917
918 2014-01-07 Tom Tromey <tromey@redhat.com>
919
920 * coffgrok.h (coff_ofile): Don't use PARAMS.
921 * nlmheader.y (strerror): Don't use PARAMS.
922
923 For older changes see ChangeLog-2013
924 \f
925 Copyright (C) 2014 Free Software Foundation, Inc.
926
927 Copying and distribution of this file, with or without modification,
928 are permitted in any medium without royalty provided the copyright
929 notice and this notice are preserved.
930
931 Local Variables:
932 mode: change-log
933 left-margin: 8
934 fill-column: 74
935 version-control: never
936 End:
This page took 0.047786 seconds and 5 git commands to generate.