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