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