* objdump.c (dump_reloc_set): Append "()" to symbol names which
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2008-12-04 Nick Clifton <nickc@redhat.com>
2
3 * objdump.c (dump_reloc_set): Append "()" to symbol names which
4 have the BSF_INDIRECT_FUNCTION type.
5 * readelf.c (print_symbol): Fix handling of negative widths.
6 (dump_relocations): Append "()" to symbol names which have the
7 STT_IFUNC type. Display negative offsets as a positive number with
8 a "-" prefix.
9 (get_symbol_type): Return "IFUNC" for STT_IFUNC symbols.
10 * doc/binutils.texi: Document 'i' symbol type.
11
12 2008-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13
14 * strings.c (main): New variable `s'. Have string_min parsing
15 call fatal for invalid input strings.
16
17 2008-11-25 Nick Clifton <nickc@redhat.com>
18
19 PR7044
20 * dlltool.c (run): Use formatting string to avoid compile time
21 warning.
22 (gen_exp_file): Check return value from fread.
23 * windmc.c (main): Check return value from fread.
24
25 2008-11-21 Sterling Augustine <sterling@tensilica.com>
26
27 * MAINTAINERS: Take over from Bob Wilson as Xtensa maintainer.
28
29 2008-11-19 Nick Clifton <nickc@redhat.com>
30
31 * doc/fdl.texi: Update to v1.3
32 * doc/binutils.texinfo: Change license to v1.3.
33
34 2008-11-18 Catherine Moore <clm@codesourcery.com>
35
36 * readelf.c (arm_attr_tag_ABI_FP_16bit_format): New.
37 (arm_attr_tag_VFP_HP_extension): New.
38 (arm_attr_public_tag arm_attr_public_tags): Support
39 new attributes.
40
41 2008-11-17 Nick Clifton <nickc@redhat.com>
42
43 * version.c (print_version): Update copyright year.
44
45 2008-11-16 Danny Smith <dannysmith@usesr.sourceforge.net>
46
47 * dlltool.c (identify_search_section): Cast argument, not return
48 value, of xstrdup to 'char*'.
49
50 2008-11-15 Charles Wilson <cygwin@cwilson.fastmail.fm>
51
52 Added --identify option to dlltool.
53 * binutils/dlltool.c: Add new global variables
54 identify_imp_name and identify_dll_name.
55 (identify_dll_for_implib, identify_search_archive,
56 identify_search_member, identify_process_section_p,
57 identify_search_section): New functions.
58 (usage): Added --identify.
59 (long_options): Added --identify.
60 (main): Handle --identify option.
61 * binutils/doc/binutils.texi: Document --identify.
62
63 2008-11-14 Tristan Gingold <gingold@adacore.com>
64
65 Remove outdated mach-o specific tests.
66 * objdump.c (load_debug_section): Remove mach-o specific test.
67 (mach_o_uncompressed_dwarf_sections): Removed.
68 (mach_o_compressed_dwarf_sections): Removed.
69 (generic_uncompressed_dwarf_sections): Removed.
70 (generic_compressed_dwarf_sections): Removed.
71 (check_mach_o_dwarf): Removed.
72 (dump_dwarf): Remove call to check_mach_o_dwarf.
73
74 2008-11-14 Tristan Gingold <gingold@adacore.com>
75
76 * configure.com: Get version from configure.in of bfd.
77 * makefile.vms-in (DEBUG_OBJS): Add dwarf.obj.
78 (CFLAGS): Update flags.
79
80 2008-11-13 Hans-Peter Nilsson <hp@axis.com>
81 Alan Modra <amodra@bigpond.net.au>
82
83 * nm.c (filter_symbols): Only call memcpy when from != to.
84
85 2008-11-10 Tristan Gingold <gingold@adacore.com>
86 Alan Modra <amodra@bigpond.net.au>
87
88 * objdump.c (disassemble_bytes): Don't skip leading zeros when
89 end of section calculation overflows.
90
91 2008-11-07 Prafulla Thakare <prafulla.thakare@kpitcummins.com>
92
93 * MAINTAINERS: Take over from Anil Paranjpe as H8300 maintainer.
94
95 2008-10-31 Alan Modra <amodra@bigpond.net.au>
96
97 * po/id.po: New file.
98 * configure.in (ALL_LINGUAS): Add id.
99 * configure: Regenerate.
100
101 2008-10-21 Alan Modra <amodra@bigpond.net.au>
102
103 * windmc.c (res_alloc): Remove unnecessary cast.
104 * windres.c (res_alloc, reswr_alloc): Likewise.
105
106 2008-10-20 Nick Clifton <nickc@redhat.com>
107
108 * readelf.c: Tidy up code formatting.
109
110 2008-10-10 Nathan Froyd <froydnj@codesourcery.com>
111
112 * readelf.c (display_power_gnu_attribute): Decode
113 Tag_GNU_Power_ABI_Struct_Return.
114
115 2008-10-10 Alan Modra <amodra@bigpond.net.au>
116
117 * embedspu.sh: Pass -Wa,-noexecstack to $CC.
118
119 2008-10-09 Kai Tietz <kai.tietz@onevision.com>
120
121 * dlltool.c (PAGE_SIZE): Make sure it has bfd_vma type.
122 (PAGE_MASK): Likewise.
123 (sfunc): Change to address size of bfd_vma for base-file.
124 (flush_page): Likewise.
125 (gen_exp_file): Likewise.
126
127 2008-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
128
129 * readelf.c (process_section_headers): Do not cut the section names and
130 types if running with --wide.
131
132 2008-10-06 Tom Tromey <tromey@redhat.com>
133
134 * dwarf.c (display_debug_frames): Change text for uniformity.
135 (process_debug_info): Likewise.
136 (display_debug_aranges): Likewise. Indent address output.
137 (display_debug_pubnames): Print offset in hex.
138
139 2008-10-02 Andrew Paprocki <andrew@ishiboo.com>
140
141 PR 6934
142 * stabs.c (parse_stab_string): Parse and ignore =Y<name> strings
143 generated by the SUNPro C++ compiler.
144
145 2008-09-30 Andrew Paprocki <andrew@ishiboo.com>
146
147 PR 6922
148 * stabs.c (parse_stab_sun_builtin_type): Parse, but ignore SUN's
149 'b' and 'v' extensions.
150
151 2008-09-29 Peter O'Gorman <pogma@thewrittenword.com>
152 Steve Ellcey <sje@cup.hp.com>
153
154 * configure: Regenerate for new libtool.
155 * aclocal.m4: Ditto.
156 * Makefile.in: Ditto.
157 * doc/Makefile.in: Ditto.
158
159 2008-09-28 Alan Modra <amodra@bigpond.net.au>
160
161 * objcopy.c (setup_section): Set elf_group_id.
162
163 2008-09-24 Richard Henderson <rth@redhat.com>
164
165 * dwarf.c (size_of_encoded_value, get_encoded_value): Move up.
166 (decode_location_expression): Add section parameter. Handle
167 DW_OP_GNU_encoded_addr.
168 (read_and_display_attr_value): Update decode_location_expression call.
169 (display_debug_loc, display_debug_frames): Likewise.
170
171 2008-09-25 Alan Modra <amodra@bigpond.net.au>
172
173 PR 6913
174 * dwarf.c (print_dwarf_vma): Don't call printf without format string.
175
176 2008-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
177
178 Suppress warnings on NONE relocations to discarded sections.
179 * readelf.c (is_none_reloc): New function.
180 (debug_apply_relocations): Ignore is_none_reloc() relocations.
181
182 2008-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
183
184 Fix loading large elf64 binaries on 32bit hosts.
185 * configure.in: Call AC_SYS_LARGEFILE.
186 * config.in: Regenerate.
187 * configure: Regenerate.
188
189 2008-09-11 Alan Modra <amodra@bigpond.net.au>
190
191 * po/sv.po: Update.
192
193 2008-09-08 Tristan Gingold <gingold@adacore.com>
194
195 * BRANCHES: Add 2.18 and 2.19 release branches.
196
197 2008-09-08 Tristan Gingold <gingold@adacore.com>
198
199 * NEWS: Add a marker for the 2.19 features.
200
201 2008-09-05 Daniel Jacobowitz <dan@codesourcery.com>
202
203 * readelf.c (load_specific_debug_section): New function, from
204 load_debug_section.
205 (load_debug_section): Use load_specific_debug_section.
206 (display_debug_section): Use load_specific_debug_section. Check for
207 multiple sections with the same name.
208
209 2008-08-28 Tristan Gingold <gingold@adacore.com>
210
211 * objdump.c (dump_stabs): Add sections for Darwin.
212
213 2008-08-25 Alan Modra <amodra@bigpond.net.au>
214
215 * sysdep.h: Include "binary-io.h".
216 (O_BINARY): Don't define here.
217 * bin2c.c (O_BINARY, O_TEXT, SET_BINARY): Don't define here.
218 * strings.c: Likewise.
219 (main): Remove #ifdef SET_BINARY.
220 * Makefile.am: Run "make dep-am"
221 * Makefile.in: Regenerate.
222
223 2008-08-24 Alan Modra <amodra@bigpond.net.au>
224
225 * configure.in: Update a number of obsolete autoconf macros.
226 * configure: Regenerate.
227 * aclocal.m4: Regenerate.
228
229 2008-08-21 Richard Henderson <rth@redhat.com>
230
231 * readelf.c (is_32bit_pcrel_reloc): Fix hppa entry.
232 (is_64bit_pcrel_reloc): New.
233 (debug_apply_relocations): Use it. Handle hppa pcrel bias.
234
235 2008-08-15 Alan Modra <amodra@bigpond.net.au>
236
237 PR 6526
238 * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.
239 * Makefile.in: Regenerate.
240 * aclocal.m4: Regenerate.
241 * config.in: Regenerate.
242 * configure: Regenerate.
243 * doc/Makefile.in: Regenerate.
244
245 2008-08-09 Alan Modra <amodra@bigpond.net.au>
246
247 PR 6615
248 * rename.c (smart_rename): Punctuate error messages.
249
250 2008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
251 Daniel Jacobowitz <dan@codesourcery.com>
252 Catherine Moore <clm@codesourcery.com>
253 Mark Shinwell <shinwell@codesourcery.com>
254
255 * readelf.c (get_mips_symbol_other): Handle STO_MIPS_PLT and
256 STO_MIPS_PIC.
257 (slurp_rela_relocs, slurp_rel_relocs): Handle MIPS ELF64 here.
258 (dump_relocations, debug_apply_relocations): Don't handle it here.
259 (get_mips_dynamic_type): Handle DT_MIPS_PLTGOT and DT_MIPS_RWPLT.
260 (print_mips_pltgot_entry): New function.
261 (process_mips_specific): Dump the PLT GOT.
262
263 2008-08-08 Alan Modra <amodra@bigpond.net.au>
264
265 * readelf.c (is_64bit_abs_reloc): Return true for R_MIPS_64.
266
267 2008-08-06 Alan Modra <amodra@bigpond.net.au>
268
269 PR 6774
270 * objcopy.c (copy_object): Don't setup_bfd_headers when extract_symbol.
271 (setup_section): Don't zero vma and lma when extract_symbol.
272 (copy_section): Discard relocations when extract_symbol.
273 * doc/binutils.texi: Update --extract-symbol description.
274
275 2008-08-04 Alan Modra <amodra@bigpond.net.au>
276
277 * Makefile.am (POTFILES.in): Set LC_ALL=C.
278 * Makefile.in: Regenerate.
279
280 2008-08-04 Markus Weiss <weissms@aros.org>
281
282 * readelf.c (get_osabi_name <ELFOSABI_AROS>): Change name.
283
284 2008-08-01 H.J. Lu <hongjiu.lu@intel.com>
285
286 * dwarf.c (dwarf_regnames_i386): Remove AVX registers.
287 (dwarf_regnames_x86_64): Likewise.
288
289 2008-07-30 Alan Modra <amodra@bigpond.net.au>
290
291 * dlltool.c, dwarf.c, objdump.c, readelf.c, resrc.c, resres.c,
292 windmc.c: Silence gcc warnings.
293
294 2008-07-28 Alan Modra <amodra@bigpond.net.au>
295
296 * readelf.c (print_vma): Typo fix.
297
298 2008-07-28 Alan Modra <amodra@bigpond.net.au>
299
300 PR 6769
301 * readelf.c (print_dec_vma, print_hex_vma): Delete.
302 (print_vma): Use BFD_VMA_FMT.
303 * size.c (size_number, rprint_number): Likewise.
304
305 2008-07-26 Michael Eager <eager@eagercon.com>
306
307 * readelf.c (display_power_gnu_attribute): Display
308 single-precision hard float.
309
310 2008-07-21 Luis Machado <luisgpm@br.ibm.com>
311
312 * readelf.c (get_note_type): Handle VSX notes.
313
314 2008-07-15 H.J. Lu <hongjiu.lu@intel.com>
315
316 * objdump.c (load_debug_section): Initialize section_is_compressed
317 for gcc 3.4/ia64.
318 * readelf.c (load_debug_section): Likewise.
319
320 2008-07-12 Jie Zhang <jie.zhang@analog.com>
321
322 Revert
323 2008-07-12 Jie Zhang <jie.zhang@analog.com>
324 * readelf.c (get_machine_flags): Deal with Blackfin specific
325 flags.
326
327 2008-07-12 Jie Zhang <jie.zhang@analog.com>
328
329 * readelf.c (get_machine_flags): Deal with Blackfin specific
330 flags.
331
332 2008-07-09 Craig Silverstein <csilvers@google.com>
333
334 * config.in: Add HAVE_ZLIB_H
335 * configure.in: Add test for libz and zlib.h
336 * configure: Regenerate.
337 * dwarf.c (debug_displays): Add .zdebug_* strings.
338 * dwarf.h (struct dwarf_section): Add fields uncompressed_namd
339 and compressed_name.
340 * objdump.c (load_debug_section): Call
341 bfd_uncompress_section_contents when loading a compressed
342 section.
343 (dump_dwarf_section): Recognize compressed section name.
344 (mach_o_dwarf_sections): Rename as
345 mach_o_uncompressed_dwarf_sections.
346 (mach_o_compressed_dwarf_sections): New variable.
347 (generic_dwarf_section): Rename as
348 generic_uncompressed_dwarf_sections.
349 (generic_compressed_dwarf_sections): New variable.
350 (check_mach_o_dwarf): Save and restore
351 mach_o_compressed_dwarf_sections.
352 * readelf.c: Add #include for config.h and zlib.h
353 (process_section_headers): Recognize compressed section name.
354 (uncompress_section_contents): New function.
355 (load_debug_section): Call uncompress_section_contents when
356 loading a compressed section.
357 (display_debug_section): Recognize compressed section name.
358
359 2008-07-07 Alan Modra <amodra@bigpond.net.au>
360
361 * objdump.c (find_symbol_for_address): Prefer symbols in current
362 section.
363
364 2008-07-07 Alan Modra <amodra@bigpond.net.au>
365
366 * ieee.c (write_ieee_debugging_info): Use bfd_make_section_with_flags.
367 * nlmconv.c (main, powerpc_build_stubs): Likewise.
368 * rescoff.c (write_coff_file): Likewise.
369 * resres.c (write_res_file): Likewise.
370 * windmc.c (windmc_write_bin): Likewise.
371
372 2008-06-18 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
373
374 * readelf.c (guess_is_rela): Add EM_CR16_OLD.
375 (dump_relocations): Likewise.
376 (get_machine_name): Likewise.
377 (is_32bit_abs_reloc): Likewise.
378
379 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
380
381 * configure: Regenerate.
382
383 2008-06-12 DJ Delorie <dj@redhat.com>
384
385 * readelf.c (guess_is_rela): Add EM_M32C_OLD.
386 (dump_relocations): Likewise.
387 (process_section_headers): Likewise.
388 (is_32bit_abs_reloc): Likewise.
389 (is_16bit_abs_reloc): Likewise.
390
391 2008-06-12 Nick Clifton <nickc@redhat.com>
392
393 PR binutils/6483
394 * objdump.c (dump_bfd): If the -g option found no STABS or IEEE
395 debug information to display, try dumping DWARF information
396 instead.
397 * rddbg.c (read_debugging_info): Add a parameter to suppress the
398 display of a warning message when no debug information is found.
399 * budbg.h (read_debugging_info): Update prototype.
400 * objcopy.c (copy_object): Continue to allow read_debugging_info
401 to produce warning messages.
402 * doc/binutils.texi (--debugging): Document new behaviour of the
403 -g/--debugging option.
404
405 2008-06-10 Ben Elliston <bje@gnu.org>
406
407 * MAINTAINERS: Remove myself as m68k maintainer.
408
409 2008-05-14 Alan Modra <amodra@bigpond.net.au>
410
411 * Makefile.in: Regenerate.
412 * doc/Makefile.in: Regenerate.
413
414 2008-05-12 Alan Modra <amodra@bigpond.net.au>
415
416 * embedspu.sh: Test for presence of ._ea by looking at section
417 table rather than looking at relocs. Correct toe_addr substitution.
418
419 2008-05-08 Alan Modra <amodra@bigpond.net.au>
420
421 * embedspu.sh: Take note of R_SPU_PPU32/64 relocs without a symbol,
422 and if present, put image in ".data.speelf". Put program handle
423 in ".data.spehandle".
424
425 2008-05-01 Nick Clifton <nickc@redhat.com>
426
427 * readelf.c (print_symbol): Add code to display non-printing
428 characters.
429
430 2008-04-30 John Heidemann <johnh@isi.edu>
431
432 * doc/binutils.texi (strings): Add "unicode" to the documentation
433 of strings in order to make explicit that it supports this
434 feature.
435
436 2008-04-30 Alan Modra <amodra@bigpond.net.au>
437
438 * readelf.c (process_program_headers): Correct section in segment
439 display.
440
441 2008-04-28 M Thomas <mthomas@rhrk.uni-kl.de>
442 Nick Clifton <nickc@redhat.com>
443
444 PR binutils/6449
445 * objdump.c (slurp_file): Open the file in binary mode.
446 * ar.c: Remove conditional definition of O_BINARY.
447 * bin2.c: Likewise.
448 * rename.c: Likewise.
449 * strings.c: Likewise.
450 * sysdep.h: Add conditional definition of O_BINARY.
451
452 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
453
454 * aclocal.m4: Regenerate.
455 * configure: Regenerate.
456
457 2008-04-16 Jean-Yves Lefort <jylefort@brutele.be>
458
459 PR binutils/6034
460 * objcopy.c (stuct symlist): Rename to
461 is_specified_symbol_predicate_data.
462 (strip_specific_list): Rename to strip_specific_htab.
463 (strip_unneeded_list): Rename to strip_unneeded_htab.
464 (keep_specific_list): Rename to keep_specific_htab.
465 (localize_specific_list): Rename to localize_specific_htab.
466 (globalize_specific_list): Rename to globalize_specific_htab.
467 (keepglobal_specific_list): Rename to keepglobal_specific_htab.
468 (weaken_specific_list): Rename to weaken_specific_htab.
469 (eq_string): New function.
470 (create_symbol_htab): New function.
471 (create_symbol_htabs): New function.
472 (add_specific_symbol): Change to use hash tables.
473 (is_specified_symbol_predicate): New function.
474 (is_specified_symbol): Use hash table lookup.
475 (is_strip_section): Update to use new functions and hash tables.
476 (filter_symbols): Likewise.
477 (copy_object): Likewise.
478 (copy_section): Likewise.
479 (strip_main): Likewise.
480 (copy_main): Likewise.
481 (main): Likewise.
482
483 2008-04-14 David S. Miller <davem@davemloft.net>
484
485 * readelf.c (get_gnu_elf_note_type): Recognize NT_GNU_GOLD_VERSION.
486
487 2008-04-11 Torleif Sandnes <torleif.sandnes@gmail.com>
488
489 * dwarf.c (display_debug_lines): Rename to
490 display_debug_lines_raw.
491 (display_debug_lines_decoded): New function. Displays the
492 interpreted contents of a .debug_line section.
493 (display_debug_lines): New function: Selects either a raw dump or
494 a decoded dump (or both) as requested by the user.
495 * dwarf.h (do_debug_lines_decoded): New extern.
496 * readelf.c: Add support for -wL or --debug-dump=decodedline
497 option to display the decoded contents of a .debug_line section.
498 * doc/binutils.texi: Document the new option.
499 * NEWS: Mention the new feature.
500
501 2008-04-08 Alan Modra <amodra@bigpond.net.au>
502
503 * dwarf.c: Remove trailing whitespace throughout file.
504
505 2008-04-04 Nick Clifton <nickc@redhat.com>
506
507 * po/sk.po: Updated Slovak translation.
508
509 2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
510
511 * dwarf.c (dwarf_regnames_i386): Add AVX registers.
512 (dwarf_regnames_x86_64): Likewise.
513
514 2008-03-27 Cary Coutant <ccoutant@google.com>
515
516 Add support for thin archives.
517 * ar.c (make_thin_archive): New global flag.
518 (map_over_members): Deal with full pathnames in thin archives.
519 (usage, main): Add 'T' option for building thin archives.
520 (replace_members): Pass thin archive flag to ar_emul_append.
521 * arsup.c (ar_open): Initialize new flag.
522 * binemul.c (ar_emul_append): Add new parameter for
523 flattening nested archives.
524 (do_ar_emul_default_append): New function.
525 (ar_emul_default_append): Factored out recursive code.
526 * binutils/binemul.h (ar_emul_default_append): Add new parameter.
527 (struct bin_emulation_xfer_struct): New parameter for ar_append.
528 * dlltool.c (gen_lib_file): Initialize thin archive flag.
529 * emul_aix.c (ar_emul_aix_internal): Add new flatten
530 parameter, currently unimplemented.
531 All callers changed.
532 * objcopy.c (copy_archive): Preserve thin archive flag.
533 * doc/binutils.texi: Update ar documentation.
534 * NEWS: Mention the new feature.
535
536 2008-03-20 H.J. Lu <hongjiu.lu@intel.com>
537
538 * readelf.c (process_mips_specific): Declare addr_size as int.
539
540 2008-03-20 Richard Sandiford <rsandifo@nildram.co.uk>
541
542 * readelf.c (print_mips_got_entry): New function.
543 (process_mips_specific): Print GOT information.
544
545 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
546
547 * aclocal.m4: Regenerate.
548 * configure: Likewise.
549 * Makefile.in: Likewise.
550 * doc/Makefile.in: Likewise.
551
552 2008-03-16 Brian Dessent <brian@dessent.net>
553
554 * rcparse.y (resid): Allow control text to span multiple lines.
555
556 2008-03-13 Alan Modra <amodra@bigpond.net.au>
557
558 * readelf.c: Use %u throughout when printing sh_link or sh_info,
559 %lu when printing sh_addralign.
560 (process_version_sections): Use identical formats when printing
561 all offset and sh_link fields.
562
563 2008-03-13 Alan Modra <amodra@bigpond.net.au>
564
565 * Makefile.am: Run "make dep-am".
566 * Makefile.in: Regenerate.
567 * doc/Makefile.in: Regenerate.
568 * configure: Regenerate.
569
570 2008-03-12 Alan Modra <amodra@bigpond.net.au>
571
572 PR 5900
573 * readelf.c (SECTION_HEADER_INDEX, SECTION_HEADER_NUM): Delete.
574 Remove use throughout file.
575 (SECTION_HEADER): Likewise.
576 (dump_relocations): Don't adjust st_shndx for reserved range.
577 (process_file_header): Mask SHN_XINDEX to values seen in external
578 elf structs. Simplify valid section index tests.
579 (get_32bit_elf_symbols, get_64bit_elf_symbols): Mask SHN_XINDEX.
580 Map reserved st_shndx to internal form.
581 (process_section_groups): Test that group symbol st_shndx is in
582 range, not just non-zero. Delete reserved range check.
583 (get_symbol_index_type): Mask "type" to 16 bits when printing PRC,
584 OS or RSV.
585
586 2008-03-09 Paul Brook <paul@codesourcery.com>
587
588 * readelf.c (arm_attr_tag_VFP_arch): Add "VFPv3-D16".
589
590 2008-03-03 James E. Wilson <wilson@tuliptree.org>
591
592 * MAINTAINERS: Update my email address.
593
594 2008-03-03 Nick Clifton <nickc@redhat.com>
595
596 * dwarf.c (decode_location_expression): Handle
597 DW_OP_PGI_omp_thread_num.
598
599 2008-03-01 Alan Modra <amodra@bigpond.net.au>
600
601 * objdump.c (objdump_print_addr): Initialise "sym".
602
603 2008-02-27 Justin Pryzby <justinpryzby@users.sourceforge.net>
604 Nick Clifton <nickc@redhat.com>
605
606 * ar.c (usage): Mention -t command line switch.
607 * doc/binutils.texi (ranlib): Document -t command line switch.
608
609 2008-02-26 Nick Clifton <nickc@redhat.com>
610
611 * objdump.c (objdump_print_addr): If displaying file offsets, show
612 the offset even if there are no symbols available.
613 (dump_section): Display nothing if none of the section is going to
614 be dumped. Display the file offset, if requested, of the location
615 from where the dump starts.
616 * doc/binutils.texi (objdump): Mention that dumping via the -s
617 switch is also affected by the -F option.
618
619 2008-02-26 Nick Clifton <nickc@redhat.com>
620
621 Re-apply this patch which was accidentally deleted:
622 2006-05-16 Carlos O'Donell <carlos@codesourcery.com>
623
624 * doc/binutils.texi: Use "Binutils Index" for index name.
625
626 2008-02-22 Nick Clifton <nickc@redhat.com>
627
628 * objdump.c (display_file_offsets): New variable.
629 (long_options): Add -F/--file-offsets.
630 (objdump_print_addr_with_sym): If displaying file offsets, print
631 the offset of the given address.
632 (disassemble_bytes): If displaying file offsets, tell the user how
633 many zeroes are skipped and the file offset of the point where
634 dumping resumes.
635 (disassemble_section): Only display the name of the section if
636 data is going to be dumped from it.
637 (main): Handle new option. Produce error messages if the start or
638 stop addresses do not make sense.
639 * doc/binutils.texi: Document the new feature.
640 * NEWS: Mention the new feature.
641
642 2008-02-15 Chu Li <chul@cn.fujitsu.com>
643 Nick Clifton <nickc@redhat.com>
644
645 PR binutils/5713
646 * strings.c (integer_arg): Delete function.
647 (string_min): Initialise to 4.
648 (main): Use strtoul to parse integer arguments.
649 Move check for an invalid string length to after all the arguments
650 have been parsed.
651 (usage): Use indentation to indicate that -<n> is a another form
652 of the --bytes= command line option.
653
654 2008-02-12 Nick Clifton <nickc@redhat.com>
655
656 * dlltool.c (mcore_elf_cache_filename): Add a const qualifier to
657 the argument.
658 (scan_obj_filename): Do not drop the const qualifier when calling
659 mcore_elf_cache_filename.
660 (struct fname_cache): Add const qualifier to filename field.
661
662 2008-02-08 H.J. Lu <hongjiu.lu@intel.com>
663
664 PR binutils/5713
665 * strings.c (main): Set string_min to 4 if it is <= 0.
666
667 2008-02-07 Alan Modra <amodra@bigpond.net.au>
668
669 * objdump.c (main): Don't pass unadorned NULL to concat.
670
671 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
672
673 PR 5715
674 * configure: Regenerated.
675
676 2008-02-03 Adam Nemet <anemet@caviumnetworks.com>
677
678 * readelf.c (get_machine_flags): Handle Octeon.
679
680 2008-01-30 Tristan Gingold <gingold@adacore.com>
681
682 * readelf.c (dump_relocations): Decode OpenVMS-specific sections.
683 (get_ia64_dynamic_type): Decode OpenVMS-specific tags.
684 (get_dynamic_type): Handle IA64-specific tags.
685 (get_ia64_section_type_name): Handle OpenVMS-specific sections.
686 (get_section_type_name): Handle OS-specific sections (and
687 particularly IA64 OpenVMS one).
688 (get_elf_section_flags): Makes flags static. Add entries for IA64 and
689 decode them.
690
691 2008-01-29 Nick Clifton <nickc@redhat.com>
692
693 * dwarf.c (print_dwarf_vma): New function. Display the value of a
694 dwarf_vma type at a specified precision. Use mingw field type
695 specifier if necessary.
696 (display_debug_loc): Use dwarf_vma type for begin and end values.
697 Use print_dwarf_vma to display their values. Use byte_get_signed
698 in order to correctly detect the -1 escape value.
699 (display_debug_aranges): Likewise.
700 (display_debug_ranges): Likewise.
701
702 2008-01-29 Alan Modra <amodra@bigpond.net.au>
703
704 * dwarf.c (display_debug_loc): Correct test for base address
705 entry when 64-bit host dumping 32-bit object.
706
707 2008-01-29 Alan Modra <amodra@bigpond.net.au>
708
709 * MAINTAINERS: Remove myself as ix86 maintainer. Add for SPU.
710
711 2008-01-28 Nick Clifton <nickc@redhat.com>
712
713 PR binutils/5529
714 * rclex.c (yylex): Also allow the hypen character.
715
716 2008-01-28 H.J. Lu <hongjiu.lu@intel.com>
717
718 * dwarf.c: Include "elf/common.h".
719 (eh_addr_size): Changed to int.
720 (dwarf_regnames_i386): New.
721 (dwarf_regnames_x86_64): Likewise.
722 (dwarf_regnames): Likewise.
723 (dwarf_regnames_count): Likewise.
724 (init_dwarf_regnames): Likewise.
725 (regname): Likewise.
726 (frame_display_row): Properly support different address size.
727 Call regname to get register name.
728 (display_debug_frames): Call regname to get register name.
729 Display DW_CFA_def_cfa_register as DW_CFA_def_cfa_register
730 instead of DW_CFA_def_cfa_reg.
731
732 * dwarf.h (init_dwarf_regnames): New.
733
734 * objdump.c: Include "elf-bfd.h".
735 (dump_dwarf): Call init_dwarf_regnames on ELF input.
736
737 * readelf.c (guess_is_rela): Change argument to int.
738 (parse_args): Remove the undocumented upper case options for
739 -wX.
740 (process_file_header): Call init_dwarf_regnames.
741
742 2008-01-25 DJ Delorie <dj@redhat.com>
743
744 * readelf.c (process_section_headers): Add m16c handler.
745 (is_16bit_abs_reloc): Recognize R_M32C_16.
746
747 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
748
749 * prdbg.c: Correct formatter style use.
750 * readelf.c: Likewise.
751 * strings.c: Likewise.
752
753 2008-01-25 Nick Clifton <nickc@redhat.com>
754
755 * po/ru.po: Updated Russian translation.
756
757 2008-01-17 H.J. Lu <hjl.tools@gmail.com>
758
759 * MAINTAINERS: Update my email address.
760
761 2008-01-14 Nick Clifton <nickc@redhat.com>
762
763 * dwarf.c (process_debug_info): Include the CU offset and corrupt
764 version value when reporting unrecognised DWARF version numbers.
765 (load_debug_info): Remember a failed attempt to load and parse the
766 .debug_info section and do not repeat such attempts.
767 (display_debug_lines): Check the return value from load_debug_info
768 and return whilst displaying a warning message if the load failed.
769 (display_debug_loc): Likewise.
770 (display_debug_ranges): Likewise.
771 (DEBUG_INFO_UNAVAILABLE): Value stored in num_debug_info_entries
772 when the .debug_info section could not be loaded/parsed.
773 (process_debug_info): Display the length of the compilation unit
774 in hex, so that it corresponds with the offsets that will follow.
775 Tell the user if the length was 32-bit or 64-bit.
776 If a DIE abbreviation could not be found, tell the user the offset
777 of the DIE.
778 (free_debug_memory): Do not attempt to free any entries in the
779 debug_information array if num_debug_info_entries is set to
780 DEBUG_INFO_UNAVAILABLE.
781
782 2008-01-10 Andreas Schwab <schwab@suse.de>
783
784 * readelf.c (is_64bit_abs_reloc): Handle R_S390_64.
785
786 2008-01-09 Jakub Zawadzki <darkjames@darkjames.ath.cx>
787
788 PR binutils/55326
789 * bucomm.c (list_supported_architectures): Free architecture list
790 after use.
791 * windres.c (set_endianess): Likewise.
792 * windmc.c (set_endianess): Likewise.
793
794 2008-01-08 Kai Tietz <kai.tietz@onevision.com>
795
796 PR binutils/5529
797 * binutils/rclex.c: (yylex): Add ':', '_', '\\', and '/' to post
798 characters for name tokens.
799
800 2008-01-04 Greg McGary <greg@mcgary.org>
801
802 * prdbg.c (print_vma): Print as long long, if host supports it.
803
804 2008-01-03 Nick Clifton <nickc@redhat.com>
805
806 * dwarf.c (read_and_display_attr_value): Prefix values that are
807 displayed in hexadecimal with 0x.
808 For the DW_AT_import attribute display the abbreviation number and
809 tag of the imported DIE.
810 (process_debug_info): Warn about lengths that reserved by the
811 DWARF3 specification.
812 Provide more information when corrupted DIEs are detected.
813 Warn if DIE corruption makes the sibling level negative.
814
815 For older changes see ChangeLog-2007
816 \f
817 Local Variables:
818 mode: change-log
819 left-margin: 8
820 fill-column: 74
821 version-control: never
822 End:
This page took 0.059718 seconds and 5 git commands to generate.