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