Commit | Line | Data |
---|---|---|
72c61a0d NC |
1 | 2015-01-12 Nick Clifton <nickc@redhat.com> |
2 | ||
3 | PR binutils/17531 | |
4 | * dwarf.c (process_debug_info): Check for abbrev_base being larger | |
5 | than the section size. | |
6 | (process_cu_tu_index): Use xcalloc2 to allocate the CU and TU | |
7 | arrays. | |
8 | (xcalloc2): New function. Like xcalloc, but checks for overflow. | |
1306a742 NC |
9 | (display_debug_addr): Use xcalloc to allocate the debug_addr_info |
10 | array. Check for an address_base that is too large. | |
11 | ||
72c61a0d NC |
12 | * dwarf.h (xcalloc2): Prototype. |
13 | ||
b38ead21 AM |
14 | 2015-01-12 Alan Modra <amodra@gmail.com> |
15 | ||
16 | * prdbg.c (print_debugging_info): Don't use void* for function | |
17 | pointer param. | |
18 | * budbg.h (print_debugging_info): Update prototype. | |
19 | ||
3565cf8f NC |
20 | 2015-01-08 Nick Clifton <nickc@redhat.com> |
21 | ||
22 | PR binutils/17512 | |
063bb025 NC |
23 | * ojcopy.c (copy_object): Free the symbol table if no symbols |
24 | could be loaded. | |
25 | (copy_file): Use bfd_close_all_done to close files that could not | |
26 | be copied. | |
27 | ||
848cde35 NC |
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. | |
31 | ||
3565cf8f NC |
32 | * nlmconv.c (i386_mangle_relocs): Skip relocs without an |
33 | associated symbol. | |
34 | (powerpc_mangle_relocs): Skip unrecognised relocs. Check address | |
35 | range before applying a reloc. | |
36 | ||
c88f5b8e NC |
37 | 2015-01-07 Nick Clifton <nickc@redhat.com> |
38 | ||
39 | PR binutils/17512 | |
d7b24d29 NC |
40 | * dlltool.c (scan_obj_file): Break loop if the last archive |
41 | displayed matches the current archive. | |
42 | ||
c88f5b8e NC |
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 | |
46 | error message. | |
47 | ||
85880250 NC |
48 | 2015-01-06 Nick Clifton <nickc@redhat.com> |
49 | ||
50 | PR binutils/17512 | |
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 | |
57 | format. | |
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. | |
61 | ||
896ca098 NC |
62 | 2015-01-05 Nick Clifton <nickc@redhat.com> |
63 | ||
64 | PR binutils/17512 | |
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. | |
74 | ||
82b1b41b NC |
75 | 2015-01-05 Nick Clifton <nickc@redhat.com> |
76 | ||
77 | PR binutils/17531 | |
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 | |
85 | value. | |
86 | (free_debug_memory): Reset alloc_num_debug_info_entries. | |
87 | * readelf.c (slurp_ia64_unwind_table): Warn if the reloc could not | |
88 | be indentified. | |
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 | |
93 | of the section. | |
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. | |
97 | ||
c1724c7f DK |
98 | 2015-01-05 Daniel Klauer <daniel.c.klauer@web.de> |
99 | ||
100 | PR binutils/17489 | |
101 | * doc/binutils.texi (dlltool): Correct description of --kill-at | |
102 | option. | |
103 | ||
efd321f9 AM |
104 | 2015-01-01 Alan Modra <amodra@gmail.com> |
105 | ||
106 | * version.c (print_version): Just print current year. | |
107 | ||
b90efa5b | 108 | 2015-01-01 Alan Modra <amodra@gmail.com> |
5c294fee | 109 | |
b90efa5b | 110 | Update year range in copyright notice of all files. |
5c294fee | 111 | |
b90efa5b | 112 | For older changes see ChangeLog-2014 |
252b5132 | 113 | \f |
b90efa5b | 114 | Copyright (C) 2015 Free Software Foundation, Inc. |
752937aa NC |
115 | |
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. | |
119 | ||
252b5132 RH |
120 | Local Variables: |
121 | mode: change-log | |
122 | left-margin: 8 | |
123 | fill-column: 74 | |
124 | version-control: never | |
125 | End: |