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