bfd/elfnn-aarch64.c: Set st_value to zero for undefined symbols
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
3f8107ab
AM
12015-01-28 James Bowman <james.bowman@ftdichip.com>
2
3 * readelf.c: Add FT32 support.
4
37e3922e
NC
52015-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
877a8638
NC
11 * addr2line.c (slurp_symtab): If the symcount is zero, free the
12 symbol table pointer.
13
0897ec15
NC
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
bb97bdd7
NC
222015-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
86eafac0
NC
272015-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
6c1965f9
RR
482015-01-21 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
49
50 * MAINTAINERS: Add self to ARM maintainers list.
51
5b7d6237
NC
522015-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
a0a3b04c
L
582015-01-12 H.J. Lu <hongjiu.lu@intel.com>
59
60 * dwarf.c (process_debug_info): Properly check abbrev size.
61
72c61a0d
NC
622015-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.
1306a742
NC
70 (display_debug_addr): Use xcalloc to allocate the debug_addr_info
71 array. Check for an address_base that is too large.
72
72c61a0d
NC
73 * dwarf.h (xcalloc2): Prototype.
74
b38ead21
AM
752015-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
3565cf8f
NC
812015-01-08 Nick Clifton <nickc@redhat.com>
82
83 PR binutils/17512
063bb025
NC
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
848cde35
NC
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
3565cf8f
NC
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
c88f5b8e
NC
982015-01-07 Nick Clifton <nickc@redhat.com>
99
100 PR binutils/17512
d7b24d29
NC
101 * dlltool.c (scan_obj_file): Break loop if the last archive
102 displayed matches the current archive.
103
c88f5b8e
NC
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
85880250
NC
1092015-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
896ca098
NC
1232015-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
82b1b41b
NC
1362015-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
c1724c7f
DK
1592015-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
efd321f9
AM
1652015-01-01 Alan Modra <amodra@gmail.com>
166
167 * version.c (print_version): Just print current year.
168
b90efa5b 1692015-01-01 Alan Modra <amodra@gmail.com>
5c294fee 170
b90efa5b 171 Update year range in copyright notice of all files.
5c294fee 172
b90efa5b 173For older changes see ChangeLog-2014
252b5132 174\f
b90efa5b 175Copyright (C) 2015 Free Software Foundation, Inc.
752937aa
NC
176
177Copying and distribution of this file, with or without modification,
178are permitted in any medium without royalty provided the copyright
179notice and this notice are preserved.
180
252b5132
RH
181Local Variables:
182mode: change-log
183left-margin: 8
184fill-column: 74
185version-control: never
186End:
This page took 0.701855 seconds and 4 git commands to generate.