1 2015-01-12 Nick Clifton <nickc@redhat.com>
4 * dwarf.c (process_debug_info): Check for abbrev_base being larger
6 (process_cu_tu_index): Use xcalloc2 to allocate the CU and TU
8 (xcalloc2): New function. Like xcalloc, but checks for overflow.
9 * dwarf.h (xcalloc2): Prototype.
11 2015-01-12 Alan Modra <amodra@gmail.com>
13 * prdbg.c (print_debugging_info): Don't use void* for function
15 * budbg.h (print_debugging_info): Update prototype.
17 2015-01-08 Nick Clifton <nickc@redhat.com>
20 * ojcopy.c (copy_object): Free the symbol table if no symbols
22 (copy_file): Use bfd_close_all_done to close files that could not
25 * sysdump.c (getINT): Fail if reading off the end of the buffer.
26 Replace call to abort with a call to fatal.
27 (getCHARS): Prevetn reading off the end of the buffer.
29 * nlmconv.c (i386_mangle_relocs): Skip relocs without an
31 (powerpc_mangle_relocs): Skip unrecognised relocs. Check address
32 range before applying a reloc.
34 2015-01-07 Nick Clifton <nickc@redhat.com>
37 * dlltool.c (scan_obj_file): Break loop if the last archive
38 displayed matches the current archive.
40 * objdump.c (display_any_bfd): Add a depth limit to nested archive
41 display in order to avoid infinite loops.
42 * srconv.c: Replace calls to abort with calls to fatal with an
45 2015-01-06 Nick Clifton <nickc@redhat.com>
48 * coffdump.c (dump_coff_section): Check for a symbol being
49 available before printing its name.
50 (main): Check the return value from coff_grok.
51 * coffgrok.c: Reformat and tidy.
52 Add range checks to most functions.
53 (coff_grok): Return NULL if the input bfd is not in a COFF
55 * coffgrok.h: Reformat and tidy.
56 (struct coff_section): Change the nrelocs field to unsigned.
57 * srconv.c (main): Check the return value from coff_grok.
59 2015-01-05 Nick Clifton <nickc@redhat.com>
62 * nm.c (print_symbol): Add 'is_synthetic' parameter. Use it to
63 help initialize the info.elfinfo field.
64 (print_size_symbols): Add 'synth_count' parameter. Use it to set
65 the is_synthetic parameter when calling print_symbol.
66 (print_symbols): Likewise.
67 (display_rel_file): Pass synth_count to printing function.
68 (display_archive): Break loop if the last archive displayed
69 matches the current archive.
70 * size.c (display_archive): Likewise.
72 2015-01-05 Nick Clifton <nickc@redhat.com>
75 * dwarf.c (alloc_num_debug_info_entries): New variable.
76 (process_debug_info): Set it. Use it to avoid displaying
77 attributes for which there is no info.
78 (display_debug_abbrev): Check that the debug_info_entry index is
79 valid before using it.
80 (display_loc_list_dwo): Likewise.
81 (process_cu_tu_index): Add range check for an overlarge dw_sect
83 (free_debug_memory): Reset alloc_num_debug_info_entries.
84 * readelf.c (slurp_ia64_unwind_table): Warn if the reloc could not
86 (dynamic_section_mips_val): Warn if the timestamp is invalid.
87 (print_mips_got_entry): Add a data_end parameter. Warn if a read
88 would go beyond the end of the data, and return an error value.
89 (process_mips_specific): Do not read options from beyond the end
91 Correct code to display optional data at the end of an option.
92 Warn if there are too many GOT symbols.
93 Update calls to print_mips_got_entry, and handle error returns.
95 2015-01-05 Daniel Klauer <daniel.c.klauer@web.de>
98 * doc/binutils.texi (dlltool): Correct description of --kill-at
101 2015-01-01 Alan Modra <amodra@gmail.com>
103 * version.c (print_version): Just print current year.
105 2015-01-01 Alan Modra <amodra@gmail.com>
107 Update year range in copyright notice of all files.
109 For older changes see ChangeLog-2014
111 Copyright (C) 2015 Free Software Foundation, Inc.
113 Copying and distribution of this file, with or without modification,
114 are permitted in any medium without royalty provided the copyright
115 notice and this notice are preserved.
121 version-control: never