Commit | Line | Data |
---|---|---|
9cf03b7e NC |
1 | 2011-10-13 Nick Clifton <nickc@redhat.com> |
2 | ||
3 | Fixes to aid translation: | |
4 | * addr2line.c (translate_address): Add comments describing context | |
5 | of a couple of printf statements. | |
6 | * ar.c (write_archive): Allow translation of error message. | |
7 | * bucomm.c (endian_string): Allow translation of strings. | |
8 | (display_target_list): Allow translation. | |
9 | * coffdump.c (dump_coff_type): Allow translation of output. | |
10 | (dump_coff_where): Likewise. | |
11 | (dump_coff_symbol): Likewise. | |
12 | (dump_coff_scope): Likewise. | |
13 | (dump_coff_sfile): Likewise. | |
14 | (dump_coff_section): Likewise. | |
15 | (coff_dump): Likewise. | |
16 | * dlltool (def_version): Allow translation of output. | |
17 | (run): Likewise. | |
18 | * dllwrap.c (run): Allow translation of output. | |
19 | * dwarf.c (print_dwarf_vma): Allow translation of output. | |
20 | (process_extended_line_op): Remove spurious translation. | |
21 | Add translation for strings that can be translated. | |
22 | (decode_location_exression): Allow translation of output. | |
23 | (read_and_display_attr_value): Allow translation of output. | |
24 | * readelf.c (slurp_rela_relocs): Add translation for error | |
25 | messages when failing to get data. | |
26 | (slurp_rel_relocs): Likewise. | |
27 | (get_32bit_elf_symbols): Likewise. | |
28 | (get_64bit_elf_symbols): Likewise. | |
29 | (dump_ia64_vms_dynamic_relocs): Replace abbreviation with full | |
30 | word. | |
31 | (process_relocs): Remove spurious translation. | |
32 | (decode_tic6x_unwind_bytecode): Likewise. | |
33 | (process_version_section): Improve error messages. | |
34 | (process_mips_specific): Likewise. | |
35 | (print_gnu_note): Remove spurious translation. | |
36 | (print_stapsdt_note): Likewise. | |
37 | (get_ia64_vms_note_type): Likewise. | |
38 | * sysdump.c (getCHARS): Allow translation. | |
39 | (fillup): Allow translation of output. | |
40 | (getone): Likewise. | |
41 | (must): Likewise. | |
42 | (derived_type): Likewise. | |
43 | * doc/binutils.doc (addr2line): Extend description of command line | |
44 | options. | |
45 | * po/binutils.pot: Regenerate. | |
46 | ||
ba5cdace NC |
47 | 2011-10-13 Nick Clifton <nickc@redhat.com> |
48 | ||
49 | PR binutils/13219 | |
50 | * readelf.c (GET_ELF_SYMBOLS): Add sym_count parameter. | |
51 | (get_32bit_elf_symbols): Add num_syms_return argument. | |
52 | Return the number of symbols loaded into the symbol table. | |
53 | (get_64bit_elf_symbols): Likewise. | |
54 | (process_section_headers): Use GET_ELF_SYMBOLS to initialise | |
55 | symbol count. | |
56 | (proces_relocs): Likewise. | |
57 | (ia64_process_unwind): Likewise. | |
58 | (hppa_process_unwind): Likewise. | |
59 | (arm_process_unwind): Likewise. | |
60 | (process_dynamic_section): Likewise. | |
61 | (process_version_sections): Likewise. | |
62 | (process_symbol_table): Likewise. | |
63 | (process_section_groups): Likewise. | |
64 | Add check before indexing into the symbol table. | |
65 | (apply_relocations): Likewise. | |
66 | ||
bfb6c1ab NC |
67 | 2011-10-11 Chris <player1@onet.eu> |
68 | ||
69 | PR binutils/13051 | |
70 | Fix a syntax error bug when compiling rc files with the VERSIONINFO resource | |
71 | containing more than one language block inside a single StringFileInfo block. | |
72 | ||
73 | * windint.h (rc_ver_stringtable): New structure definition. | |
74 | (rc_ver_info): Use it. | |
75 | * rcparse.y (verstringtable): New variable. | |
76 | (verstringtables): New type. | |
77 | (verstringtables:): New rule declaration. | |
78 | (verblocks:): Use it. | |
79 | * resrc.c (append_ver_stringtable): New function. | |
80 | (append_ver_stringfileinfo): Update to use stringtables. | |
81 | * windres.h (append_ver_stringfileinfo): Update declaration. | |
82 | (append_ver_stringtable): New declaration. | |
83 | * resrc.c (write_rc_versioninfo): Update to support multiple blocks. | |
84 | * resbin.c (bin_to_res_version): Likewise. | |
85 | (res_to_bin_versioninfo): Likewise. | |
86 | ||
d5698657 NC |
87 | 2011-10-10 Nick Clifton <nickc@redhat.com> |
88 | ||
89 | * po/bg.po: Updated Bulgarian translation. | |
90 | * po/es.po: Updated Spansih translation. | |
91 | * po/fi.po: Updated Finnish translation. | |
92 | * po/fr.po: Updated French translation. | |
93 | ||
d4cb0ea0 NC |
94 | 2011-10-05 DJ Delorie <dj@redhat.com> |
95 | Nick Clifton <nickc@redhat.com> | |
96 | ||
97 | * readelf.c (get_machine_dlags): Add support for RX's PID mode. | |
98 | ||
99 | 2011-10-04 Paul Woegerer <paul_woegerer@mentor.com> | |
4eee63bc CD |
100 | Carlos O'Donell <carlos@codesourcery.com> |
101 | ||
102 | * dwarf.c (display_debug_lines_decoded): Index directory_table with | |
103 | directory_index from file_table entry. | |
104 | ||
48049d1e CC |
105 | 2011-09-30 Cary Coutant <ccoutant@google.com> |
106 | ||
107 | * binutils/dwarf.h (dwarf_section_display_enum): Add missing enum | |
108 | constant. | |
109 | ||
a82526dd TG |
110 | 2011-09-28 Tristan Gingold <gingold@adacore.com> |
111 | ||
112 | * od-xcoff.c (dump_xcoff32_aout_header): Fix typo. | |
113 | ||
21eb9156 TG |
114 | 2011-09-27 Tristan Gingold <gingold@adacore.com> |
115 | ||
116 | * od-xcoff.c (dump_xcoff32_aout_header): Remove some gettext macros. | |
117 | (dump_xcoff32_sections_header): Likewise. | |
118 | (dump_xcoff32_symbols, dump_xcoff32_relocs): Likewise. | |
119 | (dump_xcoff32_lineno, dump_xcoff32_loader): Likewise. | |
120 | (dump_xcoff32_except): Likewise. | |
121 | (dump_xcoff32_typchk, dump_xcoff32_tbtags): Likewise. | |
122 | ||
4a5cb34f TG |
123 | 2011-09-27 Tristan Gingold <gingold@adacore.com> |
124 | ||
125 | * readelf.c (print_ia64_vms_note): Fix xgettext warnings. | |
126 | ||
a7142d94 TG |
127 | 2011-09-22 Tristan Gingold <gingold@adacore.com> |
128 | ||
129 | * NEWS: Add marker for 2.22. | |
130 | ||
cdd30861 DM |
131 | 2011-09-21 David S. Miller <davem@davemloft.net> |
132 | ||
133 | * MAINTAINER: Take over from Jakub Jalinek as SPARC maintainer. | |
134 | ||
9e8c70f9 DM |
135 | * readelf.c (display_sparc_hwcaps): New. |
136 | (display_sparc_gnu_attribute): New. | |
137 | (process_sparc_specific): New. | |
138 | (process_arch_specific): When EM_SPARC, EM_SPARC32PLUS, | |
139 | or EM_SPARCV9 invoke process_sparc_specific. | |
140 | ||
b3681d67 L |
141 | 2011-09-18 H.J. Lu <hongjiu.lu@intel.com> |
142 | ||
143 | PR binutils/13196 | |
144 | * dwarf.c (display_debug_aranges): Check zero address size. | |
145 | ||
4c8e8a7e L |
146 | 2011-09-15 H.J. Lu <hongjiu.lu@intel.com> |
147 | ||
148 | PR binutils/13180 | |
149 | * objcopy.c (is_strip_section_1): New. | |
150 | (is_strip_section): Use it. Remove the group section if all | |
151 | members are removed. | |
152 | ||
7b01d2c3 NC |
153 | 2011-09-08 Nick Clifton <nickc@redhat.com> |
154 | ||
155 | * po/ja.po: Updated Japanese translation. | |
156 | ||
7cf80422 NC |
157 | 2011-08-26 Nick Clifton <nickc@redhat.com> |
158 | ||
159 | * po/es.po: Updated Spanish translation. | |
160 | ||
066a6662 AM |
161 | 2011-08-08 Marcus Comstedt <marcus@mc.pp.se> |
162 | ||
163 | PR binutils/12964 | |
164 | * Makefile.am (embedspu): Use awk rather than sed. | |
165 | * Makefile.in: Regenerate. | |
166 | ||
212b6063 JK |
167 | 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com> |
168 | ||
169 | * dwarf.c (read_and_display_attr_value): Recognize DW_FORM_data4 and | |
170 | DW_FORM_data8 as location list pointers only for DWARF < 4. | |
171 | ||
4ccf1e31 JJ |
172 | 2011-07-26 Jakub Jelinek <jakub@redhat.com> |
173 | ||
174 | * NEWS: Mention .debug_macro support. | |
175 | * dwarf.c (read_and_display_attr_value): Don't print a tab | |
176 | if attribute is 0. | |
177 | (get_AT_name): Handle DW_AT_GNU_macros. | |
178 | (get_line_filename_and_dirname, display_debug_macro): New | |
179 | functions. | |
180 | (debug_displays): Add an entry for .debug_macro and .zdebug_macro. | |
181 | * readelf.c (process_section_headers): With do_debug_macinfo | |
182 | handle also .debug_macro sections. | |
183 | * dwarf.h (dwarf_section_display_enum): Add macro. | |
184 | ||
df58fc94 RS |
185 | 2011-07-24 Chao-ying Fu <fu@mips.com> |
186 | Maciej W. Rozycki <macro@codesourcery.com> | |
187 | ||
188 | * readelf.c (get_machine_flags): Handle microMIPS ASE. | |
189 | (get_mips_symbol_other): Likewise. | |
190 | ||
7a9068fe L |
191 | 2011-07-22 H.J. Lu <hongjiu.lu@intel.com> |
192 | ||
193 | * dwarf.c (init_dwarf_regnames): Handle EM_K1OM. | |
194 | ||
195 | * elfedit.c (elf_machine): Support EM_K1OM. | |
196 | (elf_class): Likewise. | |
197 | ||
198 | * readelf.c (guess_is_rela): Handle EM_K1OM. | |
199 | (dump_relocations): Likewise. | |
200 | (get_machine_name): Likewise. | |
201 | (get_section_type_name): Likewise. | |
202 | (get_elf_section_flags): Likewise. | |
203 | (process_section_headers): Likewise. | |
204 | (get_symbol_index_type): Likewise. | |
205 | (is_32bit_abs_reloc): Likewise. | |
206 | (is_32bit_pcrel_reloc): Likewise. | |
207 | (is_64bit_abs_reloc): Likewise. | |
208 | (is_64bit_pcrel_reloc): Likewise. | |
209 | (is_none_reloc): Likewise. | |
210 | ||
211 | * doc/binutils.texi: Mention K1OM for elfedit. | |
212 | ||
b76e66d3 CC |
213 | 2011-07-11 Cary Coutant <ccoutant@google.com> |
214 | ||
215 | PR 12983 | |
216 | * binutils/nm.c (display_file): Decompress debug sections when | |
217 | printing line numbers. | |
218 | ||
9c55345c TS |
219 | 2011-07-03 Samuel Thibault <samuel.thibault@gnu.org> |
220 | Thomas Schwinge <thomas@schwinge.name> | |
221 | ||
2bb70ae0 | 222 | PR binutils/12913 |
9c55345c TS |
223 | * elfedit.c (osabis): Use ELFOSABI_GNU name instead of ELFOSABI_LINUX |
224 | alias and ELFOSABI_HURD. Add GNU alias. | |
225 | * readelf.c (get_osabi_name, get_symbol_binding, get_symbol_type): | |
226 | Likewise. | |
227 | * doc/binutils.texi <elfedit>: Update accordingly. | |
228 | ||
8adf5d70 NC |
229 | 2011-07-01 Nick Clifton <nickc@redhat.com> |
230 | ||
231 | PR binutils/12325 | |
232 | * doc/binutils.texi (ar cmdline): Document --target, --version and | |
233 | --help command line options. | |
234 | ||
75d5a45f NC |
235 | 2011-06-30 Nick Clifton <nickc@redhat.com> |
236 | ||
237 | PR binutils/12558 | |
238 | * ar.c (main): When asked to move members in an archive that is | |
239 | being created, ignore the move request. | |
240 | ||
a7dbfd1c NC |
241 | 2011-06-29 Nick Clifton <nickc@redhat.com> |
242 | ||
243 | * readelf.c (get_section_type_name): When displaying an unknown | |
244 | section type display the hex value first on the assumption that | |
245 | the full message will probably be truncated into a 15 character | |
246 | field. | |
247 | ||
f8b999f9 JJ |
248 | 2011-06-22 Jakub Jelinek <jakub@redhat.com> |
249 | ||
250 | * dwarf.c (decode_location_expression): For DW_OP_GNU_convert and | |
251 | DW_OP_GNU_reinterpret, if uvalue is 0, don't add cu_offset. | |
252 | Handle DW_OP_GNU_parameter_ref. | |
253 | ||
af61e67f TT |
254 | 2011-06-16 Tom Tromey <tromey@redhat.com> |
255 | ||
256 | * dwarf-mode.el (dwarf-do-insert-substructure): Call | |
257 | expand-file-name. | |
258 | (dwarf-do-refresh): Likewise. | |
259 | ||
faa9a424 UW |
260 | 2011-06-15 Ulrich Weigand <ulrich.weigand@linaro.org> |
261 | ||
262 | * readelf.c (get_note_type): Handle NT_ARM_VFP. | |
263 | ||
aa137e4d NC |
264 | 2011-06-13 Walter Lee <walt@tilera.com> |
265 | ||
266 | * readelf.c: Include tilepro.h and tilegx.h. | |
267 | (guess_is_rela): Handle EM_TILEGX and EM_TILEPRO. | |
268 | (dump_relocations): Likewise. | |
269 | (get_machine_name): Likewise. | |
270 | (is_32bit_abs_reloc): Likewise. | |
271 | (is_32bit_pcerel_reloc): Likewise. | |
272 | (is_64bit_abs_reloc): Likewise. | |
273 | (is_64bit_pcrel_reloc): Likewise. | |
274 | ||
e682d13b TG |
275 | 2011-06-09 Tristan Gingold <gingold@adacore.com> |
276 | ||
277 | * od-xcoff.c (xcoff32_read_symbols): Allow missing string table | |
278 | length. | |
279 | ||
59245841 NC |
280 | 2011-06-08 Nick Clifton <nickc@redhat.com> |
281 | ||
282 | PR binutils/12855 | |
283 | * readelf.c (process_version_sections): Handle binaries containing | |
284 | corrupt version information. | |
285 | (process_symbol_table): Stop processing a symbol's version | |
286 | information if it could not be read in. | |
287 | ||
288 | (get_data): Add comment describing the function. | |
289 | (process_section_headers): Set dynamic_strings_length to 0 if the | |
290 | dynamic strings could not be read in. | |
291 | (process_dynamic_section): Likewise. | |
292 | (process_section_groups): Stop processing the group information if | |
293 | the data could not be read in. | |
294 | (hppa_processs_unwind): Assert that there is only one string table | |
295 | in the file. | |
296 | (arm_process_unwind): Likewise. | |
297 | (ia64_process_unwind): Likewise. | |
298 | Set the size of the unwind auxillary information to 0 if the data | |
299 | could not be read. | |
300 | (load_specific_debug_section): Handle a failure to read in the | |
301 | section. | |
302 | (process_mips_specific): Stop display of the PLT GOT section if it | |
303 | could not be read in. | |
304 | ||
516ec24d TG |
305 | 2011-06-08 Tristan Gingold <gingold@adacore.com> |
306 | ||
307 | * makefile.vms (DEFS): Define OBJDUMP_PRIVATE_VECTORS. | |
308 | ||
ad6b52dd CC |
309 | 2011-06-07 Cary Coutant <ccoutant@google.com> |
310 | ||
311 | * dwarf.c: Fix conversion to TU number. | |
312 | ||
cc643b88 NC |
313 | 2011-06-02 Nick Clifton <nickc@redhat.com> |
314 | ||
315 | * resres.c: Fix spelling typo. | |
316 | * windint.h: Likewise. | |
317 | * windmc.c: Likewise. | |
318 | * windres.c: Likewise. | |
319 | * po/POTFILES.in: Regenerate. | |
320 | * po/binutils.pot: Regenerate. | |
321 | ||
9483a6ee DJ |
322 | 2011-06-01 Daniel Jacobowitz <drow@false.org> |
323 | ||
324 | * MAINTAINERS: Update my email address. | |
325 | ||
1ab52cbe AM |
326 | 2011-05-31 Matthias Klose <doko@ubuntu.com> |
327 | ||
328 | * configure.in (BUILD_INSTALL_MISC): Only add embedspu once. | |
329 | * configure: Regenerate. | |
330 | ||
1c10be1e AM |
331 | 2011-05-30 Alan Modra <amodra@gmail.com> |
332 | ||
333 | PR binutils/12820 | |
334 | * Makefile.am (bin_PROGRAMS): Move BUILD_INSTALL_MISC to.. | |
335 | (bin_SCRIPTS): ..here. | |
336 | (EXTRA_SCRIPTS): Define. | |
337 | (EXTRA_DIST): Add embedspu.sh. | |
338 | (DISTCLEANFILES): Add embedspu. | |
339 | (embedspu): Depend on Makefile. Replace sed "s" command with "c". | |
340 | * Makefile.in: Regenerate. | |
341 | ||
51d0d03f JJ |
342 | 2011-05-25 Jakub Jelinek <jakub@redhat.com> |
343 | ||
344 | * dwarf.c (loc_offsets): New variable. | |
345 | (loc_offsets_compar): New routine. | |
346 | (display_debug_loc): Handle loc_offsets not being in ascending order | |
347 | and also a single .debug_loc entry being used multiple times. | |
348 | ||
0ba0c2b3 NC |
349 | 2011-05-18 Nick Clifton <nickc@redhat.com> |
350 | ||
351 | PR binutils/12753 | |
352 | * nm.c (filter_symbols): Treat unique symbols as global symbols. | |
353 | * doc/binutils.texi (nm): Mention that some lowercase letters | |
354 | actually indicate global symbols. | |
355 | ||
429628a5 TG |
356 | 2011-05-15 Tristan Gingold <gingold@adacore.com> |
357 | ||
358 | * od-xcoff.c: New file. | |
359 | * objdump.h: New file. | |
360 | * objdump.c: Include objdump.h | |
361 | (dump_private_options, objdump_private_vectors): New variables. | |
362 | (usage): Mention -P/--private. Display handled options. | |
363 | (long_options): Add -P/--private. | |
364 | (dump_target_specific): New function. | |
365 | (dump_bfd): Handle dump_private_options. | |
366 | (main): Handle -P. | |
367 | * doc/binutils.texi (objdump): Document -P/--private. | |
368 | * configure.in (OBJDUMP_PRIVATE_VECTORS, OBJDUMP_PRIVATE_OFILES): | |
369 | New variables, compute them. | |
370 | (od_vectors): Add vectors for private dumpers. Make them uniq. | |
371 | (OBJDUMP_DEFS): Add OBJDUMP_PRIVATE_VECTORS. | |
372 | * Makefile.am (HFILES): Add objdump.h | |
373 | (CFILES): Add od-xcoff.c | |
374 | (OBJDUMP_PRIVATE_OFILES): New variable. | |
375 | (objdump_DEPENDENCIES): Append OBJDUMP_PRIVATE_OFILES. | |
376 | (objdump_LDADD): Ditto. | |
377 | (EXTRA_objdump_SOURCES): Define. | |
378 | * Makefile.in: Regenerate. | |
379 | * configure: Regenerate. | |
380 | ||
7e665af3 TG |
381 | 2011-05-10 Tristan Gingold <gingold@adacore.com> |
382 | ||
383 | * dwarf.c (process_extended_line_op): Dump unknown records. | |
384 | ||
19094d10 AM |
385 | 2011-05-07 Alan Modra <amodra@gmail.com> |
386 | ||
44bbc88a | 387 | PR binutils/12632 |
19094d10 AM |
388 | * objcopy.c (copy_archive): Check bfd_openw result in unknown object |
389 | case. Rewrite without goto. | |
390 | ||
1cd48f98 JJ |
391 | 2011-05-03 Jakub Jelinek <jakub@redhat.com> |
392 | ||
0892011d JJ |
393 | * dwarf.c (decode_location_expression): Handle DW_OP_GNU_const_type, |
394 | DW_OP_GNU_regval_type, DW_OP_GNU_deref_type, DW_OP_GNU_convert | |
395 | and DW_OP_GNU_reinterpret. | |
396 | ||
1cd48f98 JJ |
397 | * MAINTAINERS: Add myself as DWARF2 maintainer. |
398 | ||
4510857d AM |
399 | 2011-05-02 Alan Modra <amodra@gmail.com> |
400 | ||
401 | PR binutils/12720 | |
402 | Revert the following change | |
403 | Michael Snyder <msnyder@vmware.com> | |
404 | * ar.c (move_members): Plug memory leak. | |
405 | (delete_members): Plug memory leak. | |
406 | ||
fd2f0033 TT |
407 | 2011-04-28 Tom Tromey <tromey@redhat.com> |
408 | ||
409 | * NEWS: Add note about --dwarf-depth, --dwarf-start, and | |
410 | dwarf-mode.el. | |
411 | * objdump.c (suppress_bfd_header): New global. | |
412 | (usage): Update. | |
413 | (OPTION_DWARF_DEPTH, OPTION_DWARF_START): New constants. | |
414 | (options): Add dwarf-depth and dwarf-start entries. | |
415 | (dump_bfd): Use suppress_bfd_header. | |
416 | (main): Handle OPTION_DWARF_START, OPTION_DWARF_DEPTH. | |
417 | * doc/binutils.texi (objcopy): Document --dwarf-depth and | |
418 | --dwarf-start. | |
419 | (readelf): Likewise. | |
420 | * dwarf-mode.el: New file. | |
421 | * dwarf.c (dwarf_cutoff_level, dwarf_start_die): New globals. | |
422 | (read_and_display_attr_value): Also check debug_info_p. | |
423 | (process_debug_info): Handle dwarf_start_die and | |
424 | dwarf_cutoff_level. | |
425 | * dwarf.h (dwarf_cutoff_level, dwarf_start_die): Declare. | |
426 | * readelf.c (usage): Update. | |
427 | (OPTION_DWARF_DEPTH): New macro. | |
428 | (OPTION_DWARF_START): Likewise. | |
429 | (options): Add dwarf-depth and dwarf-start entries. | |
430 | (parse_args): Handle OPTION_DWARF_START and OPTION_DWARF_DEPTH. | |
431 | ||
6adc060c JK |
432 | 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com> |
433 | ||
434 | * dwarf.c (display_gdb_index): Support version 5, warn on version 4. | |
435 | ||
43294ab7 TG |
436 | 2011-04-27 Tristan Gingold <gingold@adacore.com> |
437 | ||
438 | * dwarf.c (process_extended_line_op): Handle | |
439 | DW_LNE_HP_source_file_correlation. | |
440 | ||
b4e7b885 NC |
441 | 2011-04-27 Nick Clifton <nickc@redhat.com> |
442 | ||
443 | * po/da.po: Updated Danish translation. | |
444 | ||
c6a9fc58 TT |
445 | 2011-04-21 Tom Tromey <tromey@redhat.com> |
446 | ||
447 | * readelf.c (print_stapsdt_note): New function. | |
448 | (process_note): Use it. | |
449 | ||
70616151 TT |
450 | 2011-04-21 Tom Tromey <tromey@redhat.com> |
451 | ||
452 | * readelf.c (get_stapsdt_note_type): New function. | |
453 | (process_note): Recognize "stapsdt" notes. | |
454 | ||
2aee03ae TT |
455 | 2011-04-21 Tom Tromey <tromey@redhat.com> |
456 | ||
457 | * readelf.c (process_corefile_note_segment): Change header field | |
458 | widths. | |
459 | (process_note): Change field widths. | |
460 | ||
664f90a3 TT |
461 | 2011-04-21 Tom Tromey <tromey@redhat.com> |
462 | ||
463 | * readelf.c (print_gnu_note): New function. | |
464 | (process_note): Use it. | |
465 | ||
4161fbb0 JZ |
466 | 2011-04-21 Jie Zhang <jzhang918@gmail.com> |
467 | ||
468 | * MAINTAINERS: Update my email address. | |
469 | ||
7f880bc3 | 470 | 2011-04-11 Kai Tietz <ktietz@redhat.com> |
ec25acb3 NC |
471 | |
472 | * windres.c (usage): Add new --preprocessor-arg option. | |
473 | (option_values): Add new OPTION_PREPROCESSOR_ARG enumerator. | |
474 | (option long_options): Add preprocessor-arg option. | |
475 | (main): Handle it. | |
476 | * doc/binutils.texi: Add documentation for --preprocessor-arg | |
477 | option. | |
478 | * NEWS: Add line about new --preprocessor-arg option for windres. | |
479 | ||
894e93a8 NC |
480 | 2011-04-08 John Marino <binutils@marino.st> |
481 | ||
482 | * arlex.l: Prevent redefinition of YY_NO_UNPUT. | |
483 | * syslex.l: Likewise. | |
484 | ||
fa197c1c PB |
485 | 2011-04-07 Paul Brook <paul@codesourcery.com> |
486 | ||
487 | * readelf.c (arm_section_get_word): Handle C6000 relocations. | |
488 | (decode_tic6x_unwind_regmask, decode_arm_unwind_bytecode, | |
489 | decode_tic6x_unwind_bytecode, expand_prel31): New functions. | |
490 | (decode_arm_unwind): Split out common code from ARM specific bits. | |
491 | (dump_arm_unwind): Use expand_prel31. | |
492 | (arm_process_unwind): Handle SHT_C6000_UNWIND sections. | |
493 | (process_unwind): Add SHT_C6000_UNWIND. | |
494 | ||
8c5fc800 JM |
495 | 2011-04-06 Joseph Myers <joseph@codesourcery.com> |
496 | ||
497 | * configure.in (thumb-*-pe*): Remove. | |
498 | * configure: Regenerate. | |
499 | ||
a8aa951d SA |
500 | 2011-04-05 Sterling Augustine <augustine.sterling@gmail.com> |
501 | ||
502 | * MAINTAINERS: Update my email address. | |
503 | ||
1e99536a L |
504 | 2011-04-03 H.J. Lu <hongjiu.lu@intel.com> |
505 | ||
506 | PR binutils/12632 | |
507 | * objcopy.c (copy_unknown_object): Make the archive element | |
508 | readable. | |
509 | ||
bf03e632 DM |
510 | 2011-04-03 David S. Miller <davem@davemloft.net> |
511 | ||
512 | * objdump.c (dump_reloc_set): Output R_SPARC_OLO10 relocations | |
513 | accurately, rather than how they are represented internally. | |
514 | ||
545f57c6 TG |
515 | 2011-03-31 Tristan Gingold <gingold@adacore.com> |
516 | ||
517 | * makefile.vms (readelf.exe): New target. | |
518 | ||
083faca9 TG |
519 | 2011-03-31 Tristan Gingold <gingold@adacore.com> |
520 | ||
521 | * makefile.vms (DEBUG_OBJS): Add elfcomm.obj. | |
522 | ||
ac145307 BS |
523 | 2011-03-31 Bernd Schmidt <bernds@codesourcery.com> |
524 | ||
525 | * readelf.c (get_symbol_index_type): Handle SCOM for TIC6X. | |
526 | (dump_relocations): Likewise. | |
527 | ||
00e98fc7 TG |
528 | 2011-03-31 Tristan Gingold <gingold@adacore.com> |
529 | ||
530 | * readelf.c (get_ia64_vms_note_type): New function. | |
531 | (print_ia64_vms_note): Ditto. | |
532 | (process_note): Recognize VMS/ia64 specific notes. | |
533 | Display them. | |
534 | (process_corefile_note_segment): Decode VMS notes. | |
535 | ||
877c169d CM |
536 | 2011-03-30 Catherine Moore <clm@codesourcery.com> |
537 | ||
538 | * addr2line.c (translate_addresses): Sign extend the pc | |
539 | if sign_extend_vma is enabled. | |
540 | ||
2842702f NC |
541 | 2011-03-30 Michael Snyder <msnyder@msnyder-server.eng.vmware.com> |
542 | ||
543 | * readelf.c (process_gnu_liblist): Stop memory leak. | |
544 | ||
9382dad2 AM |
545 | 2011-03-29 Alan Modra <amodra@gmail.com> |
546 | ||
547 | * coffdump.c: Include bfd_stdint.h | |
548 | ||
fbe3e2c8 PM |
549 | 2011-03-28 Pierre Muller <muller@ics.u-strasbg.fr> |
550 | ||
551 | * coffdump.c (coff_dump): Correct spelling error. | |
552 | (show_usage): Replace SYSROFF by COFF. | |
553 | ||
1a9911c3 PM |
554 | 2011-03-25 Pierre Muller <muller@ics.u-strasbg.fr> |
555 | ||
556 | * coffdump.c (dump_coff_scope): Use double typecast for pointer P | |
557 | to allow compilation for all targets. | |
558 | ||
49e7b350 NC |
559 | 2011-03-25 Pierre Muller <muller@ics.u-strasbg.fr> |
560 | ||
561 | * dwarf.c (process_debug_info): Use offset_size to determine | |
562 | the bit-size of the computation unit's offset. | |
767221a9 NC |
563 | (decode_location_expression): Use dwarf_vmatoa function to display |
564 | DW_OP_addr OP. | |
565 | (process_debug_info): Use dwarf_vma type for local variables | |
566 | length and type_offset. | |
49e7b350 | 567 | |
68187828 NC |
568 | 2011-03-25 Michael Snyder <msnyder@vmware.com> |
569 | ||
570 | * strings.c (print_strings): Plug memory leak. | |
6a696910 | 571 | * ar.c (move_members): Plug memory leak. |
a1bc0327 | 572 | (delete_members): Plug memory leak. |
8e4850a9 | 573 | (write_archive): Plug memory leak. |
cd37dafc NC |
574 | * ieee.c (ieee_add_bb11): Plug memory leak. |
575 | (ieee_function_type): Likewise. | |
576 | (ieee_class_baseclass): Likewise. | |
09192bc7 NC |
577 | * prdbg.c (pr_function_type): Close memory leaks. |
578 | (pr_method_type): Likewise. | |
579 | (tg_class_static_member): Likewise. | |
580 | (tg_class_method_variant): Likewise. | |
581 | (tg_class_static_method_variant): Likewise. | |
1fcab1af | 582 | * stabs.c (parse_stab_enum_type): Fix memory leaks. |
4b41844b NC |
583 | (parse_stab_struct_type): Likewise. |
584 | (parse_stab_struct_fields): Likewise. | |
585 | (parse_stab_one_struct_field): Likewise. | |
586 | (parse_stab_members): Likewise. | |
587 | (stab_demangle_qualified): Likewise. | |
588 | * objdump.c (dump_reloc_set): Free malloced memory. | |
c48d800e | 589 | * bucomm.c (make_tempname): Stop memory leak. |
68187828 | 590 | |
467c65bc NC |
591 | 2011-03-25 Pierre Muller <muller@ics.u-strasbg.fr> |
592 | ||
593 | Replace bfd_vma type and analog types by dwarf_vma and analogs. | |
594 | Use dwarf specific print functions to display these type values. | |
595 | * dwarf.h (dwarf_signed_vma): New type; | |
596 | (DWARF2_External_LineInfo): Replace bfd_vma by dwarf_vma. | |
597 | (DWARF2_External_PubNames): Likewise. | |
598 | (DWARF2_External_CompUnit): Likewise. | |
599 | (DWARF2_External_ARange): Likewise. | |
600 | (read_leb128): Change return type to dwarf_vma. | |
601 | * dwarf.c (print_dwarf_vma): Use __MINGW32__ conditional and | |
602 | check byte_size values. | |
603 | (dwarf_vmatoa): Change parameter type to dwarf_vma. | |
604 | (dwarf_svmatoa): New static function. | |
605 | (read_leb128): Change return type to dwarf_vma. | |
606 | (read_sleb128): New static function. | |
607 | (struct State_Machine_Registers): Change address field type to | |
608 | dwarf_vma. | |
609 | (process_extended_line_op): Adapt to type changes. | |
610 | (fetch_indirect_string): Likewise. | |
611 | (idisplay_block): Likewise. | |
612 | (decode_location_expression): Likewise. | |
613 | (read_and_display_attr_value): Likewise. | |
614 | (process_debug_info): Likewise. | |
615 | (display_debug_lines_raw): Likewise. | |
616 | (display_debug_lines_decoded): Likewise. | |
617 | (SLEB macro): Use new read_sleb128 function. | |
618 | ||
c60ce34a AM |
619 | 2011-03-17 Alan Modra <amodra@gmail.com> |
620 | ||
621 | PR 12590 | |
622 | * ar.c (ranlib_main): Init arg_index properly. | |
623 | (usage): Describe --target. | |
624 | ||
629e7ca8 JJ |
625 | 2011-03-16 Jakub Jelinek <jakub@redhat.com> |
626 | ||
627 | * dwarf.c (dw_TAG_name): Handle DW_TAG_GNU_call_site_parameter. | |
628 | (read_and_display_attr_value): Handle DW_AT_GNU_call_site_data_value, | |
629 | DW_AT_GNU_call_site_target and DW_AT_GNU_call_site_target_clobbered. | |
630 | (get_AT_name): Handle DW_AT_GNU_call_site_value, | |
631 | DW_AT_GNU_call_site_data_value, DW_AT_GNU_call_site_target, | |
632 | DW_AT_GNU_call_site_target_clobbered, DW_AT_GNU_tail_call, | |
633 | DW_AT_GNU_all_tail_call_sites, DW_AT_GNU_all_call_sites and | |
634 | DW_AT_GNU_all_source_call_sites. | |
635 | (decode_location_expression) <case DW_OP_GNU_entry_value>: Adjust | |
636 | handling. | |
637 | ||
638 | 2011-03-16 Jan Kratochvil <jan.kratochvil@redhat.com> | |
639 | ||
640 | * dwarf.c (get_TAG_name): Handle DW_TAG_GNU_call_site. | |
641 | (decode_location_expression): Handle DW_OP_GNU_entry_value. | |
642 | (read_and_display_attr_value): Handle DW_AT_GNU_call_site_value. | |
643 | (get_AT_name): Likewise. | |
644 | ||
497b9b32 MS |
645 | 2011-03-14 Michael Snyder <msnyder@vmware.com> |
646 | ||
0cbf3531 MS |
647 | * objcopy.c (set_pe_subsystem): Free subsystem. |
648 | ||
c30fe01d MS |
649 | * wrstabs.c (stab_start_struct_type): Close memory leak. |
650 | ||
0429c154 MS |
651 | * readelf.c (process_version_sections): Free symbols. |
652 | ||
497b9b32 MS |
653 | * nm.c (display_rel_file): Free symsizes. |
654 | ||
8f7e76d0 NC |
655 | 2011-03-10 Nick Clifton <nickc@redhat.com> |
656 | ||
657 | * readelf.c (get_machine_name): Update EM_V850 entry. | |
658 | ||
505f1412 MF |
659 | 2011-03-03 Mike Frysinger <vapier@gentoo.org> |
660 | ||
661 | * objdump.c (usage): Fix single typo. | |
662 | * po/bg.po, po/binutils.pot, po/da.po, po/es.po, po/fi.po, | |
663 | po/fr.po, po/id.po, po/ja.po, po/ru.po, po/vi.po: Likewise. | |
664 | ||
5115b233 AM |
665 | 2011-03-01 Akos Pasztory <akos.pasztory@gmail.com> |
666 | ||
667 | PR binutils/12523 | |
668 | * readelf.c (process_object): Clear dynamic_info_DT_GNU_HASH. | |
669 | ||
8b6efd89 KT |
670 | 2011-02-28 Kai Tietz <kai.tietz@onevision.com> |
671 | ||
672 | * debug.c (debug_start_source): Use filename_(n)cmp. | |
673 | * ieee.c (ieee_finish_compilation_unit): Likewise. | |
674 | (ieee_lineno): Likewise. | |
675 | * nlmconv.c (main): Likewise. | |
676 | * objcopy.c (strip_main): Likewise. | |
677 | (copy_main): Likewise. | |
678 | * objdump.c (show_line): Likewise. | |
679 | (dump_reloc_set): Likewise. | |
680 | * srconv.c (main): Likewise. | |
681 | * wrstabs.c (stab_lineno): Likewise. | |
682 | ||
61865e30 NC |
683 | 2011-02-24 Zachary T Welch <zwelch@codesourcery.com> |
684 | ||
685 | * readelf.c (decode_arm_unwind): Implement decoding of remaining | |
686 | ARM unwind instructions (i.e. VFP/NEON and Intel Wireless MMX). | |
687 | ||
47704ddf KT |
688 | 2011-02-23 Kai Tietz <kai.tietz@onevision.com> |
689 | ||
690 | * dwarf.c (read_leb128): Use bfd_vma instead of | |
691 | long type. | |
692 | (dwarf_vmatoa): New helper routine. | |
693 | (process_extended_line_op): Use for adr bfd_vma | |
694 | type and print those typed values via BFD_VMA_FMT | |
695 | or via dwarf_vmatoa for localized prints. | |
696 | (fetch_indirect_string): Adjust offset's type. | |
697 | (decode_location_expression): Adjust argument types | |
698 | and uvalue type. | |
699 | (read_and_display_attr_value): Likewise. | |
700 | (read_and_display_attr): Likewise. | |
701 | (decode_location_expression): Adjust printf format. | |
702 | (process_debug_info): Likewise. | |
703 | (display_debug_lines_raw): Likewise. | |
704 | (display_debug_lines_decoded): Likewise. | |
705 | (display_debug_pubnames): Likewise. | |
706 | (display_debug_loc): Likewise. | |
707 | (display_debug_aranges): Likewise. | |
708 | * dwarf.h (DWARF2_External_LineInfo, | |
709 | DWARF2_Internal_LineInfo, DWARF2_External_PubNames, | |
710 | DWARF2_Internal_PubNames, DWARF2_External_CompUnit, | |
711 | DWARF2_Internal_CompUnit, DWARF2_External_ARange, | |
712 | DWARF2_Internal_ARange): Added.. | |
713 | (read_leb128): Adjust return type. | |
714 | ||
822ce8ee RW |
715 | 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
716 | ||
717 | * configure: Regenerate. | |
718 | ||
82f2dbf7 NC |
719 | 2011-02-08 Nick Clifton <nickc@redhat.com> |
720 | ||
721 | PR binutils/12467 | |
722 | * readelf.c (process_program_headers): Issue a warning if there | |
723 | are no program headers but the file header has a non-zero program | |
724 | header offset. | |
725 | (process_section_headers): Issue a warning if there are no section | |
726 | headers but the file header has a non-zero section header offset. | |
727 | (process_section_groups): Reword the no section message so that it | |
728 | can be distinguished from the one issued by process_section_headers. | |
729 | ||
6ec8b48e JK |
730 | 2011-01-26 Jan Kratochvil <jan.kratochvil@redhat.com> |
731 | Doug Evans <dje@google.com> | |
732 | ||
733 | * dwarf.c (display_gdb_index): Support version 4, warn on version 3. | |
734 | ||
293c573e MR |
735 | 2011-01-19 Maciej W. Rozycki <macro@codesourcery.com> |
736 | ||
737 | * readelf.c (process_object): Free dynamic_section after use. | |
738 | ||
2b52916e L |
739 | 2011-01-18 H.J. Lu <hongjiu.lu@intel.com> |
740 | ||
741 | PR binutils/12408 | |
742 | * readelf.c (process_archive): Free and reset dump_sects | |
743 | after processing each archive member. | |
744 | ||
7a88bc9c AS |
745 | 2011-01-11 Andreas Schwab <schwab@redhat.com> |
746 | ||
747 | * readelf.c (print_symbol): Handle symbol characters as unsigned. | |
748 | Whitespace fixes. | |
749 | ||
f7465604 NC |
750 | 2011-01-10 Nick Clifton <nickc@redhat.com> |
751 | ||
752 | * po/da.po: Updated Danish translation. | |
753 | ||
9849fbfc NC |
754 | 2011-01-06 Vladimir Siminov <sv@sw.ru> |
755 | ||
756 | * bucomm.c (get_file_size): Check for negative sizes and issue a | |
757 | warning message if encountered. | |
758 | ||
0db46eb4 L |
759 | 2011-01-01 H.J. Lu <hongjiu.lu@intel.com> |
760 | ||
761 | * version.c (print_version): Update copyright to 2011. | |
762 | ||
9e9e0820 | 763 | For older changes see ChangeLog-2010 |
252b5132 RH |
764 | \f |
765 | Local Variables: | |
766 | mode: change-log | |
767 | left-margin: 8 | |
768 | fill-column: 74 | |
769 | version-control: never | |
770 | End: |