Fixes for memory access violations exposed by fuzzinf various binaries.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
0a9d414a
NC
12014-11-21 Nick Clifton <nickc@redhat.com>
2
3 PR binutils/17512
4 * dwarf.c (get_encoded_value): Check for an encoded size of 0.
5 (display_debug_lines_raw): Check for an invalid line range value.
6 (display_debug_frames): Check for corrupt augmentation data.
7
5d921cbd
NC
82014-11-21 Nick Clifton <nickc@redhat.com>
9
10 PR binutils/17531
11 * readelf.c (process_version_sections): Prevent an infinite loop
12 processing corrupt version need data.
13 (process_corefile_note_segment): Handle corrupt notes.
14
a715796b
TG
152014-11-21 Terry Guo <terry.guo@arm.com>
16
17 * readelf.c (arm_attr_tag_FP_arch): Extended to support FPv5.
18
3f9034c2 192014-11-19 Jan-Benedict Glaw <jbglaw@lug-owl.de>
e44c58ce
JBG
20
21 * dwarf.c (process_extended_line_op): Fix signedness warning.
22
0593bd3a
NC
232014-11-18 Nick Clifton <nickc@redhat.com>
24
25 PR binutuls/17605
26 * bucomm.c (print_arelt_descr): Check for ctime returning NULL.
27
6937bb54
NC
282014-11-18 Nick Clifton <nickc@redhat.com>
29
30 PR binutils/17512
31 * dwarf.c (get_encoded_value): Warn and return if the encoded
32 value is more than 64-bits long.
33 (SAFE_BYTE_GET): Do not attempt to read more than 64-bits.
34 (process_extended_line_op): Add more range checks.
35 (decode_location_expression): Use the return value from
36 display_block. Add more range checks.
37 (read_debug_line_header): Add range check.
38 (display_debug_lines_raw): Add range checks.
39 (display_debug_frames): Silently skip multiple zero terminators.
40 Add range checks.
41 (process_cu_tu_index): Check for non-existant or empty sections.
42 Use SAFE_BYTE_GET instead of byte_get.
43
0eff7165
NC
442014-11-18 Nick Clifton <nickc@redhat.com>
45
46 PR binutils/17531
47 * readelf.c (get_unwind_section_word): Skip reloc processing if
48 there are no relocs associated with the section.
49 (decode_tic6x_unwind_bytecode): Warn and return if the stack
50 pointer adjustment falls off the end of the buffer.
51
041830e0
NC
522014-11-14 Nick Clifton <nickc@redhat.com>
53
54 PR binutils/17512
55 * dwarf.c (get_encoded_value): Add an 'end' parameter. Change the
56 'data' parameter to a double pointer and return the updated value.
57 (decode_location_expression): Update call to get_encoded_value.
58 (frame_need_space): Handle the case where one or both of the
59 mallocs fails.
60 (read_cie): Initialise the cie pointer, even if the read fails.
61 (display_debug_frames): Warn if the calculated block_end is before
62 the start of the block. Break the loop if the CIE could not be
63 read. Update call to get_encoded_value. Warn if the read CFA
64 expressions are too big.
65
3102e897
NC
662014-11-13 Nick Clifton <nickc@redhat.com>
67
68 PR binutils/17531
69 * readelf.c (process_version_sections): If the read of the version
70 def information fails, make sure that the external verdef data is
71 not used.
72 (get_dynamic_data): Do not attempt to allocate memory for more
73 dynamic data than there is in the file. If the read fails, free
74 the allocated buffer.
75 (process_symbol_table): Do not print dynamic information if we
76 were unable to read the dynamic symbol table.
77 (print_gnu_note): Do not print the note if the descsz is too
78 small.
79
f41e4712
NC
802014-11-12 Nick Clifton <nickc@redhat.com>
81
82 PR binutils/17512
83 * dwarf.c (read_and_display_attr_value): Check that we do not read
84 past end.
85 (display_debug_pubnames_worker): Add range checks.
86 (process_debug_info): Check for invalid pointer sizes.
87 (display_loc_list): Likewise.
88 (display_loc_list_dwo): Likewise.
89 (display_debug_ranges): Likewise.
90 (display_debug_aranges): Check for invalid address size.
91 (read_cie): Add range checks. Replace call strchr with while loop.
92 * objdump.c (dump_dwarf): Replace abort with a warning message.
93 (print_section_stabs): Improve range checks.
94 * rdcoff.c (coff_get_slot): Use long for indx parameter type.
95 Add check for an excesively large index.
96 * rddbg.c (read_section_stabs_debugging_info): Zero terminate the
97 string table. Avoid walking off the end of the stabs data.
98 * stabs.c (parse_stab_string): Add check for a NULL name.
99
8b73c356
NC
1002014-11-11 Nick Clifton <nickc@redhat.com>
101
102 PR binutils/17531
103 * binutils/readelf.c (dynamic_nent): Change type to size_t.
104 (slurp_rela_relocs): Use size_t type for nrelas.
105 (slurp_rel_relocs): Likewise.
106 (get_program_headers): Improve out of memory error message.
107 (get_32bit_section_headers): Likewise.
108 (get_32bit_section_headers): Likewise.
109 (get_64bit_section_headers): Likewise.
110 (get_32bit_elf_symbols): Likewise.
111 (get_64bit_elf_symbols): Likewise.
112 (process_section_groups): Likewise.
113 (get_32bit_dynamic_section): Likewise.
114 (get_64bit_dynamic_section): Likewise.
115 (process_dynamic_section): Likewise.
116 (process_version_sections): Likewise.
117 (get_symbol_index_type): Likewise.
118 (process_mips_specific): Likewise.
119 (process_corefile_note_segment): Likewise.
120 (process_version_sections): Use size_t type for total.
121 (get_dynamic_data): Change type of number parameter to size_t.
122 Improve out of memory error messages.
123 (process_symbol_table): Change type of nbuckets and nchains to
124 size_t. Skip processing of sections headers if there are none.
125 Improve out of memory error messages.
126
60984d52
NC
1272014-11-11 Nick Clifton <nickc@redhat.com>
128
129 * po/fr.po: Updated French translation.
130
541a3cbd
NC
1312014-11-11 Nick Clifton <nickc@redhat.com>
132
133 PR binutils/17531
134 * readelf.c (display_arm_attribute): Avoid reading off the end of
135 the buffer when processing a Tag_nodefaults.
136
4082ef84
NC
1372014-11-10 Nick Clifton <nickc@redhat.com>
138
139 PR binutils/17531
140 * (ia64_process_unwind): Replace assertion with an error message.
141 Add range checking for group section indicies.
142 (hppa_process_unwind): Replace assertion with an error message.
143 (process_syminfo): Likewise.
144 (decode_arm_unwind_bytecode): Add range checking.
145 (dump_section_as_strings): Add more string range checking.
146 (display_tag_value): Likewise.
147 (display_arm_attribute): Likewise.
148 (display_gnu_attribute): Likewise.
149 (display_tic6x_attribute): Likewise.
150 (display_msp430x_attribute): Likewise.
151
5e186ece
NC
1522014-11-10 Nick Clifton <nickc@redhat.com>
153
154 PR binutils/17552
155 * (copy_archive): Clean up temporary files even if an error
156 occurs.
157
5a2cbcf4
L
1582014-11-07 H.J. Lu <hongjiu.lu@intel.com>
159
160 * readelf.c (process_dynamic_section): Cast time value to unsigned
161 long to print.
162
071436c6
NC
1632014-11-07 Nick Clifton <nickc@redhat.com>
164
165 PR binutils/17531
166 * readelf.c (get_data): Avoid allocating memory when we know that
167 the read will fail.
168 (find_section_by_type): New function.
169 (get_unwind_section_word): Check for invalid symbol indicies.
170 Check for invalid reloc types.
171 (get_32bit_dynamic_section): Add range checks.
172 (get_64bit_dynamic_section): Add range checks.
173 (process_dynamic_section): Check for a corrupt time value.
174 (process_symbol_table): Add range checks.
175 (dump_section_as_strings): Add string length range checks.
176 (display_tag_value): Likewise.
177 (display_arm_attribute): Likewise.
178 (display_gnu_attribute): Likewise.
179 (display_tic6x_attribute): Likewise.
180 (display_msp430x_attribute): Likewise.
181 (process_mips_specific): Add range check.
182
dd9b91de
NC
1832014-11-06 Nick Clifton <nickc@redhat.com>
184
185 PR binutils/17552, binutils/17533
186 * bucomm.c (is_valid_archive_path): New function. Returns false
187 for absolute pathnames and pathnames that include /../.
188 * bucomm.h (is_valid_archive_path): Add prototype.
189 * ar.c (extract_file): Use new function to check for valid
190 pathnames when extracting files from an archive.
191 * objcopy.c (copy_archive): Likewise.
192 * doc/binutils.texi: Update documentation to mention the
193 limitation on pathname of archive members.
194
74e1a04b
NC
1952014-11-05 Nick Clifton <nickc@redhat.com>
196
dd9b91de 197 PR binutils/17531
74e1a04b
NC
198 * readelf.c (printable_section_name): New function.
199 (printable_section_name_from_index): New function.
200 (dump_relocations): Use new function.
201 (process_program_headers, get_32bit_elf_symbols,
202 (get_64bit_elf_symbols, process_section_headers,
203 (process_section_groups, process_relocs, ia64_process_unwind,
204 (hppa_process_unwind, get_unwind_section_word, decode_arm_unwind,
205 (arm_process_unwind, process_version_sections,
206 (process_symbol_table, apply_relocations, get_section_contents,
207 (dump_section_as_strings, dump_section_as_bytes,
208 (display_debug_section, process_attributes, process_mips_specific,
209 (process_mips_specific process_gnu_liblist): Likewise.
210 (get_unwind_section_word): Check for a missing symbol table.
211 Replace aborts with error messages.
212 (arm_process_unwind): Check for a missing string table.
213 (process_attributes): Check for an attribute length that is too
214 small.
215 (process_mips_specific): Check for a corrupt GOT symbol offset.
216
2172014-11-05 Nick Clifton <nickc@redhat.com>
218
dd9b91de 219 PR binutils/17533
74e1a04b
NC
220 * bucomm.c (is_valid_archive_path): New function.
221 * bucomm.h (is_valid_archive_path): Prototype it.
222 * ar.c (extract_file): Call is_valid_archive_path to verify a
223 member filename before extracting it.
224 * objcopy.c (copy_archive): Likewise.
225
7fc5ac57
JBG
2262014-11-05 Jan-Benedict Glaw <jbglaw@lug-owl.de>
227
228 * readelf.c (process_mips_specific): Fix format string warning.
229
df97ab2a
MF
2302014-11-04 Matthew Fortune <matthew.fortune@imgtec.com>
231
232 * readelf.c (process_mips_specific): Rename index to idx.
233
049b0c3a
NC
2342014-11-04 Nick Clifton <nickc@redhat.com>
235
236 PR binutils/17531
237 * readelf.c (get_data): If the reason parameter is null, do not
238 print any error messages.
239 (get_32bit_section_headers): Verify section header entry size
240 before reading in the section headers.
241 (get_64bit_section_headers): Likewise.
242 (process_section_headers): Pass FALSE to get_section_headers.
243 (get_file_header): Pass TRUE to get_section_headers.
244 (process_dynamic_section): Change an assert to an error message.
245 (process_symbol_table): Handle corrupt histograms.
246
e0a31db1
NC
247 (get_32bit_program_headers): Verify program header entry size
248 before reading in the program headers.
249 (get_64bit_program_headers): Likewise.
250 (get_unwind_section_word): Do nothing if no section was provided.
251 Fail if the offset is outside of the section.
252 (print_dynamic_symbol): Catch out of range symbol indicies.
253 (process_mips_specific): Likewise.
254 (process_attributes): Make sure that there is enough space left in
255 the section before attempting to read the length of the next
256 attribute.
257
5a3f568b
NC
2582014-11-03 Nick Clifton <nickc@redhat.com>
259
260 PR binutils/17512
261 * objdump.c (slurp_symtab): Fail gracefully if the table could not
262 be read.
263 (dump_relocs_in_section): Likewise.
264
ba241f2d
NC
2652014-11-03 Nick Clifton <nickc@redhat.com>
266
267 * po/fi.po: Updated Finnish translation.
268 * po/sv.po: Updated Swedish translation.
269
2a03f307
HPN
2702014-11-01 Hans-Peter Nilsson <hp@axis.com>
271
272 * readelf.c (get_32bit_elf_symbols): Cast error
273 parameters of bfd_size_type with the %lx format to
274 unsigned long.
275
2c629856 2762014-10-31 Andrew Pinski <apinski@cavium.com>
7fc5ac57 277 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
2c629856
N
278
279 * readelf.c (print_mips_isa_ext): Print the value of Octeon3.
280
da37262b
IB
2812014-10-31 Iain Buclaw <ibuclaw@gdcproject.org>
282
283 * cxxfilt.c (main): Add case for dlang_demangling style.
284
f54498b4
NC
2852014-10-31 Nick Clifton <nickc@redhat.com>
286
287 PR binutils/17512
288 * readelf.c (process_program_headers): Avoid memory exhaustion due
289 to corrupt values in a dynamis segment header.
290 (get_32bit_elf_symbols): Do not attempt to read an over-large
291 section.
292 (get_64bit_elf_symbols): Likewise.
293
fe060053
NC
2942014-10-31 Nick Clifton <nickc@redhat.com>
295
296 * strings.c: Add new command line option --data to only scan the
297 initialized, loadable data secions of binaries. Choose the
298 default behaviour of --all or --data based upon a configure
299 option.
300 * doc/binutils.texi (strings): Update documentation. Include
301 description of why the --data option might be unsafe.
302 * configure.ac: Add new option --disable-default-strings-all which
303 restores the old behaviour of strings using --data by default. If
304 the option is not used make strings use --all by default.
305 * NEWS: Mention the new behaviour of strings.
306 * configure: Regenerate.
307 * config.in: Regenerate.
308
76ca31c0
NC
3092014-10-30 Nick Clifton <nickc@redhat.com>
310
311 * readelf.c (CHECK_ENTSIZE_VALUES): Rewrite error message so that
312 there is a single string for translation.
313 (dynamic_section_mips_val): Likewise.
314
64b588b5
NC
3152014-10-29 Nick Clifton <nickc@redhat.com>
316
317 * po/bg.po: Updated Bulgarian translation.
318 * po/sr.po: New Serbian translation.
319 * po/sv.po: Updated Swedish translation.
320
00ac7aa0
MF
3212014-10-22 Matthew Fortune <matthew.fortune@imgtec.com>
322
323 * readelf.c (print_mips_ases): Print unknown ASEs.
324 (print_mips_isa_ext): Print the value of an unknown extension.
325
91dc4e0a
TG
3262014-10-15 Tristan Gingold <gingold@adacore.com>
327
328 * configure: Regenerate.
329
c50415e2
TG
3302014-10-14 Tristan Gingold <gingold@adacore.com>
331
332 * NEWS: Add marker for 2.25.
333
65879393
AM
3342014-10-14 Alan Modra <amodra@gmail.com>
335
336 PR 17453
337 * dwarf.c (read_leb128): Avoid signed overflow.
338 (read_debug_line_header): Likewise.
339
9495b2e6
AM
3402014-10-14 Alan Modra <amodra@gmail.com>
341
342 PR 17453
343 * readelf.c (process_program_headers): Correct fscanf format used
344 for interpreter.
345
3d68f91c
JM
3462014-10-09 Jose E. Marchesi <jose.marchesi@oracle.com>
347
348 * readelf.c (display_sparc_hwcaps2): New function.
349 (display_sparc_gnu_attribute): Call `display_sparc_hwcaps2' when
350 handling `Tag_GNU_Sparc_HWCAPS2' attributes.
351
49727e46
AM
3522014-09-22 Alan Modra <amodra@gmail.com>
353
354 PR 16563
355 * dwarf.c (GET): Remove semicolon.
356 (read_cie): New function, extracted from..
357 (display_debug_frames): ..here. Correctly handle signed offset
358 from FDE to CIE in .eh_frame. Decode forward referenced CIEs too.
359
70e99720
TG
3602014-09-16 Nick Clifton <nickc@redhat.com>
361
362 * readelf.c (display_arm_attribute): Use unsigned int type for
363 tag, val and type variables.
364
40c7a7cb
KLC
3652014-09-16 Kuan-Lin Chen <kuanlinchentw@gmail.com>
366
367 * readelf.c (decode_NDS32_machine_flags): Display ABI2 FP+.
368
7361da2c
AB
3692014-09-15 Andrew Bennett <andrew.bennett@imgtec.com>
370 Matthew Fortune <matthew.fortune@imgtec.com>
371
372 * readelf.c (get_machine_flags): Add support for mips32r6 and
373 mips64r6.
374
74fffc39
JT
3752014-09-01 Jon TURNEY <jon.turney@dronecode.org.uk>
376
377 * objcopy.c (is_nondebug_keep_contents_section): Change
378 '.build-id' to '.buildid'.
379
4ee22035
RH
3802014-08-22 Richard Henderson <rth@redhat.com>
381
382 * dwarf.h (init_dwarf_regnames_aarch64): Declare.
383 * dwarf.c (dwarf_regnames_aarch64): New.
384 (init_dwarf_regnames_aarch64): New.
385 (init_dwarf_regnames): Call it.
386 * objdump.c (dump_dwarf): Likewise.
387
2974be62
AM
3882014-08-19 Alan Modra <amodra@gmail.com>
389
390 * configure: Regenerate.
391
b879806f
AM
3922014-08-14 Alan Modra <amodra@gmail.com>
393
394 * configure.ac: Move ACX_LARGEFILE after LT_INIT.
395 * config.in: Regenerate.
396 * configure: Regenerate.
397
351cdf24
MF
3982014-07-29 Matthew Fortune <matthew.fortune@imgtec.com>
399
400 * readelf.c (get_mips_segment_type): Display name for PT_MIPS_ABIFLAGS.
401 (get_mips_section_type_name): Display name for SHT_MIPS_ABIFLAGS.
402 (display_mips_gnu_attribute): Abstracted fp abi printing to...
403 (print_mips_fp_abi_value): New static function. Handle new FP ABIs.
404 (print_mips_ases, print_mips_isa_ext): New static functions.
405 (get_mips_reg_size): Likewise.
406 (process_mips_specific): Display abiflags data.
407
b794fc1d
AM
4082014-07-28 Alan Modra <amodra@gmail.com>
409
410 PR 13227
411 * nm.c (filter_symbols): Warn on __gnu_lto_slim.
412
3510a7b8
NC
4132014-07-07 Nick Clifton <nickc@redhat.com>
414
415 * readelf.c (get_symbol_type): Revert accidental change to
416 detection of thumb function symbols.
417
35eafcc7
AM
4182014-07-04 Alan Modra <amodra@gmail.com>
419
420 * configure.ac: Rename from configure.in.
421 * Makefile.in: Regenerate.
422 * config.in: Regenerate.
423 * doc/Makefile.in: Regenerate.
424
2e98a7bd
AM
4252014-07-04 Alan Modra <amodra@gmail.com>
426
427 * configure.in: Include bfd/version.m4.
428 (AC_INIT, AM_INIT_AUTOMAKE): Use modern form.
429 (BFD_VERSION): Delete.
430 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Remove bfd/configure.in.
431 * configure: Regenerate.
432 * Makefile.in: Regenerate.
433 * doc/Makefile.in: Regenerate.
434
8d112f9e
TG
4352014-07-03 Tristan Gingold <gingold@adacore.com>
436
437 * doc/binutils.texi: Clarify addr2line output.
438
b6a1c03a
AM
4392014-07-01 Alan Modra <amodra@gmail.com>
440
441 * objdump.c (dump_bfd_header): Don't print HAS_LOAD_PAGE.
442
334ac421
EA
4432014-06-26 Erik Akermann <kurterikackermann@gmail.com>
444
445 * strings.c: Add -w/--include-all-whitespace option to include any
446 whitespace character in the displayed strings.
447 * NEWS: Mention the new feature.
448 * doc/binutils.texi (strings): Document the new command line
449 option.
450
df565f32
NC
4512014-06-26 Nick Clifton <nickc@redhat.com>
452
453 * readelf.c (process_note_sections): If there are no note sections
454 try processing note segments instead.
455
548a2357
NC
4562014-06-17 Anton Lavrentiwev <lavr@ncbi.nim.nih.gov>
457
458 PR binutils/16923
459 * rcparse.y (fixedverinfo): Prevent large version numbers from
460 corrupting other values.
461
d71ad7fc
RC
4622014-06-09 Romain Chastenet <romain.chastenet@free.fr>
463
464 PR binutils/16252
465 * dwarf.c (display_debug_frames): Remember the state of the
466 cfa_offset, cfa_reg, ra and cfa_exp field
467
270c9937
JB
4682014-06-05 Joel Brobecker <brobecker@adacore.com>
469
470 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add dependency on
471 bfd's development.sh.
472 * Makefile.in, configure: Regenerate.
473
6e6e7cfc
JT
4742014-05-16 Jon Turney <jon.turney@dronecode.org.uk>
475
476 * objcopy.c (is_nondebug_keep_contents_section): New function.
477 (setup_section): Use it.
478
856ea05c
KP
4792014-05-16 Kaushik Phata <Kaushik.Phatak@kpit.com>
480
481 * readelf.c (get_machine_flags): Handle RL78 64-bit doubles flag.
482
6d00b590
AM
4832014-05-02 Alan Modra <amodra@gmail.com>
484
485 * emul_aix.c: Update bfd target vector naming.
486 * testsuite/binutils-all/objcopy.exp: Likewise.
487
b2bcb4bd
CS
4882014-04-24 Christian Svensson <blue@cmd.nu>
489
490 * MAINTAINERS: Add myself and Stefan as OR1K maintainers.
491
7d64c587
AB
4922014-04-23 Andrew Bennett <andrew.bennett@imgtec.com>
493
494 * doc/binutils.texi: Document the disassemble MIPS XPA instructions
495 command line option.
496
73589c9d
CS
4972014-04-22 Christian Svensson <blue@cmd.nu>
498
499 * readelf.c: Remove openrisc and or32 support. Add support for or1k.
500
c9ffd2ea
TG
5012014-04-18 Tristan Gingold <gingold@adacore.com>
502
503 * od-macho.c (dump_section_map): Adjust as load commands
504 are now chained.
505 (dump_load_command, dump_section_content): Likewise.
506
e89d3dee
TG
5072014-04-16 Tristan Gingold <gingold@adacore.com>
508
509 * od-macho.c (OPT_DYLD_INFO): New macro.
510 (options): Add entry for dyld_info.
511 (mach_o_help): Likewise.
512 (load_and_dump, dump_dyld_info_rebase, dump_dyld_info_bind)
513 (dump_dyld_info_export_1, dump_dyld_info_export): New functions.
514 (bfd_mach_o_dyld_rebase_type_name): New array.
515 (export_info_data): New struct.
516 (dump_dyld_info): Add verbose argument. Dump rebase, bind and
517 exports data.
518 (dump_load_command): Adjust dump_dyld_info call.
519 (mach_o_dump): Handle dyld_info.
520
47f8a107
TG
5212014-04-16 Tristan Gingold <gingold@adacore.com>
522
523 * od-macho.c (dump_header): Display sizeofcmds in decimal too.
524 (dump_segment): Reformat output.
525 (dump_dyld_info): Also display end offsets.
526 (dump_load_command): Add IDX argument, display commands size
527 and offset, reformat display.
528 (dump_load_commands): Adjust for added argument.
529
5063a421
AM
5302014-04-07 Alan Modra <amodra@gmail.com>
531
532 PR binutils/16811
533 * objcopy.c (copy_object): Error if no sections.
534
92b1b678
MT
5352014-04-03 Markus Trippelsdorf <markus@trippelsdorf.de>
536
537 PR binutils/14698
538 ar.c: Set plugin_target early if plugins are supported.
539 nm.c: Likewise.
540
965b60c9
TG
5412014-04-03 Tristan Gingold <gingold@adacore.com>
542
543 * od-macho.c (printf_uint64): New function.
544 (dump_load_command, dump_obj_compact_unwind): Use it.
545 (dump_exe_compact_unwind): Display personality functions.
546
7a79c514
TG
5472014-04-02 Tristan Gingold <gingold@adacore.com>
548
549 * od-macho.c (OPT_TWOLEVEL_HINTS): New macro.
550 (options): Add entry for twolevel_hints.
551 (dump_data_in_code): Fix error message.
552 (dump_twolevel_hints): New function.
553 (dump_load_command): Handle prebound dylib, prebind cksum
554 and twolevel hints.
555 (mach_o_dump): Handle twolevel hints.
556
c275b681
TG
5572014-04-01 Tristan Gingold <gingold@adacore.com>
558
559 * od-macho.c (OPT_DATA_IN_CODE): New macro.
560 (options): Add entry for data in code.
561 (mach_o_help): Ditto.
562 (data_in_code_kind_name): New array.
563 (dump_data_in_code): New function.
564 (dump_load_command): Handle data in code.
565 (mach_o_dump): Ditto.
566 (dump_header): Display a terminal newline.
567
10be66a4
TG
5682014-03-27 Tristan Gingold <gingold@adacore.com>
569
570 * od-macho.c (dump_load_command): Display value for
571 BFD_MACH_O_LC_DYLD_ENVIRONMENT. Handle BFD_MACH_O_LC_DATA_IN_CODE
572 and BFD_MACH_O_LC_DYLIB_CODE_SIGN_DRS.
573
3cc27770
TG
5742014-03-27 Tristan Gingold <gingold@adacore.com>
575
576 * od-macho.c (OPT_FUNCTION_STARTS): New macro.
577 (options): Add entry for function_starts.
578 (mach_o_help): Ditto.
579 (disp_segment_prot): New function.
580 (dump_section_map): Call disp_segment_prot.
581 (dump_function_starts): New function.
582 (dump_obj_compact_unwind): Fix ouput indentation.
583 (dump_exe_compact_unwind): Fix ouput indentation.
584 (mach_o_dump): Handle function_starts.
585
d8028530
TG
5862014-03-26 Tristan Gingold <gingold@adacore.com>
587
588 * od-macho.c (bfd_mach_o_cpu_name): Add BFD_MACH_O_CPU_TYPE_ARM64.
589
595330b7
TG
5902014-03-24 Tristan Gingold <gingold@adacore.com>
591
592 * objdump.c (load_specific_debug_section): Set address of section.
593
aa9fa1e2
TG
5942014-03-24 Tristan Gingold <gingold@adacore.com>
595
596 * od-macho.c (dump_unwind_encoding_x86): Set the factor.
597 (dump_exe_compact_unwind): Change the condition. Improve
598 indentation.
599
bcf83b2a
NC
6002014-03-20 Nick Clifton <nickc@redhat.com>
601
602 * readelf.c (process_version_sections): Fix off-by-one error in
603 previous delta.
604
c24cf8b6
NC
6052014-03-19 Nick Clifton <nickc@redhat.com>
606
607 PR binutils/16723
608 * readelf.c (process_version_sections): Prevent an infinite loop
609 when the vn_next field is zero but there are still entries to be
610 processed.
611
167e1c1f
TG
6122014-03-17 Tristan Gingold <gingold@adacore.com>
613
614 * od-macho.c (dump_section_header): Renames of dump_section.
615 (dump_segment): Adjust after renaming.
616 (OPT_COMPACT_UNWIND): Define.
617 (options): Add compact unwind.
618 (mach_o_help): Document compact_unwind.
619 (unwind_x86_64_regs, unwind_x86_regs): New arrays.
620 (dump_unwind_encoding_x86, dump_unwind_encoding)
621 (dump_obj_compact_unwind, dump_exe_compact_unwind)
622 (dump_section_content): New functions.
623 (mach_o_dump): Handle compact unwind.
624
fbe383b9
TG
6252014-03-17 Tristan Gingold <gingold@adacore.com>
626
627 * od-macho.c (dump_load_command): Handle lazy load dylib.
628
182a105a
AG
6292014-03-14 Anthony Green <green@moxielogic.com>
630
631 * objcopy.c (copy_object): Check fwrite return code.
632
5a026fc9
NC
6332014-03-14 Meador Inge <meadori@codesourcery.com>
634
9495b2e6
AM
635 * dwarf.c (strnlen): Move prototype ...
636 * sysdep.h (strnlen): ... to here.
5a026fc9 637
8a1373cc
NC
6382014-03-12 Nick Clifton <nickc@redhat.com>
639
640 PR binutils/16652
641 * doc/binutils.texi (ar cmdline): Move --plugin command line
642 option to after the command option.
643
c63043aa
DG
6442014-03-12 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
645
646 PR binutils/16567
647 * deflex.l: Add noinput and nounput options.
648
fa47fa92
AM
6492014-03-12 Alan Modra <amodra@gmail.com>
650
651 * Makefile.in: Regenerate.
652 * doc/Makefile.in: Regenerate.
653
e9847026
NC
6542014-03-06 Nick Clifton <nickc@redhat.com>
655
656 PR binutils/16664
657 * readelf.c (process_attributes): Add checks for corrupt
658 attribute section names.
659
4b95cf5c
AM
6602014-03-05 Alan Modra <amodra@gmail.com>
661
662 Update copyright years.
663
2c80b753
AM
6642014-03-03 Alan Modra <amodra@gmail.com>
665
666 * README: Add "Copyright Notices" paragraph.
667
503a6091
CC
6682014-02-11 Cary Coutant <ccoutant@google.com>
669
670 * binutils/dwarf.c (read_and_display_attr_value): Don't warn
671 for zero-length attribute value.
672
c1c69e83
AM
6732014-02-10 Alan Modra <amodra@gmail.com>
674
675 * po/binutils.pot: Regenerate.
676
d32e5c54
AP
6772014-02-06 Andrew Pinski <apinski@cavium.com>
678
679 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_OCTEON3 case.
680
926c5385
CC
6812014-02-06 Cary Coutant <ccoutant@google.com>
682
683 PR binutils/16444
684 * readelf.c (print_gnu_note): Add support for NT_GNU_GOLD_VERSION.
685
221fd5d5
L
6862014-01-08 H.J. Lu <hongjiu.lu@intel.com>
687
688 * version.c (print_version): Update copyright year to 2014.
689
1651e569
TT
6902014-01-07 Tom Tromey <tromey@redhat.com>
691
692 * bucomm.c (fatal, non_fatal): Replace obsolete VA_* macros with
693 stdarg macros.
694 * dlltool.c (inform): Replace obsolete VA_* macros with stdarg
695 macros.
696 * dllwrap.c (inform, warn): Replace obsolete VA_* macros with
697 stdarg macros.
698
b51f1626
TT
6992014-01-07 Tom Tromey <tromey@redhat.com>
700
701 * coffgrok.h (coff_ofile): Don't use PARAMS.
702 * nlmheader.y (strerror): Don't use PARAMS.
703
5fb776a6 704For older changes see ChangeLog-2013
252b5132 705\f
5fb776a6 706Copyright (C) 2014 Free Software Foundation, Inc.
752937aa
NC
707
708Copying and distribution of this file, with or without modification,
709are permitted in any medium without royalty provided the copyright
710notice and this notice are preserved.
711
252b5132
RH
712Local Variables:
713mode: change-log
714left-margin: 8
715fill-column: 74
716version-control: never
717End:
This page took 0.640923 seconds and 4 git commands to generate.