* dwarf.c (print_dwarf_vma): Use mingw field type specified if necessary.
[platform/upstream/binutils.git] / binutils / ChangeLog
1 2008-01-29  Nick Clifton  <nickc@redhat.com>
2
3         * dwarf.c (print_dwarf_vma): New function.  Display the value of a
4         dwarf_vma type at a specified precision.  Use mingw field type
5         specified if necessary.
6         (display_debug_loc): Use dwarf_vma type for begin and end values.
7         Use print_dwarf_vma to display their values.  Use byte_get_signed
8         in order to correctly detect the -1 escape value.
9         (display_debug_aranges): Likewise.
10         (display_debug_ranges): Likewise.
11
12 2008-01-29  Alan Modra  <amodra@bigpond.net.au>
13
14         * dwarf.c (display_debug_loc): Correct test for base address
15         entry when 64-bit host dumping 32-bit object.
16
17 2008-01-29  Alan Modra  <amodra@bigpond.net.au>
18
19         * MAINTAINERS: Remove myself as ix86 maintainer.  Add for SPU.
20
21 2008-01-28  Nick Clifton  <nickc@redhat.com>
22
23         PR binutils/5529
24         * rclex.c (yylex): Also allow the hypen character.
25
26 2008-01-28  H.J. Lu  <hongjiu.lu@intel.com>
27
28         * dwarf.c: Include "elf/common.h".
29         (eh_addr_size): Changed to int.
30         (dwarf_regnames_i386): New.
31         (dwarf_regnames_x86_64): Likewise.
32         (dwarf_regnames): Likewise.
33         (dwarf_regnames_count): Likewise.
34         (init_dwarf_regnames): Likewise.
35         (regname): Likewise.
36         (frame_display_row): Properly support different address size.
37         Call regname to get register name.
38         (display_debug_frames): Call regname to get register name.
39         Display DW_CFA_def_cfa_register as DW_CFA_def_cfa_register
40         instead of DW_CFA_def_cfa_reg.
41
42         * dwarf.h (init_dwarf_regnames): New.
43
44         * objdump.c: Include "elf-bfd.h".
45         (dump_dwarf): Call init_dwarf_regnames on ELF input.
46
47         * readelf.c (guess_is_rela): Change argument to int.
48         (parse_args): Remove the undocumented upper case options for
49         -wX.
50         (process_file_header): Call init_dwarf_regnames.
51
52 2008-01-25  DJ Delorie  <dj@redhat.com>
53
54         * readelf.c (process_section_headers): Add m16c handler.
55         (is_16bit_abs_reloc): Recognize R_M32C_16.
56
57 2008-01-25  Kai Tietz  <kai.tietz@onevision.com>
58
59         * prdbg.c: Correct formatter style use.
60         * readelf.c: Likewise.
61         * strings.c: Likewise.
62
63 2008-01-25  Nick Clifton  <nickc@redhat.com>
64
65         * po/ru.po: Updated Russian translation.
66
67 2008-01-17  H.J. Lu  <hjl.tools@gmail.com>
68
69         * MAINTAINERS: Update my email address.
70
71 2008-01-14  Nick Clifton  <nickc@redhat.com>
72
73         * dwarf.c (process_debug_info): Include the CU offset and corrupt
74         version value when reporting unrecognised DWARF version numbers.
75         (load_debug_info): Remember a failed attempt to load and parse the
76         .debug_info section and do not repeat such attempts.
77         (display_debug_lines): Check the return value from load_debug_info
78         and return whilst displaying a warning message if the load failed.
79         (display_debug_loc): Likewise.
80         (display_debug_ranges): Likewise.
81         (DEBUG_INFO_UNAVAILABLE): Value stored in num_debug_info_entries
82         when the .debug_info section could not be loaded/parsed.
83         (process_debug_info): Display the length of the compilation unit
84         in hex, so that it corresponds with the offsets that will follow.
85         Tell the user if the length was 32-bit or 64-bit.
86         If a DIE abbreviation could not be found, tell the user the offset
87         of the DIE.
88         (free_debug_memory): Do not attempt to free any entries in the
89         debug_information array if num_debug_info_entries is set to
90         DEBUG_INFO_UNAVAILABLE.
91
92 2008-01-10  Andreas Schwab  <schwab@suse.de>
93
94         * readelf.c (is_64bit_abs_reloc): Handle R_S390_64.
95
96 2008-01-09  Jakub Zawadzki  <darkjames@darkjames.ath.cx>
97
98         PR binutils/55326
99         * bucomm.c (list_supported_architectures): Free architecture list
100         after use.
101         * windres.c (set_endianess): Likewise.
102         * windmc.c (set_endianess): Likewise.
103
104 2008-01-08  Kai Tietz  <kai.tietz@onevision.com>
105
106         PR binutils/5529
107         * binutils/rclex.c: (yylex): Add ':', '_', '\\', and '/' to post
108         characters for name tokens.
109
110 2008-01-04  Greg McGary  <greg@mcgary.org>
111
112         * prdbg.c (print_vma): Print as long long, if host supports it.
113
114 2008-01-03  Nick Clifton  <nickc@redhat.com>
115
116         * dwarf.c (read_and_display_attr_value): Prefix values that are
117         displayed in hexadecimal with 0x.
118         For the DW_AT_import attribute display the abbreviation number and
119         tag of the imported DIE.
120         (process_debug_info): Warn about lengths that reserved by the
121         DWARF3 specification.
122         Provide more information when corrupted DIEs are detected.
123         Warn if DIE corruption makes the sibling level negative.
124
125 For older changes see ChangeLog-2007
126 \f
127 Local Variables:
128 mode: change-log
129 left-margin: 8
130 fill-column: 74
131 version-control: never
132 End: