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