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