Commit | Line | Data |
---|---|---|
0c588247 NC |
1 | 2013-03-26 Nick Clifton <nickc@redhat.com> |
2 | ||
3 | PR binutils/15205 | |
4 | * dwarf.c (SAFE_BYTE_GET): New macro - checks remaining buffer | |
5 | space before calling byte_get. | |
6 | (SAFE_BYTE_GET_AND_INC): New macro. | |
7 | (SAFE_SIGNED_BYTE_GET): New macro. | |
8 | (SAFE_SIGNED_BYTE_GET_AND_INC): New macro. | |
9 | (SAFE_BYTE_GET64): New macro. | |
10 | (process_extened_line_op): Use new macros. Use strnlen when | |
11 | appropriate. | |
12 | (fetch_indirect_string): Likewise. | |
13 | (get_FORM_name): Likewise. | |
14 | (decode_location_expression): Likewise. | |
15 | (read_and_display_attr_value): Likewise. | |
16 | (process_debug_info): Likewise. | |
17 | (display_debug_lines_raw): Likewise. | |
18 | (display_debug_lines_decoded): Likewise. | |
19 | (display_debug_pubnames): Likewise. | |
20 | (display_debug_macinfo): Likewise. | |
21 | (get_line_filename_and_dirname): Likewise. | |
22 | (display_debug_macro): Likewise. | |
23 | (display_loc_list): Likewise. | |
24 | (display_loc_list_dwo): Likewise. | |
25 | (display_debug_aranges): Likewise. | |
26 | (display_debug_ranges): Likewise. | |
27 | (frame_display_row): Likewise. | |
28 | (display_debug_frames): Likewise. | |
29 | ||
f6f0e17b NC |
30 | 2013-03-25 Nick Clifton <nickc@redhat.com> |
31 | ||
32 | PR binutils/15202 | |
33 | * dwarf.c (read_leb128): Add END parameter. Do not read at or | |
34 | beyond end. | |
35 | (read_sleb128): Add END parameter. | |
36 | (read_uleb128): New function. | |
37 | (process_extended_line_op): Pass END to leb128 functions. | |
38 | (process_abbrev_section): Likewise. | |
39 | (decode_location_expression): Likewise. | |
40 | (read_and_display_attr_value): Likewise. | |
41 | (read_and_display_attr): Likewise. | |
42 | (process_debug_info): Likewise. | |
43 | (display_debug_lines_raw): Likewise. | |
44 | (display_debug_lines_decoded): Likewise. | |
45 | (display_debug_macinfo): Likewise. | |
46 | (get_line_filename_and_dirname): Likewise. | |
47 | (display_debug_macro): Likewise. | |
48 | (display_loc_list_dwo): Likewise. | |
49 | (display_debug_ranges): Likewise. | |
50 | * dwarf.h (read_leb128): Update prototype. | |
51 | * readelf.c (read_uleb128): Add END parameter. | |
52 | (decode_arm_unwind_bytecode): Pass END to read_uleb128. | |
53 | (decode_tic6x_unwind_bytecode): Likewise. | |
54 | (display_tag_value): New function. | |
55 | (display_arm_attribute): Add END parameter. Pass END to | |
56 | read_uleb128. Use display_tag_value. | |
57 | (display_gnu_attribute): Likewise. | |
58 | (display_power_gnu_attribute): Likewise. | |
59 | (display_sparc_gnu_attribute): Likewise. | |
60 | (display_mips_gnu_attribute): Likewise. | |
61 | (display_tic6x_attribute): Likewise. | |
62 | (process_attributes): Likewise. | |
63 | (display_raw_attribute): New function. | |
64 | ||
c8da6823 NC |
65 | 2013-03-22 Nick Clifton <nickc@redhat.com> |
66 | ||
c842b54b NC |
67 | PR binutils/15201 |
68 | * dwarf.c (display_debug_ranges): Add checks for reading beyond | |
69 | the end of the section. | |
70 | ||
c8da6823 NC |
71 | PR binutils/15157 |
72 | * readelf.c (apply_relocations): Catch relocations with negative | |
73 | offsets. | |
74 | ||
0d0fb1ba NC |
75 | 2013-03-15 Nick Clifton <nickc@redhat.com> |
76 | ||
77 | * addr2line.c (slurp_symtab): If canonicalization reveals that | |
78 | there were no ordinary symbols, try loading the dynamic symbols | |
79 | instead. | |
80 | ||
d5c7e0e9 NC |
81 | 2013-03-14 Markos Chandras <markos.chandras@imgtec.com> |
82 | ||
83 | * MAINTAINERS: Add myself as Meta maintainer. | |
84 | ||
abb3f6cc NC |
85 | 2013-03-08 Andreas Arnez <arnez@linux.vnet.ibm.com> |
86 | ||
87 | * readelf.c (get_note_type): Add NT_S390_TDB. | |
88 | ||
c54e2ec1 AM |
89 | 2013-03-07 Alan Modra <amodra@gmail.com> |
90 | ||
91 | * strings.c (get_char): Dispense with buf[]. Instead shift | |
92 | chars into big-endian value and byte-swap later if | |
93 | little-endian. Don't EOF check value read from object. | |
94 | ||
ee36d918 CV |
95 | 2013-03-05 Corinna Vinschen <vinschen@redhat.com> |
96 | ||
97 | * configure.in: Build DLL tools on x86_64-*-cygwin* as well. | |
98 | * configure: Regenerate. | |
99 | ||
fafd911d NC |
100 | 2013-03-04 Nick Clifton <nickc@redhat.com> |
101 | ||
102 | * elfcomm.c (error): Flush stdout before emitting the error | |
103 | message. | |
104 | (warn): Likewise. | |
105 | ||
341f9135 CC |
106 | 2013-03-01 Cary Coutant <ccoutant@google.com> |
107 | ||
108 | * dwarf.c (cu_tu_indexes_read, shndx_pool, shndx_pool_size) | |
109 | (shndx_pool_used): Move to top of file. | |
110 | (struct cu_tu_set): New type. | |
111 | (cu_count, tu_count, cu_sets, tu_sets): New file scope variables. | |
112 | (fetch_indexed_string): Add "this_set" parameter. Update all callers. | |
113 | (find_cu_tu_set_v2): New function. | |
114 | (read_and_display_attr_value): Add "this_set" parameter. | |
115 | (read_and_display_attr): Likewise. | |
116 | (process_debug_info): Track base offsets for DWARF package files. | |
117 | (load_debug_info): Call load_cu_tu_indexes. | |
118 | (get_DW_SECT_short_name): New function. | |
119 | (process_cu_tu_index): Add support for version 2 DWARF package files. | |
120 | ||
15b42fb0 AM |
121 | 2013-02-27 Alan Modra <amodra@gmail.com> |
122 | ||
123 | PR binutils/15191 | |
124 | * readelf.c (offsetof): Define. | |
125 | (CHECK_ENTSIZE_VALUES): Remove extraneous indefinite article. | |
126 | (process_corefile_note_segment): Allow notes without name or | |
127 | desc. Combine out-of-range checks. Disallow "negative" | |
128 | notesz or descsz. | |
129 | ||
9dd3a467 NC |
130 | 2013-02-26 Nick Clifton <nickc@redhat.com> |
131 | ||
132 | PR binutils/15191 | |
133 | * readelf.c (process_corefile_note_segment): Prevent attempts to | |
134 | read beyond the end of the note buffer. | |
135 | ||
76d8cf45 KT |
136 | 2013-02-15 Kai Tietz <ktietz@redhat.com> |
137 | ||
138 | * objcopy.c (copy_main): Initialize context variable. | |
139 | ||
a043396b NC |
140 | 2013-02-15 Nick Clifton <nickc@redhat.com> |
141 | ||
142 | PR binutils/15140 | |
143 | * ar.c (open_inarch): Fail on attempts to convert a normal archive | |
144 | to a thin archive or vice versa. | |
145 | * elfcomm.c (make_qualified_name): Handle corrupted thin | |
146 | archives. | |
147 | * readelf.c (process_archive): Likewise. | |
148 | * doc/binutils.texi: Clarify documentation describing thin | |
149 | archives. | |
150 | ||
2e62b721 NC |
151 | 2013-02-15 Nick Clifton <nickc@redhat.com> |
152 | ||
153 | PR binutils/15033 | |
154 | * objcopy.c (enum change_action): Delete. | |
155 | (struct section_list): Delete remove, copy, change_vma, change_lma | |
156 | and set_flags fields. Add context field. | |
157 | (find_section_list): Add a context parameter. Add support for | |
158 | wildcard characters in section names. | |
159 | (is_strip_section): Check for sections being both copied and | |
160 | removed. | |
161 | (copy_object): Pass context to find_section_list. | |
162 | (setup_section): Likewise. | |
163 | (copy_section): Likewise. | |
164 | (copy_main): Likewise. | |
165 | * doc/binutils: Document the new behaviour. | |
166 | * NEWS: Mention the new feature | |
167 | ||
d99b05a3 NC |
168 | 2013-02-14 Nick Clifton <nickc@redhat.com> |
169 | ||
170 | PR binutils/15125 | |
171 | * objcopy.c (copy_object): Provide a helpful warning message when | |
172 | adding a gnu_debuglink section to an object which already contains | |
173 | one. | |
174 | ||
83ee86b1 NC |
175 | 2013-02-07 Nick Clifton <nickc@redhat.com> |
176 | ||
177 | * elfcomm.c (get_archive_member_name): Prevent seg-fault if a | |
178 | corrupt archive uses long names but has no long name table. | |
179 | ||
36591ba1 SL |
180 | 2013-02-06 Sandra Loosemore <sandra@codesourcery.com> |
181 | Andrew Jenner <andrew@codesourcery.com> | |
182 | ||
183 | Based on patches from Altera Corporation. | |
184 | ||
185 | * readelf.c: Include elf/nios2.h. | |
186 | (dump_relocations): Add case for EM_ALTERA_NIOS2. | |
187 | (get_nios2_dynamic_type): New. | |
188 | (get_dynamic_type): Add case for EM_ALTERA_NIOS2. | |
189 | (is_32bit_abs_reloc): Fix EM_ALTERA_NIOS2 case. | |
190 | (is_16bit_abs_reloc): Likewise. | |
191 | (is_none_reloc): Add EM_ALTERA_NIOS2 and EM_NIOS32 cases. | |
192 | * NEWS: Note Altera Nios II support. | |
193 | * MAINTAINERS: Add Nios II maintainers. | |
194 | ||
7e26601c NC |
195 | 2013-01-29 Xi Wang <xi.wang@gmail.com> |
196 | ||
197 | * readelf.c (process_version_sections): Fix overflow checks to | |
198 | avoid undefined behaviour. | |
199 | ||
aa170720 DE |
200 | 2013-01-28 Doug Evans <dje@google.com> |
201 | ||
202 | * dwarf.c (display_gdb_index): Handle .gdb_index version 8. | |
203 | ||
5dddde8e AM |
204 | 2013-01-28 Robert Schiele <rschiele@gmail.com> |
205 | ||
206 | * objcopy.c (parse_flags): Add merge and strings section flags. | |
207 | ||
fab128ef CC |
208 | 2013-01-25 Cary Coutant <ccoutant@google.com> |
209 | ||
15b42fb0 AM |
210 | * dwarf.c (display_loc_list): Update offset for each line |
211 | printed. | |
212 | (print_addr_index): New function. | |
213 | (display_loc_list_dwo): Update offset for each line printed. | |
214 | Fix problems displaying loclists in .dwo files. Add support | |
215 | for type 4 entries. | |
216 | (display_debug_loc): Remove custom header for .dwo files. | |
217 | (display_debug_addr): Adjust formatting. | |
fab128ef | 218 | |
9b8bf321 NC |
219 | 2013-01-25 Marco Atzeri <marco.atzeri@gmail.com> |
220 | ||
221 | * objcopy.c : Enable long section names for OPTION_ADD_GNU_DEBUGLINK. | |
222 | ||
90f9a987 DE |
223 | 2013-01-24 Doug Evans <dje@google.com> |
224 | ||
225 | * dwarf.c (display_debug_addr): Add missing parentheses to expression. | |
226 | ||
78c8d46c NC |
227 | 2013-01-24 Nick Clifton <nickc@redhat.com> |
228 | ||
229 | * readelf.c (get_machine_flags): Decode E_V850E3V5_ARCH. | |
230 | ||
a367d729 AK |
231 | 2013-01-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
232 | ||
233 | * readelf.c: Add strings for NT_S390_LAST_BREAK and | |
234 | NT_S390_SYSTEM_CALL. | |
235 | ||
a477bfd1 NC |
236 | 2013-01-18 Nick Clifton <nickc@redhat.com> |
237 | ||
238 | PR binutils/15026 | |
239 | * addr2line.c (translate_addresses): When pretty printing, print | |
240 | unknown function names on the same line as unknown symbol names. | |
241 | ||
c32d6f7b AM |
242 | 2013-01-17 Nickolai Zeldovich <nickolai@csail.mit.edu> |
243 | ||
244 | * objdump.c (dump_target_specific): Fix NULL pointer test. | |
245 | ||
cb566e3a AM |
246 | 2013-01-16 Alan Modra <amodra@gmail.com> |
247 | ||
248 | PR binutils/15018 | |
249 | * stabs.c (parse_stab_members): Always set physname here to avoid | |
250 | gcc warning.. | |
251 | (parse_stab_argtypes): ..and don't duplicate the init here. | |
252 | ||
a3c62988 NC |
253 | 2013-01-10 Will Newton <will.newton@imgtec.com> |
254 | ||
255 | * binutils/readelf.c: (guess_is_rela): Add EM_METAG. | |
256 | (dump_relocations): Add EM_METAG. | |
257 | (get_machine_name): Correct case for Meta. | |
258 | (is_32bit_abs_reloc): Add support for Meta ADDR32 reloc. | |
259 | (is_none_reloc): Add support for Meta NONE reloc. | |
260 | ||
652451f8 YZ |
261 | 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com> |
262 | ||
263 | * readelf.c (get_note_type): Handle NT_ARM_TLS, NT_ARM_HW_BREAK | |
264 | and NT_ARM_HW_WATCH. | |
265 | ||
955d0b3b RM |
266 | 2013-01-07 Roland McGrath <mcgrathr@google.com> |
267 | ||
268 | * objcopy.c (deterministic): Make int rather than bfd_boolean, | |
269 | initialize to -1. | |
270 | (strip_options, copy_options): Add -U/--disable-deterministic-archives. | |
271 | (default_deterministic): New function. | |
272 | (strip_main, copy_main): Handle -U. Call default_deterministic. | |
273 | (copy_usage, strip_usage): Describe -U. Cite whether -D or -U is | |
274 | the default based on DEFAULT_AR_DETERMINISTIC. | |
275 | * doc/binutils.texi (objcopy, strip): Describe -U and effect of | |
276 | configure options on -D. | |
277 | ||
278 | * ar.c (default_deterministic): Comment fix. | |
279 | ||
7ca01ed9 NC |
280 | 2013-01-07 Patrice Dumas <pertusus@free.fr> |
281 | ||
282 | * doc/binutils.texi: Fix ordering of top level nodes. | |
283 | Replace erroneous uses of @itemx with @item. | |
284 | ||
574b25e8 AS |
285 | 2013-01-04 Andreas Schwab <schwab@linux-m68k.org> |
286 | ||
287 | * doc/binutils.texi (elfedit): Fix use of @itemx in @table. | |
288 | ||
5b2ab150 MS |
289 | 2013-01-03 Marcus Shawcroft <marcus.shawcroft@arm.com> |
290 | ||
291 | * MAINTAINERS: Add myself as AArch64 co-maintainer. | |
292 | ||
62658407 L |
293 | 2013-01-02 H.J. Lu <hongjiu.lu@intel.com> |
294 | ||
295 | * version.c (print_version): Update copyright year to 2013. | |
296 | ||
4e5f3f9d | 297 | For older changes see ChangeLog-2012 |
252b5132 | 298 | \f |
4e5f3f9d | 299 | Copyright (C) 2013 Free Software Foundation, Inc. |
752937aa NC |
300 | |
301 | Copying and distribution of this file, with or without modification, | |
302 | are permitted in any medium without royalty provided the copyright | |
303 | notice and this notice are preserved. | |
304 | ||
252b5132 RH |
305 | Local Variables: |
306 | mode: change-log | |
307 | left-margin: 8 | |
308 | fill-column: 74 | |
309 | version-control: never | |
310 | End: |