FT32 initial support
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2015-01-28 James Bowman <james.bowman@ftdichip.com>
2
3 * readelf.c: Add FT32 support.
4
5 2015-01-27 Nick Clifton <nickc@redhat.com>
6
7 PR binutils/17512
8 * dlltool.c (identify_search_archive): If the last archive was the
9 same as the current archive, terminate the loop.
10
11 * addr2line.c (slurp_symtab): If the symcount is zero, free the
12 symbol table pointer.
13
14 * rcparse.y: Add checks to avoid integer divide by zero.
15 * rescoff.c (read_coff_rsrc): Add check on the size of the
16 resource section.
17 (read_coff_res_dir): Add check on the nesting level.
18 Check for resource names overrunning the buffer.
19 * resrc.c (write_rc_messagetable): Update formatting.
20 Add check of 'elen' being zero.
21
22 2015-01-23 Nick Clifton <nickc@redhat.com>
23
24 * nlmconv.c (powerpc_mangle_relocs): Fix build errors introduced
25 by recent delta, when compiling on for a 32-bit host.
26
27 2015-01-21 Nick Clifton <nickc@redhat.com>
28
29 PR binutils/17512
30 * addr2line.c (main): Call bfd_set_error_program_name.
31 * ar.c (main): Likewise.
32 * coffdump.c (main): Likewise.
33 * cxxfilt.c (main): Likewise.
34 * dlltool.c (main): Likewise.
35 * nlmconv.c (main): Likewise.
36 * nm.c (main): Likewise.
37 * objdump.c (main): Likewise.
38 * size.c (main): Likewise.
39 * srconv.c (main): Likewise.
40 * strings.c (main): Likewise.
41 * sysdump.c (main): Likewise.
42 * windmc.c (main): Likewise.
43 * windres.c (main): Likewise.
44 * objcopy.c (main): Likewise.
45 (copy_relocations_in_section): Check for relocs without associated
46 symbol pointers.
47
48 2015-01-21 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
49
50 * MAINTAINERS: Add self to ARM maintainers list.
51
52 2015-01-21 Nick Clifton <nickc@redhat.com>
53
54 PR binutils/17512
55 * coffgrok.c (do_type): Check that computed ref exists.
56 (doit): Add range checks when computing section for scope.
57
58 2015-01-12 H.J. Lu <hongjiu.lu@intel.com>
59
60 * dwarf.c (process_debug_info): Properly check abbrev size.
61
62 2015-01-12 Nick Clifton <nickc@redhat.com>
63
64 PR binutils/17531
65 * dwarf.c (process_debug_info): Check for abbrev_base being larger
66 than the section size.
67 (process_cu_tu_index): Use xcalloc2 to allocate the CU and TU
68 arrays.
69 (xcalloc2): New function. Like xcalloc, but checks for overflow.
70 (display_debug_addr): Use xcalloc to allocate the debug_addr_info
71 array. Check for an address_base that is too large.
72
73 * dwarf.h (xcalloc2): Prototype.
74
75 2015-01-12 Alan Modra <amodra@gmail.com>
76
77 * prdbg.c (print_debugging_info): Don't use void* for function
78 pointer param.
79 * budbg.h (print_debugging_info): Update prototype.
80
81 2015-01-08 Nick Clifton <nickc@redhat.com>
82
83 PR binutils/17512
84 * ojcopy.c (copy_object): Free the symbol table if no symbols
85 could be loaded.
86 (copy_file): Use bfd_close_all_done to close files that could not
87 be copied.
88
89 * sysdump.c (getINT): Fail if reading off the end of the buffer.
90 Replace call to abort with a call to fatal.
91 (getCHARS): Prevetn reading off the end of the buffer.
92
93 * nlmconv.c (i386_mangle_relocs): Skip relocs without an
94 associated symbol.
95 (powerpc_mangle_relocs): Skip unrecognised relocs. Check address
96 range before applying a reloc.
97
98 2015-01-07 Nick Clifton <nickc@redhat.com>
99
100 PR binutils/17512
101 * dlltool.c (scan_obj_file): Break loop if the last archive
102 displayed matches the current archive.
103
104 * objdump.c (display_any_bfd): Add a depth limit to nested archive
105 display in order to avoid infinite loops.
106 * srconv.c: Replace calls to abort with calls to fatal with an
107 error message.
108
109 2015-01-06 Nick Clifton <nickc@redhat.com>
110
111 PR binutils/17512
112 * coffdump.c (dump_coff_section): Check for a symbol being
113 available before printing its name.
114 (main): Check the return value from coff_grok.
115 * coffgrok.c: Reformat and tidy.
116 Add range checks to most functions.
117 (coff_grok): Return NULL if the input bfd is not in a COFF
118 format.
119 * coffgrok.h: Reformat and tidy.
120 (struct coff_section): Change the nrelocs field to unsigned.
121 * srconv.c (main): Check the return value from coff_grok.
122
123 2015-01-05 Nick Clifton <nickc@redhat.com>
124
125 PR binutils/17512
126 * nm.c (print_symbol): Add 'is_synthetic' parameter. Use it to
127 help initialize the info.elfinfo field.
128 (print_size_symbols): Add 'synth_count' parameter. Use it to set
129 the is_synthetic parameter when calling print_symbol.
130 (print_symbols): Likewise.
131 (display_rel_file): Pass synth_count to printing function.
132 (display_archive): Break loop if the last archive displayed
133 matches the current archive.
134 * size.c (display_archive): Likewise.
135
136 2015-01-05 Nick Clifton <nickc@redhat.com>
137
138 PR binutils/17531
139 * dwarf.c (alloc_num_debug_info_entries): New variable.
140 (process_debug_info): Set it. Use it to avoid displaying
141 attributes for which there is no info.
142 (display_debug_abbrev): Check that the debug_info_entry index is
143 valid before using it.
144 (display_loc_list_dwo): Likewise.
145 (process_cu_tu_index): Add range check for an overlarge dw_sect
146 value.
147 (free_debug_memory): Reset alloc_num_debug_info_entries.
148 * readelf.c (slurp_ia64_unwind_table): Warn if the reloc could not
149 be indentified.
150 (dynamic_section_mips_val): Warn if the timestamp is invalid.
151 (print_mips_got_entry): Add a data_end parameter. Warn if a read
152 would go beyond the end of the data, and return an error value.
153 (process_mips_specific): Do not read options from beyond the end
154 of the section.
155 Correct code to display optional data at the end of an option.
156 Warn if there are too many GOT symbols.
157 Update calls to print_mips_got_entry, and handle error returns.
158
159 2015-01-05 Daniel Klauer <daniel.c.klauer@web.de>
160
161 PR binutils/17489
162 * doc/binutils.texi (dlltool): Correct description of --kill-at
163 option.
164
165 2015-01-01 Alan Modra <amodra@gmail.com>
166
167 * version.c (print_version): Just print current year.
168
169 2015-01-01 Alan Modra <amodra@gmail.com>
170
171 Update year range in copyright notice of all files.
172
173 For older changes see ChangeLog-2014
174 \f
175 Copyright (C) 2015 Free Software Foundation, Inc.
176
177 Copying and distribution of this file, with or without modification,
178 are permitted in any medium without royalty provided the copyright
179 notice and this notice are preserved.
180
181 Local Variables:
182 mode: change-log
183 left-margin: 8
184 fill-column: 74
185 version-control: never
186 End:
This page took 0.033035 seconds and 4 git commands to generate.