Commit | Line | Data |
---|---|---|
a0a3b04c L |
1 | 2015-01-12 H.J. Lu <hongjiu.lu@intel.com> |
2 | ||
3 | * dwarf.c (process_debug_info): Properly check abbrev size. | |
4 | ||
72c61a0d NC |
5 | 2015-01-12 Nick Clifton <nickc@redhat.com> |
6 | ||
7 | PR binutils/17531 | |
8 | * dwarf.c (process_debug_info): Check for abbrev_base being larger | |
9 | than the section size. | |
10 | (process_cu_tu_index): Use xcalloc2 to allocate the CU and TU | |
11 | arrays. | |
12 | (xcalloc2): New function. Like xcalloc, but checks for overflow. | |
1306a742 NC |
13 | (display_debug_addr): Use xcalloc to allocate the debug_addr_info |
14 | array. Check for an address_base that is too large. | |
15 | ||
72c61a0d NC |
16 | * dwarf.h (xcalloc2): Prototype. |
17 | ||
b38ead21 AM |
18 | 2015-01-12 Alan Modra <amodra@gmail.com> |
19 | ||
20 | * prdbg.c (print_debugging_info): Don't use void* for function | |
21 | pointer param. | |
22 | * budbg.h (print_debugging_info): Update prototype. | |
23 | ||
3565cf8f NC |
24 | 2015-01-08 Nick Clifton <nickc@redhat.com> |
25 | ||
26 | PR binutils/17512 | |
063bb025 NC |
27 | * ojcopy.c (copy_object): Free the symbol table if no symbols |
28 | could be loaded. | |
29 | (copy_file): Use bfd_close_all_done to close files that could not | |
30 | be copied. | |
31 | ||
848cde35 NC |
32 | * sysdump.c (getINT): Fail if reading off the end of the buffer. |
33 | Replace call to abort with a call to fatal. | |
34 | (getCHARS): Prevetn reading off the end of the buffer. | |
35 | ||
3565cf8f NC |
36 | * nlmconv.c (i386_mangle_relocs): Skip relocs without an |
37 | associated symbol. | |
38 | (powerpc_mangle_relocs): Skip unrecognised relocs. Check address | |
39 | range before applying a reloc. | |
40 | ||
c88f5b8e NC |
41 | 2015-01-07 Nick Clifton <nickc@redhat.com> |
42 | ||
43 | PR binutils/17512 | |
d7b24d29 NC |
44 | * dlltool.c (scan_obj_file): Break loop if the last archive |
45 | displayed matches the current archive. | |
46 | ||
c88f5b8e NC |
47 | * objdump.c (display_any_bfd): Add a depth limit to nested archive |
48 | display in order to avoid infinite loops. | |
49 | * srconv.c: Replace calls to abort with calls to fatal with an | |
50 | error message. | |
51 | ||
85880250 NC |
52 | 2015-01-06 Nick Clifton <nickc@redhat.com> |
53 | ||
54 | PR binutils/17512 | |
55 | * coffdump.c (dump_coff_section): Check for a symbol being | |
56 | available before printing its name. | |
57 | (main): Check the return value from coff_grok. | |
58 | * coffgrok.c: Reformat and tidy. | |
59 | Add range checks to most functions. | |
60 | (coff_grok): Return NULL if the input bfd is not in a COFF | |
61 | format. | |
62 | * coffgrok.h: Reformat and tidy. | |
63 | (struct coff_section): Change the nrelocs field to unsigned. | |
64 | * srconv.c (main): Check the return value from coff_grok. | |
65 | ||
896ca098 NC |
66 | 2015-01-05 Nick Clifton <nickc@redhat.com> |
67 | ||
68 | PR binutils/17512 | |
69 | * nm.c (print_symbol): Add 'is_synthetic' parameter. Use it to | |
70 | help initialize the info.elfinfo field. | |
71 | (print_size_symbols): Add 'synth_count' parameter. Use it to set | |
72 | the is_synthetic parameter when calling print_symbol. | |
73 | (print_symbols): Likewise. | |
74 | (display_rel_file): Pass synth_count to printing function. | |
75 | (display_archive): Break loop if the last archive displayed | |
76 | matches the current archive. | |
77 | * size.c (display_archive): Likewise. | |
78 | ||
82b1b41b NC |
79 | 2015-01-05 Nick Clifton <nickc@redhat.com> |
80 | ||
81 | PR binutils/17531 | |
82 | * dwarf.c (alloc_num_debug_info_entries): New variable. | |
83 | (process_debug_info): Set it. Use it to avoid displaying | |
84 | attributes for which there is no info. | |
85 | (display_debug_abbrev): Check that the debug_info_entry index is | |
86 | valid before using it. | |
87 | (display_loc_list_dwo): Likewise. | |
88 | (process_cu_tu_index): Add range check for an overlarge dw_sect | |
89 | value. | |
90 | (free_debug_memory): Reset alloc_num_debug_info_entries. | |
91 | * readelf.c (slurp_ia64_unwind_table): Warn if the reloc could not | |
92 | be indentified. | |
93 | (dynamic_section_mips_val): Warn if the timestamp is invalid. | |
94 | (print_mips_got_entry): Add a data_end parameter. Warn if a read | |
95 | would go beyond the end of the data, and return an error value. | |
96 | (process_mips_specific): Do not read options from beyond the end | |
97 | of the section. | |
98 | Correct code to display optional data at the end of an option. | |
99 | Warn if there are too many GOT symbols. | |
100 | Update calls to print_mips_got_entry, and handle error returns. | |
101 | ||
c1724c7f DK |
102 | 2015-01-05 Daniel Klauer <daniel.c.klauer@web.de> |
103 | ||
104 | PR binutils/17489 | |
105 | * doc/binutils.texi (dlltool): Correct description of --kill-at | |
106 | option. | |
107 | ||
efd321f9 AM |
108 | 2015-01-01 Alan Modra <amodra@gmail.com> |
109 | ||
110 | * version.c (print_version): Just print current year. | |
111 | ||
b90efa5b | 112 | 2015-01-01 Alan Modra <amodra@gmail.com> |
5c294fee | 113 | |
b90efa5b | 114 | Update year range in copyright notice of all files. |
5c294fee | 115 | |
b90efa5b | 116 | For older changes see ChangeLog-2014 |
252b5132 | 117 | \f |
b90efa5b | 118 | Copyright (C) 2015 Free Software Foundation, Inc. |
752937aa NC |
119 | |
120 | Copying and distribution of this file, with or without modification, | |
121 | are permitted in any medium without royalty provided the copyright | |
122 | notice and this notice are preserved. | |
123 | ||
252b5132 RH |
124 | Local Variables: |
125 | mode: change-log | |
126 | left-margin: 8 | |
127 | fill-column: 74 | |
128 | version-control: never | |
129 | End: |