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