1 2014-11-04 Nick Clifton <nickc@redhat.com>
4 * readelf.c (get_data): If the reason parameter is null, do not
5 print any error messages.
6 (get_32bit_section_headers): Verify section header entry size
7 before reading in the section headers.
8 (get_64bit_section_headers): Likewise.
9 (process_section_headers): Pass FALSE to get_section_headers.
10 (get_file_header): Pass TRUE to get_section_headers.
11 (process_dynamic_section): Change an assert to an error message.
12 (process_symbol_table): Handle corrupt histograms.
14 (get_32bit_program_headers): Verify program header entry size
15 before reading in the program headers.
16 (get_64bit_program_headers): Likewise.
17 (get_unwind_section_word): Do nothing if no section was provided.
18 Fail if the offset is outside of the section.
19 (print_dynamic_symbol): Catch out of range symbol indicies.
20 (process_mips_specific): Likewise.
21 (process_attributes): Make sure that there is enough space left in
22 the section before attempting to read the length of the next
25 2014-11-03 Nick Clifton <nickc@redhat.com>
28 * objdump.c (slurp_symtab): Fail gracefully if the table could not
30 (dump_relocs_in_section): Likewise.
32 2014-11-03 Nick Clifton <nickc@redhat.com>
34 * po/fi.po: Updated Finnish translation.
35 * po/sv.po: Updated Swedish translation.
37 2014-11-01 Hans-Peter Nilsson <hp@axis.com>
39 * readelf.c (get_32bit_elf_symbols): Cast error
40 parameters of bfd_size_type with the %lx format to
43 2014-10-31 Andrew Pinski <apinski@cavium.com>
44 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
46 * readelf.c (print_mips_isa_ext): Print the value of Octeon3.
48 2014-10-31 Iain Buclaw <ibuclaw@gdcproject.org>
50 * cxxfilt.c (main): Add case for dlang_demangling style.
52 2014-10-31 Nick Clifton <nickc@redhat.com>
55 * readelf.c (process_program_headers): Avoid memory exhaustion due
56 to corrupt values in a dynamis segment header.
57 (get_32bit_elf_symbols): Do not attempt to read an over-large
59 (get_64bit_elf_symbols): Likewise.
61 2014-10-31 Nick Clifton <nickc@redhat.com>
63 * strings.c: Add new command line option --data to only scan the
64 initialized, loadable data secions of binaries. Choose the
65 default behaviour of --all or --data based upon a configure
67 * doc/binutils.texi (strings): Update documentation. Include
68 description of why the --data option might be unsafe.
69 * configure.ac: Add new option --disable-default-strings-all which
70 restores the old behaviour of strings using --data by default. If
71 the option is not used make strings use --all by default.
72 * NEWS: Mention the new behaviour of strings.
73 * configure: Regenerate.
74 * config.in: Regenerate.
76 2014-10-30 Nick Clifton <nickc@redhat.com>
78 * readelf.c (CHECK_ENTSIZE_VALUES): Rewrite error message so that
79 there is a single string for translation.
80 (dynamic_section_mips_val): Likewise.
82 2014-10-29 Nick Clifton <nickc@redhat.com>
84 * po/bg.po: Updated Bulgarian translation.
85 * po/sr.po: New Serbian translation.
86 * po/sv.po: Updated Swedish translation.
88 2014-10-22 Matthew Fortune <matthew.fortune@imgtec.com>
90 * readelf.c (print_mips_ases): Print unknown ASEs.
91 (print_mips_isa_ext): Print the value of an unknown extension.
93 2014-10-15 Tristan Gingold <gingold@adacore.com>
95 * configure: Regenerate.
97 2014-10-14 Tristan Gingold <gingold@adacore.com>
99 * NEWS: Add marker for 2.25.
101 2014-10-14 Alan Modra <amodra@gmail.com>
104 * dwarf.c (read_leb128): Avoid signed overflow.
105 (read_debug_line_header): Likewise.
107 2014-10-14 Alan Modra <amodra@gmail.com>
110 * readelf.c (process_program_headers): Correct fscanf format used
113 2014-10-09 Jose E. Marchesi <jose.marchesi@oracle.com>
115 * readelf.c (display_sparc_hwcaps2): New function.
116 (display_sparc_gnu_attribute): Call `display_sparc_hwcaps2' when
117 handling `Tag_GNU_Sparc_HWCAPS2' attributes.
119 2014-09-22 Alan Modra <amodra@gmail.com>
122 * dwarf.c (GET): Remove semicolon.
123 (read_cie): New function, extracted from..
124 (display_debug_frames): ..here. Correctly handle signed offset
125 from FDE to CIE in .eh_frame. Decode forward referenced CIEs too.
127 2014-09-16 Nick Clifton <nickc@redhat.com>
129 * readelf.c (display_arm_attribute): Use unsigned int type for
130 tag, val and type variables.
132 2014-09-16 Kuan-Lin Chen <kuanlinchentw@gmail.com>
134 * readelf.c (decode_NDS32_machine_flags): Display ABI2 FP+.
136 2014-09-15 Andrew Bennett <andrew.bennett@imgtec.com>
137 Matthew Fortune <matthew.fortune@imgtec.com>
139 * readelf.c (get_machine_flags): Add support for mips32r6 and
142 2014-09-01 Jon TURNEY <jon.turney@dronecode.org.uk>
144 * objcopy.c (is_nondebug_keep_contents_section): Change
145 '.build-id' to '.buildid'.
147 2014-08-22 Richard Henderson <rth@redhat.com>
149 * dwarf.h (init_dwarf_regnames_aarch64): Declare.
150 * dwarf.c (dwarf_regnames_aarch64): New.
151 (init_dwarf_regnames_aarch64): New.
152 (init_dwarf_regnames): Call it.
153 * objdump.c (dump_dwarf): Likewise.
155 2014-08-19 Alan Modra <amodra@gmail.com>
157 * configure: Regenerate.
159 2014-08-14 Alan Modra <amodra@gmail.com>
161 * configure.ac: Move ACX_LARGEFILE after LT_INIT.
162 * config.in: Regenerate.
163 * configure: Regenerate.
165 2014-07-29 Matthew Fortune <matthew.fortune@imgtec.com>
167 * readelf.c (get_mips_segment_type): Display name for PT_MIPS_ABIFLAGS.
168 (get_mips_section_type_name): Display name for SHT_MIPS_ABIFLAGS.
169 (display_mips_gnu_attribute): Abstracted fp abi printing to...
170 (print_mips_fp_abi_value): New static function. Handle new FP ABIs.
171 (print_mips_ases, print_mips_isa_ext): New static functions.
172 (get_mips_reg_size): Likewise.
173 (process_mips_specific): Display abiflags data.
175 2014-07-28 Alan Modra <amodra@gmail.com>
178 * nm.c (filter_symbols): Warn on __gnu_lto_slim.
180 2014-07-07 Nick Clifton <nickc@redhat.com>
182 * readelf.c (get_symbol_type): Revert accidental change to
183 detection of thumb function symbols.
185 2014-07-04 Alan Modra <amodra@gmail.com>
187 * configure.ac: Rename from configure.in.
188 * Makefile.in: Regenerate.
189 * config.in: Regenerate.
190 * doc/Makefile.in: Regenerate.
192 2014-07-04 Alan Modra <amodra@gmail.com>
194 * configure.in: Include bfd/version.m4.
195 (AC_INIT, AM_INIT_AUTOMAKE): Use modern form.
196 (BFD_VERSION): Delete.
197 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Remove bfd/configure.in.
198 * configure: Regenerate.
199 * Makefile.in: Regenerate.
200 * doc/Makefile.in: Regenerate.
202 2014-07-03 Tristan Gingold <gingold@adacore.com>
204 * doc/binutils.texi: Clarify addr2line output.
206 2014-07-01 Alan Modra <amodra@gmail.com>
208 * objdump.c (dump_bfd_header): Don't print HAS_LOAD_PAGE.
210 2014-06-26 Erik Akermann <kurterikackermann@gmail.com>
212 * strings.c: Add -w/--include-all-whitespace option to include any
213 whitespace character in the displayed strings.
214 * NEWS: Mention the new feature.
215 * doc/binutils.texi (strings): Document the new command line
218 2014-06-26 Nick Clifton <nickc@redhat.com>
220 * readelf.c (process_note_sections): If there are no note sections
221 try processing note segments instead.
223 2014-06-17 Anton Lavrentiwev <lavr@ncbi.nim.nih.gov>
226 * rcparse.y (fixedverinfo): Prevent large version numbers from
227 corrupting other values.
229 2014-06-09 Romain Chastenet <romain.chastenet@free.fr>
232 * dwarf.c (display_debug_frames): Remember the state of the
233 cfa_offset, cfa_reg, ra and cfa_exp field
235 2014-06-05 Joel Brobecker <brobecker@adacore.com>
237 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add dependency on
238 bfd's development.sh.
239 * Makefile.in, configure: Regenerate.
241 2014-05-16 Jon Turney <jon.turney@dronecode.org.uk>
243 * objcopy.c (is_nondebug_keep_contents_section): New function.
244 (setup_section): Use it.
246 2014-05-16 Kaushik Phata <Kaushik.Phatak@kpit.com>
248 * readelf.c (get_machine_flags): Handle RL78 64-bit doubles flag.
250 2014-05-02 Alan Modra <amodra@gmail.com>
252 * emul_aix.c: Update bfd target vector naming.
253 * testsuite/binutils-all/objcopy.exp: Likewise.
255 2014-04-24 Christian Svensson <blue@cmd.nu>
257 * MAINTAINERS: Add myself and Stefan as OR1K maintainers.
259 2014-04-23 Andrew Bennett <andrew.bennett@imgtec.com>
261 * doc/binutils.texi: Document the disassemble MIPS XPA instructions
264 2014-04-22 Christian Svensson <blue@cmd.nu>
266 * readelf.c: Remove openrisc and or32 support. Add support for or1k.
268 2014-04-18 Tristan Gingold <gingold@adacore.com>
270 * od-macho.c (dump_section_map): Adjust as load commands
272 (dump_load_command, dump_section_content): Likewise.
274 2014-04-16 Tristan Gingold <gingold@adacore.com>
276 * od-macho.c (OPT_DYLD_INFO): New macro.
277 (options): Add entry for dyld_info.
278 (mach_o_help): Likewise.
279 (load_and_dump, dump_dyld_info_rebase, dump_dyld_info_bind)
280 (dump_dyld_info_export_1, dump_dyld_info_export): New functions.
281 (bfd_mach_o_dyld_rebase_type_name): New array.
282 (export_info_data): New struct.
283 (dump_dyld_info): Add verbose argument. Dump rebase, bind and
285 (dump_load_command): Adjust dump_dyld_info call.
286 (mach_o_dump): Handle dyld_info.
288 2014-04-16 Tristan Gingold <gingold@adacore.com>
290 * od-macho.c (dump_header): Display sizeofcmds in decimal too.
291 (dump_segment): Reformat output.
292 (dump_dyld_info): Also display end offsets.
293 (dump_load_command): Add IDX argument, display commands size
294 and offset, reformat display.
295 (dump_load_commands): Adjust for added argument.
297 2014-04-07 Alan Modra <amodra@gmail.com>
300 * objcopy.c (copy_object): Error if no sections.
302 2014-04-03 Markus Trippelsdorf <markus@trippelsdorf.de>
305 ar.c: Set plugin_target early if plugins are supported.
308 2014-04-03 Tristan Gingold <gingold@adacore.com>
310 * od-macho.c (printf_uint64): New function.
311 (dump_load_command, dump_obj_compact_unwind): Use it.
312 (dump_exe_compact_unwind): Display personality functions.
314 2014-04-02 Tristan Gingold <gingold@adacore.com>
316 * od-macho.c (OPT_TWOLEVEL_HINTS): New macro.
317 (options): Add entry for twolevel_hints.
318 (dump_data_in_code): Fix error message.
319 (dump_twolevel_hints): New function.
320 (dump_load_command): Handle prebound dylib, prebind cksum
322 (mach_o_dump): Handle twolevel hints.
324 2014-04-01 Tristan Gingold <gingold@adacore.com>
326 * od-macho.c (OPT_DATA_IN_CODE): New macro.
327 (options): Add entry for data in code.
328 (mach_o_help): Ditto.
329 (data_in_code_kind_name): New array.
330 (dump_data_in_code): New function.
331 (dump_load_command): Handle data in code.
332 (mach_o_dump): Ditto.
333 (dump_header): Display a terminal newline.
335 2014-03-27 Tristan Gingold <gingold@adacore.com>
337 * od-macho.c (dump_load_command): Display value for
338 BFD_MACH_O_LC_DYLD_ENVIRONMENT. Handle BFD_MACH_O_LC_DATA_IN_CODE
339 and BFD_MACH_O_LC_DYLIB_CODE_SIGN_DRS.
341 2014-03-27 Tristan Gingold <gingold@adacore.com>
343 * od-macho.c (OPT_FUNCTION_STARTS): New macro.
344 (options): Add entry for function_starts.
345 (mach_o_help): Ditto.
346 (disp_segment_prot): New function.
347 (dump_section_map): Call disp_segment_prot.
348 (dump_function_starts): New function.
349 (dump_obj_compact_unwind): Fix ouput indentation.
350 (dump_exe_compact_unwind): Fix ouput indentation.
351 (mach_o_dump): Handle function_starts.
353 2014-03-26 Tristan Gingold <gingold@adacore.com>
355 * od-macho.c (bfd_mach_o_cpu_name): Add BFD_MACH_O_CPU_TYPE_ARM64.
357 2014-03-24 Tristan Gingold <gingold@adacore.com>
359 * objdump.c (load_specific_debug_section): Set address of section.
361 2014-03-24 Tristan Gingold <gingold@adacore.com>
363 * od-macho.c (dump_unwind_encoding_x86): Set the factor.
364 (dump_exe_compact_unwind): Change the condition. Improve
367 2014-03-20 Nick Clifton <nickc@redhat.com>
369 * readelf.c (process_version_sections): Fix off-by-one error in
372 2014-03-19 Nick Clifton <nickc@redhat.com>
375 * readelf.c (process_version_sections): Prevent an infinite loop
376 when the vn_next field is zero but there are still entries to be
379 2014-03-17 Tristan Gingold <gingold@adacore.com>
381 * od-macho.c (dump_section_header): Renames of dump_section.
382 (dump_segment): Adjust after renaming.
383 (OPT_COMPACT_UNWIND): Define.
384 (options): Add compact unwind.
385 (mach_o_help): Document compact_unwind.
386 (unwind_x86_64_regs, unwind_x86_regs): New arrays.
387 (dump_unwind_encoding_x86, dump_unwind_encoding)
388 (dump_obj_compact_unwind, dump_exe_compact_unwind)
389 (dump_section_content): New functions.
390 (mach_o_dump): Handle compact unwind.
392 2014-03-17 Tristan Gingold <gingold@adacore.com>
394 * od-macho.c (dump_load_command): Handle lazy load dylib.
396 2014-03-14 Anthony Green <green@moxielogic.com>
398 * objcopy.c (copy_object): Check fwrite return code.
400 2014-03-14 Meador Inge <meadori@codesourcery.com>
402 * dwarf.c (strnlen): Move prototype ...
403 * sysdep.h (strnlen): ... to here.
405 2014-03-12 Nick Clifton <nickc@redhat.com>
408 * doc/binutils.texi (ar cmdline): Move --plugin command line
409 option to after the command option.
411 2014-03-12 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
414 * deflex.l: Add noinput and nounput options.
416 2014-03-12 Alan Modra <amodra@gmail.com>
418 * Makefile.in: Regenerate.
419 * doc/Makefile.in: Regenerate.
421 2014-03-06 Nick Clifton <nickc@redhat.com>
424 * readelf.c (process_attributes): Add checks for corrupt
425 attribute section names.
427 2014-03-05 Alan Modra <amodra@gmail.com>
429 Update copyright years.
431 2014-03-03 Alan Modra <amodra@gmail.com>
433 * README: Add "Copyright Notices" paragraph.
435 2014-02-11 Cary Coutant <ccoutant@google.com>
437 * binutils/dwarf.c (read_and_display_attr_value): Don't warn
438 for zero-length attribute value.
440 2014-02-10 Alan Modra <amodra@gmail.com>
442 * po/binutils.pot: Regenerate.
444 2014-02-06 Andrew Pinski <apinski@cavium.com>
446 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_OCTEON3 case.
448 2014-02-06 Cary Coutant <ccoutant@google.com>
451 * readelf.c (print_gnu_note): Add support for NT_GNU_GOLD_VERSION.
453 2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
455 * version.c (print_version): Update copyright year to 2014.
457 2014-01-07 Tom Tromey <tromey@redhat.com>
459 * bucomm.c (fatal, non_fatal): Replace obsolete VA_* macros with
461 * dlltool.c (inform): Replace obsolete VA_* macros with stdarg
463 * dllwrap.c (inform, warn): Replace obsolete VA_* macros with
466 2014-01-07 Tom Tromey <tromey@redhat.com>
468 * coffgrok.h (coff_ofile): Don't use PARAMS.
469 * nlmheader.y (strerror): Don't use PARAMS.
471 For older changes see ChangeLog-2013
473 Copyright (C) 2014 Free Software Foundation, Inc.
475 Copying and distribution of this file, with or without modification,
476 are permitted in any medium without royalty provided the copyright
477 notice and this notice are preserved.
483 version-control: never