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 (display_debug_addr): Use xcalloc to allocate the debug_addr_info
10 array. Check for an address_base that is too large.
12 * dwarf.h (xcalloc2): Prototype.
14 2015-01-12 Alan Modra <amodra@gmail.com>
16 * prdbg.c (print_debugging_info): Don't use void* for function
18 * budbg.h (print_debugging_info): Update prototype.
20 2015-01-08 Nick Clifton <nickc@redhat.com>
23 * ojcopy.c (copy_object): Free the symbol table if no symbols
25 (copy_file): Use bfd_close_all_done to close files that could not
28 * sysdump.c (getINT): Fail if reading off the end of the buffer.
29 Replace call to abort with a call to fatal.
30 (getCHARS): Prevetn reading off the end of the buffer.
32 * nlmconv.c (i386_mangle_relocs): Skip relocs without an
34 (powerpc_mangle_relocs): Skip unrecognised relocs. Check address
35 range before applying a reloc.
37 2015-01-07 Nick Clifton <nickc@redhat.com>
40 * dlltool.c (scan_obj_file): Break loop if the last archive
41 displayed matches the current archive.
43 * objdump.c (display_any_bfd): Add a depth limit to nested archive
44 display in order to avoid infinite loops.
45 * srconv.c: Replace calls to abort with calls to fatal with an
48 2015-01-06 Nick Clifton <nickc@redhat.com>
51 * coffdump.c (dump_coff_section): Check for a symbol being
52 available before printing its name.
53 (main): Check the return value from coff_grok.
54 * coffgrok.c: Reformat and tidy.
55 Add range checks to most functions.
56 (coff_grok): Return NULL if the input bfd is not in a COFF
58 * coffgrok.h: Reformat and tidy.
59 (struct coff_section): Change the nrelocs field to unsigned.
60 * srconv.c (main): Check the return value from coff_grok.
62 2015-01-05 Nick Clifton <nickc@redhat.com>
65 * nm.c (print_symbol): Add 'is_synthetic' parameter. Use it to
66 help initialize the info.elfinfo field.
67 (print_size_symbols): Add 'synth_count' parameter. Use it to set
68 the is_synthetic parameter when calling print_symbol.
69 (print_symbols): Likewise.
70 (display_rel_file): Pass synth_count to printing function.
71 (display_archive): Break loop if the last archive displayed
72 matches the current archive.
73 * size.c (display_archive): Likewise.
75 2015-01-05 Nick Clifton <nickc@redhat.com>
78 * dwarf.c (alloc_num_debug_info_entries): New variable.
79 (process_debug_info): Set it. Use it to avoid displaying
80 attributes for which there is no info.
81 (display_debug_abbrev): Check that the debug_info_entry index is
82 valid before using it.
83 (display_loc_list_dwo): Likewise.
84 (process_cu_tu_index): Add range check for an overlarge dw_sect
86 (free_debug_memory): Reset alloc_num_debug_info_entries.
87 * readelf.c (slurp_ia64_unwind_table): Warn if the reloc could not
89 (dynamic_section_mips_val): Warn if the timestamp is invalid.
90 (print_mips_got_entry): Add a data_end parameter. Warn if a read
91 would go beyond the end of the data, and return an error value.
92 (process_mips_specific): Do not read options from beyond the end
94 Correct code to display optional data at the end of an option.
95 Warn if there are too many GOT symbols.
96 Update calls to print_mips_got_entry, and handle error returns.
98 2015-01-05 Daniel Klauer <daniel.c.klauer@web.de>
101 * doc/binutils.texi (dlltool): Correct description of --kill-at
104 2015-01-01 Alan Modra <amodra@gmail.com>
106 * version.c (print_version): Just print current year.
108 2015-01-01 Alan Modra <amodra@gmail.com>
110 Update year range in copyright notice of all files.
112 For older changes see ChangeLog-2014
114 Copyright (C) 2015 Free Software Foundation, Inc.
116 Copying and distribution of this file, with or without modification,
117 are permitted in any medium without royalty provided the copyright
118 notice and this notice are preserved.
124 version-control: never