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