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