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